[ 
https://issues.apache.org/jira/browse/CB-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-4025:
---------------------------------

    Summary: iOS emulate command broken when run inside the cordova folder  
(was: iOS emulate command broken)
    
> 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

Reply via email to