[TIMOB-9576] iOS: Cannot override Bundle Display Name in tiapp.xml
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.2.3 |
Fix Version/s | n/a |
Components | iOS |
Labels | cb-tooling, core |
Reporter | Arthur Evans |
Assignee | Unknown |
Created | 2012-06-15T12:02:37.000+0000 |
Updated | 2018-06-04T11:22:53.000+0000 |
Description
One issue not addressed from the original, cloned issue is the ability to specify
a shorter name for the Home screen (Bundle Display Name).
Test case:
Add the following code to
tiapp.xml
:
<ios>
<plist>
<dict>
<key>CFBundleDisplayName</key>
<string>Bob</string>
</dict>
</plist>
</ios>
Build and run app. App should show up with the display name "Bob" (and the Info.plist in build/iphone should show "Bob" rather than ${PRODUCT_NAME}).
Any progress on this? Having to create an /i18n/en/app.xml just to specify/set an 'appname' string seems overkill if all i want to do is change the CFBundleDisplayName.
Hi, It would be really good if this could be fixed soon. It used to work fine in prior releases, and should be a relatively easy Appcelerator to implement!
I do not see a resolution here, but I was able to rename the bundle display name by simply specifying the "name" attribute in the tiapp.xml file.
@Mike Neill, I think this means you can't have a different project name than the bundle name, and I've had issues in old versions of Titanium when project names have a space in them. This may not be the case any more, as I'm talking about Titanium 3.X and below.
Titanium 5.2.0 does seem to still honour having an info.plist file in the root of the project file. I noticed these values get copied into tiapp.xml on build, but it only works if you keep the info.plist file overriding the bundle name. What I've started doing is having a very simply info.plist that just does the bundle display name, and then specifying everything else in tiapp.xml
Thanks for the tip, James!
Hi James, thanks for the tip with custom info.plist, you saved my day!