Xcode: Shell Script Invocation Error when directory has spaces in name
----------------------------------------------------------------------
Key: CB-317
URL: https://issues.apache.org/jira/browse/CB-317
Project: Apache Callback
Issue Type: Bug
Components: iOS
Affects Versions: 1.5.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Fix For: 1.6.0
Xcode 4.3.1 on Lion throws an error when attempting to run a new
Cordova 5.0 project for the first time if the directory that a project
folder lives in has spaces in the name. For example, my project lives
in at:
/Users/Samuel/Dropbox/project - info/Project ('Project' is the actual
folder containing the Xcode project files.)
Here's the specific error I get:
{code}
Shell Script Invocation Error:
chmod: /Users/Samuel/Dropbox/project: No such file or directory
chmod: -: No such file or directory
chmod: info/Project/Project/verify.sh: No such file or directory
/Users/Samuel/Library/Developer/Xcode/DerivedData/*PROJECT STRING*/
Build/Intermediates/Project.build/Debug-iphonesimulator/Project.build/
Script-*PROJECT STRING*.sh: line 4: /Users/Samuel/Dropbox/data/
project: No such file or directory
{code}
Closing Xcode, removing spaces from the directory name, then
reopening, cleaning, and running the project executes properly and
creates the necessary /www directory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira