Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.9.0
-
None
-
OSX
Description
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 ' = ' '
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.