incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-317) Xcode: Shell Script Invocation Error when directory has spaces in name
Date Sun, 18 Mar 2012 18:12:41 GMT

    [ https://issues.apache.org/jira/browse/CB-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232321#comment-13232321
] 

Shazron Abdullah commented on CB-317:
-------------------------------------

To fix it yourself in your current project see: https://github.com/apache/incubator-cordova-ios/commit/b9a6d22664d65900809148cb6366166261d14f64

Where to fix it:
Click on your project's root icon in Project Navigator, select your project Target, select
the "Build Phases" tab, open the "Run Script" list, replace the two lines in there with the
two new lines in the commit above.
                
> 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

        

Mime
View raw message