[
https://issues.apache.org/jira/browse/CB-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526766#comment-13526766
]
Shazron Abdullah commented on CB-1550:
--------------------------------------
Extract the number:
{code}
> xcodebuild -version | head -n 1 | sed -e 's/Xcode //'
{code}
> iOS build, debug, emulate scripts should check xcode version
> ------------------------------------------------------------
>
> Key: CB-1550
> URL: https://issues.apache.org/jira/browse/CB-1550
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Environment: Mac OS X
> Reporter: Mike Reinstein
> Priority: Minor
> Fix For: 2.3.0
>
>
> since these scripts encapsulate the calls to the underlying xcodebuild and
> tool, it makes sense to keep that encapsulation and enhance those scripts. I
> think minimum xcode version is currently 4.3
> Can be retrieved via this cli command:
> $ xcodebuild -version
> which results in this output:
> Xcode 4.5
> Build version 4G182
--
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