You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2016/02/25 04:03:18 UTC

[jira] [Comment Edited] (CB-9254) update_cordova_subproject command for cordova-ios 4.0.0-dev results in a build error

    [ https://issues.apache.org/jira/browse/CB-9254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166629#comment-15166629 ] 

Steve Gill edited comment on CB-9254 at 2/25/16 3:02 AM:
---------------------------------------------------------

I get the same problem when doing a update with cordova-ios@master

{code}
cordova create ./iosTest3 org.apache.cordova.test3 ios3
(cd iosTest3 && cordova platform add ios@3) <-- grabs 3.9.2
(cd iosTest3 && cordova platform update ../cordova-ios) <-- master ios aka 4.1.0
(cd iosTest3 && cordova run ios) <-- errors here
{code}

I'm looking into whats happening as well


was (Author: stevegill):
I get the same problem when doing a update with cordova-ios@master

{code}
cordova create ./iosTest3 org.apache.cordova.test3 ios3
(cd iosTest3 && cordova platform add ios@3) <-- grabs 3.9.2
(cd androidTest3 && cordova platform update ../cordova-ios) <-- master ios aka 4.1.0
(cd androidTest3 && cordova run ios) <-- errors here
{code}

I'm looking into whats happening as well

> update_cordova_subproject command for cordova-ios 4.0.0-dev results in a build error
> ------------------------------------------------------------------------------------
>
>                 Key: CB-9254
>                 URL: https://issues.apache.org/jira/browse/CB-9254
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0
>         Environment: Mac OS X Yosemite 10.10.3, Xcode 6.3.1, iOS 8
>            Reporter: Inderpreet
>            Assignee: Shazron Abdullah
>              Labels: cordova-ios-4.0.x, cordova-ios-4.1.0
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org