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:10:20 UTC

[jira] [Resolved] (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:all-tabpanel ]

Shazron Abdullah resolved CB-4025.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
    
> 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
>             Fix For: 3.0.0
>
>
> 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