You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/02/02 19:45:36 UTC
[jira] [Resolved] (CB-8189) iOS platform update still fail
[ https://issues.apache.org/jira/browse/CB-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-8189.
----------------------------------
Resolution: Cannot Reproduce
Assignee: Shazron Abdullah
No repro.
My test:
{code}
npm install -g cordova@4.0.0
cordova create A a.b A
cd A
cordova platform add ios
npm install -g cordova@4.1.2
cordova platform update ios
cordova run ios
{code}
Note that you will encounter CB-8036 (see issue for patch, which I did) which is unrelated to this issue.
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org