{ "id": "172154", "key": "TIMOB-26345", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-08-31T15:08:00.000+0000", "created": "2018-08-31T12:06:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "appstore", "cli", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-09-10T19:24:41.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "There is an issue when uploading iOS apps to the AppStore if these contains special characters. In my test-case, it was \"Test!123\". The underlaying issue is that we generated url schemes for the app that are not escaped. Example:\r\n{code:xml}\r\n\tCFBundleURLTypes\r\n\t\r\n\t\t\r\n\t\t\tCFBundleURLName\r\n\t\t\tcom.appc.test\r\n\t\t\tCFBundleURLSchemes\r\n\t\t\t\r\n\t\t\t\ttest!123\r\n\t\t\t\r\n\t\t\r\n\t\r\n{code}\r\nA simple fix is to escape the url scheme during build and be good to go. In a later major release, we could also evaluate not generating the url scheme at all, since it should be up to the developer to configure that.", "attachment": [], "flagged": false, "summary": "iOS CLI: Upload to AppStore fails if app contains non-alphanumeric characters", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "7.3.0, 7.4.0, 7.5.0, 8.0.0", "comment": { "comments": [ { "id": "441255", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10299\r\n\r\nTest-Case:\r\n1. Create a new app with the name \"Test!123\"\r\n2. Build for production\r\n3. Inspect the build/iphone/Info.plist for it's URL schemes\r\n\r\nExpected result: \"test123\", not \"test!123\".", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-31T12:35:44.000+0000", "updated": "2018-08-31T12:35:44.000+0000" }, { "id": "441454", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on sdk 7.5.0.v20180906093938. Successfully uploaded app to appstore and verified the URL scheme on info.plist as test123. Closing.\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Node.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.5.0.v20180906093938\r\nIPhone 6s with ios 12 \r\n{code}", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-10T19:24:32.000+0000", "updated": "2018-09-10T19:24:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }