Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1977] Custom ios plist entries in ti.xml should override generated ones

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2012-11-26T21:28:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
LabelsInfo.plist, ios, iphone, ti.xml
ReporterShamyl Zakariya
AssigneeAnirudh Nagesh
Created2012-10-02T15:45:55.000+0000
Updated2016-03-08T07:40:54.000+0000

Description

My app's name has a character in it ('@') which is invalid when used as an url-scheme. SDK 2.1.3 auto-generates an URL scheme in my Info.plist using my app's name, and that causes the app to fail iTunes store validation. I tried manually adding Info.plist entries into the section in ti.xml to override the automatically generated ones, but to no avail. The automatically generated ones are appended no matter what. I added the following inside my block: CFBundleURLTypes CFBundleURLName org.unfoundation.shotatlifemobile CFBundleURLSchemes shotatlife fb172540862877770 The generated Info.plist had the following: CFBundleURLTypes CFBundleURLName org.unfoundation.shotatlifemobile CFBundleURLSchemes shotatlife fb172540862877770 CFBundleURLName org.unfoundation.shotatlifemobile CFBundleURLSchemes shot@life fb172540862877770 I would expect the SECOND to not be there. But it is! So my app fails validation owing to the invalid URL Scheme.

Comments

  1. Anirudh Nagesh 2012-11-08

    Hi, Can you try creating a custom info.plist file and include it in your project ( same level as resources folder ) and see if it works? Regards, Anirudh
  2. Daniel Sefton 2012-11-26

    Will re-open if a response is received.

JSON Source