[ 
https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4088.
---------------------------

    Resolution: Fixed

The fix happened in the underlying cordova-ios library.

It won't show up in cordova-cli until cordova-cli hits 3.0.0-rc1, which should 
happen Monday.

If you can't wait until then, you can verify by using a custom library location 
specified in your config.json. For example:

{noformat}
$ git clone https://git-wip-us.apache.org/repos/asf/cordova-ios.git
$ cordova create tmp io.cordova.hellocordova "Hello Cordova"
$ vim tmp/.cordova/config.json
# edit it so it looks like:
{
  "id":"something",
  "name":"somethingelse",
  "lib":{
    "ios":{
      "id":"cordova-dev",
      "version":"master",
      "uri":"/path/to/cloned/cordova-ios"
    }
  }
}
$ cd tmp
$ cordova -d platform add ios
# should use custom location of ios now
{noformat}
                
> `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
>
>         Attachments: Screen Shot 2013-07-11 at 8.12.07 PM.png
>
>
> 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

Reply via email to