{ "id": "102514", "key": "AC-1977", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-11-26T21:28:02.000+0000", "created": "2012-10-02T15:45:55.000+0000", "labels": [ "Info.plist", "ios", "iphone", "ti.xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:54.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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.\r\n\r\nI 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.\r\n\r\nI added the following inside my block:\r\n\r\n \r\n CFBundleURLTypes\r\n \r\n \r\n CFBundleURLName\r\n org.unfoundation.shotatlifemobile\r\n CFBundleURLSchemes\r\n \r\n shotatlife \r\n fb172540862877770\r\n \r\n \r\n \r\n \r\n\r\n\r\nThe generated Info.plist had the following:\r\n\r\nCFBundleURLTypes\r\n\r\n \r\n CFBundleURLName\r\n org.unfoundation.shotatlifemobile\r\n CFBundleURLSchemes\r\n \r\n shotatlife \r\n fb172540862877770\r\n \r\n \r\n \r\n CFBundleURLName\r\n org.unfoundation.shotatlifemobile\r\n CFBundleURLSchemes\r\n \r\n shot@life\r\n fb172540862877770\r\n \r\n \r\n\r\n\r\nI would expect the SECOND to not be there. But it is! So my app fails validation owing to the invalid URL Scheme.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Custom ios plist entries in ti.xml should override generated ones", "creator": { "name": "shamyl.zakariya", "key": "shamyl.zakariya", "displayName": "Shamyl Zakariya", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "shamyl.zakariya", "key": "shamyl.zakariya", "displayName": "Shamyl Zakariya", "active": true, "timeZone": "America/New_York" }, "environment": "Mac OSX, 10.8.1; SDK 2.1.3RC2; Titanium Studio 2.1.2", "comment": { "comments": [ { "id": "226767", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\n\nCan you try creating a custom info.plist file and include it in your project ( same level as resources folder ) and see if it works? \n\nRegards,\nAnirudh", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-08T22:46:09.000+0000", "updated": "2012-11-08T22:46:09.000+0000" }, { "id": "228517", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will re-open if a response is received.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T21:28:02.000+0000", "updated": "2012-11-26T21:28:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }