[
https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704937#comment-13704937
]
Shazron Abdullah commented on CB-4088:
--------------------------------------
Yeah project.pbxproj is dumb, if you load the template in Xcode, it sees that
__TESTING__ is the project name, and oh, of course it does not need quotes
around it, let me take it off for you! Thanks Xcode!
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L113
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L156
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L206
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L221
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L262
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L323-L324
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L504
https://github.com/apache/cordova-ios/blob/fe3971732b7e33aeccd85cd64d08cf5f16ba419c/bin/templates/project/__TESTING__.xcodeproj/project.pbxproj#L535
The second part is of course the build script space handling which I thought
was fixed. Looking at fixing both now...
> `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