[
https://issues.apache.org/jira/browse/CB-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547628#comment-13547628
]
Adalbert Wysocki commented on CB-2175:
--------------------------------------
The problem above is for Android... and easy to fix.
In ios case it looks like there is a different problem and I am still looking
at it... any idea?
aldo:mobile-wrapper aldo$ ios/cordova/debug
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = /Users/aldo/Documents/Aptana Studio 3
Workspace/mobile-wrapper/ios/cordova/../build
SDKROOT = iphonesimulator6.0
VALID_ARCHS = i386
xcodebuild: error: The project 'clearbonmobile.xcodeproj' does not contain a
target named 'CordovaLib'.
Whereas when I use a location CONFIGURATION_BUILD_DIR without spaces things
work fine:
Adalberts-MacBook-Air:mobile-wrapper aldo$ ios/cordova/debug
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR =
/Users/aldo/Documents/xcode/mobile-wrapper/ios/build
SDKROOT = iphonesimulator6.0
VALID_ARCHS = i386
=== CLEAN NATIVE TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION
Debug ===
Check dependencies
> build scripts fail when project path contains spaces
> -----------------------------------------------------
>
> Key: CB-2175
> URL: https://issues.apache.org/jira/browse/CB-2175
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.2.0
> Environment: Mac os
> Reporter: Adalbert Wysocki
> Assignee: Filip Maj
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When the project is located in a path with spaces, the clean/debug... cordova
> build scripts are failing.
> Fix: double quote paths:
> clean (L24):
> bash $CORDOVA_PATH/cordova clean
> =>
> bash "$CORDOVA_PATH/cordova" clean
> cordova (L102)
> (cd $PROJECT_PATH && $1)
> =>
> (cd "$PROJECT_PATH" && $1)
--
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