[
https://issues.apache.org/jira/browse/CB-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526859#comment-13526859
]
Shazron Abdullah commented on CB-1550:
--------------------------------------
Bash code to check:
{code}
#!/bin/bash
XCODE_VER=$(xcodebuild -version | head -n 1 | sed -e 's/Xcode //')
XCODE_MIN_VERSION="4.5"
if [[ "$XCODE_VER" < "$XCODE_MIN_VERSION" ]]; then
echo "Cordova can only run in Xcode version $XCODE_MIN_VERSION or
greater."
exit 1
fi
{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