{ "id": "168570", "key": "TIMOB-24886", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-23T20:17:20.000+0000", "created": "2017-06-22T20:57:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "distribution", "ios", "xcode" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19333", "description": "Patch release for important items that did not make it into 6.0.3", "name": "Release 6.0.4", "archived": false, "released": true, "releaseDate": "2017-04-27" } ], "issuelinks": [ { "id": "55287", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "168311", "key": "TIMOB-24798", "fields": { "summary": "iOS: Cannot Ad Hoc package with Xcode 9", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-07-12T15:20:08.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Error happen when packaging to iOS iTunes Store.\r\nEverything is ok when I launch in simulator.\r\n\r\nI've got the following errors:\r\n\r\n[ERROR] : 2017-06-22 22:51:17.491 xcodebuild[79215:3873019] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 2997. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.\r\n[ERROR] : 2017-06-22 22:51:17.505 xcodebuild[79215:3873019] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 2997. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.\r\n[ERROR] : 2017-06-22 22:51:17.507 xcodebuild[79215:3873019] Error Domain=NSCocoaErrorDomain Code=3840 \"Unexpected character / at line 1\" UserInfo={NSDebugDescription=Unexpected character / at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 \"Missing ';' on line 2997\" UserInfo={NSDebugDescription=Missing ';' on line 2997}}\r\n[ERROR] : xcodebuild: error: Unable to read project 'Pharmacien2017.xcodeproj'.\r\n[ERROR] : Reason: Project /Users/jean-sebastiengalloo/Documents/Appcelerator_Studio_Workspace/Pharmacien2017/build/iphone/Pharmacien2017.xcodeproj cannot be opened because the project file cannot be parsed.\r\n\r\nInside build/iphone, i have done \"Display the content\" (in french normally...)\r\nthen using a text editor, i have looked at project.pbxproj\r\n\r\nOn line 2997, I've got the code signing identity:\r\n\r\nCODE_SIGN_IDENTITY = \"iPhone Distribution: S.A Cooperative Giphar \"Sogiphar\" (XXXXXXXX)\";\r\n\r\nI guess that the bug come from the \" around \"Sogiphar\" but there is no way to change it because linked to the provisioning profile. \r\nOr do I need to upgrade XCode ?\r\nIt should be added \\\" \\\" ?\r\n\r\nWhat do you think about it ?\r\n\r\n> 1 remark...i tried to package an other app with a different iPhone Distribution without \" inside, and it was fine.\r\n\r\nThanks very much.", "attachment": [], "flagged": false, "summary": "iOS: Can't package to iOS iTunes Store", "creator": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Appcelerator Studio 4.8.1.201612050850\r\nXCode 8.2.1\r\nMac OS X El Capitan V. 10.11.5\r\n", "comment": { "comments": [ { "id": "422576", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "body": "I just packaged an app with an other certificate, which has no \" inside and it was ok ... so i guess it comes from the Certificate name with \"", "updateAuthor": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-22T21:10:03.000+0000", "updated": "2017-06-22T21:10:03.000+0000" }, { "id": "422621", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for the report, yeah, try to not use special-characters in your provisioning-profile. So everything works now?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-23T14:56:10.000+0000", "updated": "2017-06-23T14:56:10.000+0000" }, { "id": "422637", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\r\nit's not working because with the official iOS Account named S.A Cooperative Giphar \"Sogiphar\" , I can't remove the \".\r\n\r\nI can ask Apple to modify the Team Name by removing the \"\" but as it's linked to the company, not sure it will be ok.\r\nMoreover, it's the first time I've got this issue with this client (7 years)\r\n\r\nWe clearly see that in project.pbxproj, \\\" are not added ...\r\n\r\nHow is the project.pbxproj generated with Ti Studio ?\r\n\r\nAt the present time, I'm blocked with this...", "updateAuthor": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-23T16:44:58.000+0000", "updated": "2017-06-23T16:44:58.000+0000" }, { "id": "422666", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks, we are looking into this. Can you add your Titanium SDK version to your environment as well?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-23T20:04:16.000+0000", "updated": "2017-06-23T20:04:16.000+0000" }, { "id": "422667", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi, thanks\r\n\r\nTi SDK 6.1.0 GA , 6.0.4 GA or 6.0.2 GA", "updateAuthor": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-23T20:06:37.000+0000", "updated": "2017-06-23T20:06:37.000+0000" }, { "id": "422669", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you! Will hand this over to [~cbarber], but from what I see, we just need to escape the {{\"} characters properly, like already done in some other parts of the build-script. I would suggest, something like replacing this:\r\n{code:js}\r\nbuildSettings.CODE_SIGN_IDENTITY = '\"' + d.fullname + '\"';\r\n{code}\r\nwith this:\r\n{code:js}\r\nbuildSettings.CODE_SIGN_IDENTITY = '\"' + d.fullname.replace(/\"/g, '\\\\\"') + '\"';\r\n{code}\r\ncould already solve it. You can try editing the build.js ({{~/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/iphone/cli/commands/_build.js}}) in line 3038 (device-builds) and line 3047 (dist/adhoc-builds) and try it again. Just some troubleshooting until we have a PR, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-23T20:10:14.000+0000", "updated": "2017-06-23T20:10:14.000+0000" }, { "id": "422671", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "While yes this is a bug with 6.1.0.GA and older and yes it can be fixed by escaping the double quotes, I'm marking this ticket as invalid since the pending PR for TIMOB-24798 actually removes this offending line of code thus rendering this a non-issue.\r\n\r\nAt this moment, TIMOB-24798 is scheduled for 6.2.0. We might need to escalate it to get it into 6.1.1 so that you're unblocked.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-06-23T20:17:20.000+0000", "updated": "2017-06-23T20:17:20.000+0000" }, { "id": "422708", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks you so much ! \r\nIt worked and produced build...nice that it could be directly changed !\r\nThanks again ! You make a very good job !", "updateAuthor": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-24T13:30:49.000+0000", "updated": "2017-06-24T13:30:49.000+0000" }, { "id": "423996", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed in SDK 6.2.0.v20170711165607 as part of TIMOB-24798\r\nAble to build/package (adhoc and to store) with both explicit and wildcard IDs when using Xcode 9 (beta 2 and 3). No issues encountered.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-12T15:20:08.000+0000", "updated": "2017-07-12T15:20:08.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }