You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Stanford (JIRA)" <ji...@apache.org> on 2013/07/10 20:19:49 UTC

[jira] [Comment Edited] (CB-4144) CLI won't install for iOS platform even though I have the latest Xcode version

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

Michael Stanford edited comment on CB-4144 at 7/10/13 6:19 PM:
---------------------------------------------------------------

Spotlight tells me that there is only one app called Xcode on my machine, but of course there are tons of junked up old folders called Xcode that may be confusing the issue.   

Also, I have an unusual setup (I presume) with an SSD boot drive, but with my user home directory on a different drive.  I think this is why I had to put a symbolic link to:

/Volumes/MacintoshHD/Developer/usr/bin/gcc-4.0
in:
/usr/bin/

(and also to gcc-4.2) in order to get cordova to build.
                
      was (Author: michaelstanford):
    Spotlight tells me that there is only one app called Xcode on my machine, but of course there are tons of junked up old folders called Xcode that may be confusing the issue.   

Also, I have an unusual setup (I presume) with an SSD boot drive, but with my user home directory on a different drive.  I think this is why I had to put a symbolic link to:

/Volumes/MacintoshHD/Developer/usr/bin/gcc-4.0
in:
/usr/bin/

(and also to gcc-4.2) in order to get cordova to build.

Best regards,
Michael.






                  
> CLI won't install for iOS platform even though I have the latest Xcode version
> ------------------------------------------------------------------------------
>
>                 Key: CB-4144
>                 URL: https://issues.apache.org/jira/browse/CB-4144
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, iOS
>    Affects Versions: 2.9.0
>         Environment: OSX 10.8.4
> Xcode 4.6.3
>            Reporter: Michael Stanford
>            Assignee: Shazron Abdullah
>              Labels: installation
>
> Won't install the iOS package on OS X because on my version of Xcode (4.6.3) the output format of the 
> 	$ xcodebuild -version
> command is incomprehensible to cordova. It looks like this:
> 	$xcodebuild -version 
> 	XcodeComponent versions: DevToolsCore-1763.0; DevToolsSupport-1758.0 BuildVersion: 10M2423
> consequently:
> 	$ cordova platform add ios
> says that the SDK is too old.
> I worked around this by changing line 213 of: /usr/local/lib/node_modules/cordova/src/platform.js, from:
> 	"if (err)" 
> to:
> 	"if (false)"
> Obviously not a proper solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira