[AC-1977] Custom ios plist entries in ti.xml should override generated ones
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2012-11-26T21:28:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | Info.plist, ios, iphone, ti.xml |
Reporter | Shamyl Zakariya |
Assignee | Anirudh Nagesh |
Created | 2012-10-02T15:45:55.000+0000 |
Updated | 2016-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.
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
Will re-open if a response is received.