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/06/28 00:06:21 UTC
[jira] [Commented] (CB-4025) iOS emulate command broken when run
inside the cordova folder
[ https://issues.apache.org/jira/browse/CB-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695096#comment-13695096 ]
Shazron Abdullah commented on CB-4025:
--------------------------------------
aha mystery solved - I'll patch it now. Thanks :)
> iOS emulate command broken when run inside the cordova folder
> -------------------------------------------------------------
>
> Key: CB-4025
> URL: https://issues.apache.org/jira/browse/CB-4025
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.9.0
> Environment: OSX
> Reporter: Ross Gerbasi
> Assignee: Shazron Abdullah
>
> the emulate script in the project/cordova is broken.
> line 35 currently reads
> APP_PATH=${1:-$PROJECT_PATH/build/$(xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME -configuration Debug -sdk $SDK -showBuildSettings | grep FULL_PRODUCT_NAME | awk -F ' = ' '{print $2}')}
> Fix is simple change this line to this
> APP_PATH=${1:-$PROJECT_PATH/build/$(xcodebuild -project $PROJECT_PATH/$PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME -configuration Debug -sdk $SDK -showBuildSettings | grep FULL_PRODUCT_NAME | awk -F ' = ' '{print $2}')}
> emulate is not able to find the xcode project without the path.
--
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