You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/20 13:54:00 UTC

[jira] [Commented] (CB-11712) changes in config.xml does a "search and replace all" for occurrences of the old name with the new name in the pbxproj

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

ASF GitHub Bot commented on CB-11712:
-------------------------------------

Github user bromeostasis commented on the issue:

    https://github.com/apache/cordova-ios/pull/246
  
    @shazron just updated cordova and started running into this error. We use cordova to apply one codebase to several different white labeled apps with different data and styles. 
    
    Until now we've been dynamically changing the name by removing/re-adding the platform we're working on and then using different sets of config.xml/stylesheet/js config. Is there any way to continue this type of behavior, or will we have to create separate cordova projects for each of our White Labels? This would be a serious pain considering we have over 20!!
    
    Thanks!


> <name> changes in config.xml does a "search and replace all" for occurrences of the old name with the new name in the pbxproj
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-11712
>                 URL: https://issues.apache.org/jira/browse/CB-11712
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: 4.2.0
>         Environment: iOS
> cordova 6.3.1
> cordova-ios 4.2.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Critical
>              Labels: triaged
>
> Actual result:
> Changing the project name in the config.xml <name> tag will *not* replace the project name properly, and you *cannot* build the project.
> Expected result:
> Changing the project name in the config.xml <name> tag will replace the project name properly, and you can build the project.
> Repro steps:
> 1. `cordova create t t t`
> 2. `cd t`
> 3. `cordova platform add ios`
> 4. `cordova build`
> 5. Edit config.xml <name> tag, and replace "t" with "foobar"
> 6. `cordova build`
> Check the file `platforms\ios\foobar.xcodeproj\project.pbxproj`. All `t` characters have been replaced with `foobar`.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org