jan created CB-8189:
-----------------------
Summary: 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
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 workarround:
{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: [email protected]
For additional commands, e-mail: [email protected]