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 2013/07/26 22:13:50 UTC
[jira] [Comment Edited] (CB-4408) Modify cordova/build script to
build for device (armv7/armv7s)
[ https://issues.apache.org/jira/browse/CB-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721161#comment-13721161 ]
Shazron Abdullah edited comment on CB-4408 at 7/26/13 8:13 PM:
---------------------------------------------------------------
{code}
SDK=`xcodebuild -showsdks | grep Sim | tail -1 | awk '{print $6}'`
xcodebuild -project "$PROJECT_NAME.xcodeproj" -arch armv7 -arch armv7s -target "$PROJECT_NAME" -configuration $CONFIGURATION -sdk $SDK build VALID_ARCHS="armv7 armv7s" CONFIGURATION_BUILD_DIR="$PROJECT_PATH/build_device"
{code}
The SDK line needs to parse out the latest iOS SDK, preferably in a more reliable way. The xcodebuild line change as is above. Note the build artifacts are in "build_device" now.
was (Author: shazron):
{code}
SDK=`xcodebuild -showsdks | grep Sim | tail -1 | awk '{print $6}'`
xcodebuild -project "$PROJECT_NAME.xcodeproj" -arch armv7 -target "$PROJECT_NAME" -configuration $CONFIGURATION -sdk $SDK build VALID_ARCHS="armv7" CONFIGURATION_BUILD_DIR="$PROJECT_PATH/build"
{code}
The SDK line needs to parse out the latest iOS SDK, preferably in a more reliable way. The xcodebuild line change as is above.
> Modify cordova/build script to build for device (armv7/armv7s)
> --------------------------------------------------------------
>
> Key: CB-4408
> URL: https://issues.apache.org/jira/browse/CB-4408
> Project: Apache Cordova
> Issue Type: Task
> Components: iOS
> Affects Versions: Master
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Handle errors that result from not having the right signing key, provisioning profile.
> What flags build to device? I'm thinking it always builds for both device and simulator side by side, and only builds for device if it can.
--
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