[jira] [Commented] (CB-8189) iOS platform update still fail
[ https://issues.apache.org/jira/browse/CB-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288739#comment-15288739 ] Sergey commented on CB-8189: It is not solved. {quote} cordova platform add ios {quote} add all ptoject and add plugins specified in config.xml in source tree of project (folder Plugins) {quote} cordova platform update ios {quote} clear this folder so no plugins work in compilation after platform update > iOS platform update still fail > -- > > Key: CB-8189 > URL: https://issues.apache.org/jira/browse/CB-8189 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS >Affects Versions: 4.0.0, 4.1.3 > Environment: Mac >Reporter: jan >Assignee: Shazron Abdullah >Priority: Critical > > Cordova 4.0.0 to 4.1.2 > $ cordova platform update ios > $ cordova run ios > {code:title= error|borderStyle=solid} > [INF] [shellscript] > /Volumes/x/workspace/x_Mobile_App/cordova/platforms/ios/x/Classes/MainViewController.m:154:19: > error: no visible @interface for '''CDVCommandDelegateImpl''' declares the > selector '''execute:''' > [INF] [shellscript] return [super execute:command]; > [INF] [shellscript] ~ ^~~ > [INF] [shellscript] 1 error generated. > [INF] [shellscript] > [INF] [shellscript] ** BUILD FAILED ** > [INF] [shellscript] > [INF] [shellscript] > [INF] [shellscript] The following build commands failed: > [INF] [shellscript] CompileC > build/x.build/Release-iphonesimulator/x.build/Objects-normal/i386/MainViewController.o > x/Classes/MainViewController.m normal i386 objective-c > com.apple.compilers.llvm.clang.1_0.compiler > [INF] [shellscript] (1 failure) > [INF] [shellscript] Error: > /Volumes/x/workspace/x_Mobile_App/cordova/platforms/ios/cordova/build: > Command failed with exit code 65 > [INF] [shellscript] at ChildProcess.whenDone > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) > [INF] [shellscript] at ChildProcess.emit (events.js:98:17) > [INF] [shellscript] at maybeClose (child_process.js:756:16) > [INF] [shellscript] at Process.ChildProcess._handle.onexit > (child_process.js:823:5) > {code} > My temporary workaround: > {code:title=cordova/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m|borderStyle=solid} > - (BOOL)execute:(CDVInvokedUrlCommand*)command > { > return [_commandQueue execute:command]; > } > {code} > + including the method in the header file -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8189) iOS platform update still fail
[ https://issues.apache.org/jira/browse/CB-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14357954#comment-14357954 ] Shazron Abdullah commented on CB-8189: -- It is solved as I showed in my test above (updating 4.0 to 4.1.2) -- no repro. The template does not have the execute function at all, it was removed Jun 20th 2014 (deprecated since Cordova 2.2) because it was deprecated: https://github.com/apache/cordova-ios/commits/master/bin/templates/project/__PROJECT_NAME__/Classes/MainViewController.m The fix is to remove it in your MainViewController, not adding that code. > iOS platform update still fail > -- > > Key: CB-8189 > URL: https://issues.apache.org/jira/browse/CB-8189 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS >Affects Versions: 4.0.0, 4.1.3 > Environment: Mac >Reporter: jan >Assignee: Shazron Abdullah >Priority: Critical > > Cordova 4.0.0 to 4.1.2 > $ cordova platform update ios > $ cordova run ios > {code:title= error|borderStyle=solid} > [INF] [shellscript] > /Volumes/x/workspace/x_Mobile_App/cordova/platforms/ios/x/Classes/MainViewController.m:154:19: > error: no visible @interface for '''CDVCommandDelegateImpl''' declares the > selector '''execute:''' > [INF] [shellscript] return [super execute:command]; > [INF] [shellscript] ~ ^~~ > [INF] [shellscript] 1 error generated. > [INF] [shellscript] > [INF] [shellscript] ** BUILD FAILED ** > [INF] [shellscript] > [INF] [shellscript] > [INF] [shellscript] The following build commands failed: > [INF] [shellscript] CompileC > build/x.build/Release-iphonesimulator/x.build/Objects-normal/i386/MainViewController.o > x/Classes/MainViewController.m normal i386 objective-c > com.apple.compilers.llvm.clang.1_0.compiler > [INF] [shellscript] (1 failure) > [INF] [shellscript] Error: > /Volumes/x/workspace/x_Mobile_App/cordova/platforms/ios/cordova/build: > Command failed with exit code 65 > [INF] [shellscript] at ChildProcess.whenDone > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) > [INF] [shellscript] at ChildProcess.emit (events.js:98:17) > [INF] [shellscript] at maybeClose (child_process.js:756:16) > [INF] [shellscript] at Process.ChildProcess._handle.onexit > (child_process.js:823:5) > {code} > My temporary workaround: > {code:title=cordova/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m|borderStyle=solid} > - (BOOL)execute:(CDVInvokedUrlCommand*)command > { > return [_commandQueue execute:command]; > } > {code} > + including the method in the header file -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8189) iOS platform update still fail
[ https://issues.apache.org/jira/browse/CB-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354388#comment-14354388 ] jan commented on CB-8189: - This issue is *not solved*. I think it is related to "cordova platform update ios". The execute method got completely removed, but it is still referenced through MainViewController.m Please have a look at the marked answer https://stackoverflow.com/questions/25976033/ios-compile-error-no-visible-interface-for-cdvcommanddelegateimpl-declares-t > iOS platform update still fail > -- > > Key: CB-8189 > URL: https://issues.apache.org/jira/browse/CB-8189 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS >Affects Versions: 4.0.0, 4.1.3 > Environment: Mac >Reporter: jan >Assignee: Shazron Abdullah >Priority: Critical > > Cordova 4.0.0 to 4.1.2 > $ cordova platform update ios > $ cordova run ios > {code:title= error|borderStyle=solid} > [INF] [shellscript] > /Volumes/x/workspace/x_Mobile_App/cordova/platforms/ios/x/Classes/MainViewController.m:154:19: > error: no visible @interface for '''CDVCommandDelegateImpl''' declares the > selector '''execute:''' > [INF] [shellscript] return [super execute:command]; > [INF] [shellscript] ~ ^~~ > [INF] [shellscript] 1 error generated. > [INF] [shellscript] > [INF] [shellscript] ** BUILD FAILED ** > [INF] [shellscript] > [INF] [shellscript] > [INF] [shellscript] The following build commands failed: > [INF] [shellscript] CompileC > build/x.build/Release-iphonesimulator/x.build/Objects-normal/i386/MainViewController.o > x/Classes/MainViewController.m normal i386 objective-c > com.apple.compilers.llvm.clang.1_0.compiler > [INF] [shellscript] (1 failure) > [INF] [shellscript] Error: > /Volumes/x/workspace/x_Mobile_App/cordova/platforms/ios/cordova/build: > Command failed with exit code 65 > [INF] [shellscript] at ChildProcess.whenDone > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) > [INF] [shellscript] at ChildProcess.emit (events.js:98:17) > [INF] [shellscript] at maybeClose (child_process.js:756:16) > [INF] [shellscript] at Process.ChildProcess._handle.onexit > (child_process.js:823:5) > {code} > My temporary workaround: > {code:title=cordova/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m|borderStyle=solid} > - (BOOL)execute:(CDVInvokedUrlCommand*)command > { > return [_commandQueue execute:command]; > } > {code} > + including the method in the header file -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org