[ 
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

Reply via email to