Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9254

update_cordova_subproject command for cordova-ios 4.0.0-dev results in a build error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • None
    • cordova-ios
    • Mac OS X Yosemite 10.10.3, Xcode 6.3.1, iOS 8

    • Important

    Description

      When updating existing iOS sub project reference to 4.0.0-dev version using update_cordova_subproject command as mentioned in ReadMe file (https://github.com/apache/cordova-ios/blob/4.0.x/README.md) we get a build error in Xcode - Error : No visible @interface for 'CDVViewController' declares the selector 'webViewDidFinishLoad:'

      In order to resolve it, we at our end have updated our source code MainViewController.m class by replacing it with the file present in templates folder cordova-ios/bin/templates/project/_PROJECT_NAME_/Classes/MainViewController.m (https://github.com/apache/cordova-ios/raw/4.0.x/bin/templates/project/__PROJECT_NAME__/Classes/MainViewController.m)

      Attachments

        Issue Links

          Activity

            People

              stevegill Steve Gill
              inderpreet Inderpreet
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: