You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/07/09 19:59:48 UTC
[jira] [Assigned] (CB-4088) `cordova emulate ios` replaces spaces
in project name with underscores, conflicting with `cordova build ios`
behavior
[ https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj reassigned CB-4088:
-----------------------------
Assignee: Shazron Abdullah (was: Filip Maj)
Hey Shaz, can you take a look?
I believe the issue here is that the project.pbxproj file template can't handle spaces in the project name passed into {{create}}.
Also: the {{./cordova/clean}} and {{build}} scripts need to have quotes around the {{$PROJECT_NAME}} variable when shelling out to {{xcodebuild}}.
> `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CB-4088
> URL: https://issues.apache.org/jira/browse/CB-4088
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, iOS
> Affects Versions: Master, 2.9.0
> Environment: OSX 10.8.3
> Reporter: Niggler
> Assignee: Shazron Abdullah
> Fix For: 3.0.0
>
>
> The Cordova CLI demo on the phonegap page starts with a Hello World project:
> $ cordova create HelloWorld com.example.hello "Hello World"
> This project name clearly has spaces.
> `cordova build ios` builds `./platforms/ios/build/Hello World.app` (exactly what you expect)
> `cordova emulate ios`, however, looks for `./platforms/ios/build/Hello_World.app` (note the underscore instead of a space)
--
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