cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9500) [CB-8485] Not allowed to have XCodeProject display name different from Cordova project name
Date Tue, 18 Aug 2015 15:56:46 GMT

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

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

Github user njtman commented on the pull request:

    https://github.com/apache/cordova-ios/pull/152#issuecomment-132258001
  
    @nikhilkh 
    I am aware of the name attribute in the config.xml.
    We are setting the productname in the xcode build file because we have run into issues
where setting a name with spaces or special characters, doesn't play nicely with xcode project
names.
    
    In our use case, we set the cordova project name to a very simple name - one with no spaces
or special characters. We can then change the app's display name for ios or android (sometimes
slightly different between the platforms due to name wrapping on Android) to almost anything
we want, without having to worry about xcode or gradle project incompatibilities.  
    
    I like the idea that you suggested about using the xcode node module to parse the project
name.  The no wrap option is not ideal, but it was the simplest and easiest to implement,
as our custom build environment already signs our applications for us.


> [CB-8485] Not allowed to have XCodeProject display name different from Cordova project
name
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-9500
>                 URL: https://issues.apache.org/jira/browse/CB-9500
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 5.2.0
>         Environment: Mac OS X
>            Reporter: Nicholas Farley
>            Priority: Minor
>              Labels: compile, compile-error, compilerconfiguration, conversion, error,
ios, name, xcode
>             Fix For: 5.2.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The recent changes to the compile command (CB-8485) have introduced an issue on iOS.
Specifically, the inline creation of the signed archive, have made it impossible to have an
iOS applications display name be different from the Cordova project name. 
> The archive generation process expects the .app name to have the same basename as the
name listed in the XCodeProject. If it does not find the .app at this position, it fails the
conversion and the entire compile process. 
> The .app it creates is based upon the Cordova project name. The name in the XCodeProject
is the name used for applications name when it is on a device, so now this name must match
the project name or the signed archive won't be created.
> This can be fixed in a number of ways. 
>  - Include a "no-sign" option, which would mimic the old behavior.
>  - Include a way to pass the desired name to compile.
>  - Have the .app name be pulled from some other configuration that isn't tied to a the
iOS display name. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message