Xcode 4.3.1 / Cordova 5.0: Shell Script Invocation Error when directory has spaces in name

1,358 views
Skip to first unread message

Samuel Fine

unread,
Mar 13, 2012, 9:47:36 AM3/13/12
to phonegap
This is more of a bug report than a question, but I've found that
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:

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

Closing Xcode, removing spaces from the directory name, then
reopening, cleaning, and running the project executes properly and
creates the necessary /www directory.

Shazron

unread,
Mar 13, 2012, 11:04:29 AM3/13/12
to phon...@googlegroups.com
Thanks Samuel,
I've added an issue for this. Feel free to file a bug directly in the
issue tracker, this way you can get notified when the bug is updated.
The issue tracker is here: issues.apache.org/jira/browse/CB
The bug is filed here: https://issues.apache.org/jira/browse/CB-317

Shazron

> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com

Michael Bilardo

unread,
Feb 18, 2014, 9:08:29 PM2/18/14
to phon...@googlegroups.com
how do you remove spaces from a directory

Kerri Shotts

unread,
Feb 19, 2014, 5:54:14 PM2/19/14
to phon...@googlegroups.com
Move your project to a path with no spaces in it: make new directories as necessary.
Reply all
Reply to author
Forward
0 new messages