{ "id": "163849", "key": "TIMOB-24008", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-12T11:12:06.000+0000", "created": "2016-10-10T16:28:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cb-tooling" ], "versions": [ { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [ { "id": "53049", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "162661", "key": "TIMOB-23786", "fields": { "summary": "iOS10: Logs not working on iOS 10 devices.", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57831", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174083", "key": "TIMOB-27368", "fields": { "summary": "iOS: Support Xcode-managed provisioning profiles", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "53068", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "163913", "key": "TIMOB-24023", "fields": { "summary": "Packaging mobile app for iOS will fail with \"An uncaught exception was thrown! p is not defined\"", "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": "Critical", "id": "1" }, "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": "2019-08-30T16:09:04.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" }, { "id": "10207", "name": "Tooling" } ], "description": "Apparently the iOS build fails when tryign to build with an Xcode managed provisioning profile. We need to investigate this.\r\n\r\n{code}\r\n[ERROR] Error details: Provisioning profile \"iOS Team Provisioning Profile: *\" is Xcode managed, but signing settings require a manually managed profile.\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Can't use Xcode managed provisioning profiles to build app?", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 732, "state": "closed", "name": "2016 Sprint 21 Tooling", "startDate": "2016-10-08T00:54:00.000Z", "endDate": "2016-10-22T00:54:00.000Z", "completeDate": "2016-10-24T04:18:13.798Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "398503", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "Chris, I have confirmed that creating a \"manual\" provisioning profile solved my problems. I am able to build to device. Once you find a solution for the xcode managed profile, please let me know and I will be happy to test.\r\n\r\nThanks.", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2016-10-10T17:01:08.000+0000", "updated": "2016-10-10T17:01:08.000+0000" }, { "id": "398508", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hansknoechel] Perhaps it's based on the name? Easy to test, manually create a provisioning profile with the name similar to that of a managed provisioning profile.\r\n\r\nOr, perhaps managed provisioning profiles are registered in the Xcode cache db?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-10T17:31:13.000+0000", "updated": "2016-10-10T17:31:47.000+0000" }, { "id": "398509", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "They are stored in the same location ({{~/Library/MobileDevice/Provisioning Profiles}}). The names are:\r\n{{iOS Team Provisioning Profile: *}}\r\nvs\r\n{{WILDCARD}}\r\nso maybe the star causes problems? Probably too easy to be responsible for the issues.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-10T17:36:18.000+0000", "updated": "2016-10-10T17:36:18.000+0000" }, { "id": "398530", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I checked the local Xcode database and there's nothing in there that flags a specific provisioning profile as managed. After some more research, Xcode generates both an App ID and a provisioning profile, however only the App ID shows up in the Apple developer website.\r\n\r\nI created a bunch of provisioning profiles using the generated App ID and here's what I found:\r\n\r\n\r\n||Name||Result||\r\n|CBTest|Built app just fine|\r\n|iOS Team Provisioning Profile: *|Failed to create because name was already used even though it wasn't in list|\r\n|iOS Team Provisioning Profile: CBTest|Failed to build app|\r\n|iOS Team Provisioning Profile CBTest|Failed to build app|\r\n|kiOS Team Provisioning Profile: CBTest|Failed to build app|\r\n|iOS Team Provisioning CB|Built app just fine|\r\n|ios team provisioning profile: cbtest|Built app just fine|\r\n\r\nSo, it is just a naming thing. If the provisioning profile literally contains \"iOS Team Provisioning Profile\", then we can't use it. Note that it IS case sensitive.\r\n\r\nI will update {{ioslib}} to return a {{managed}} property, then the Titanium iOS build and info will act accordingly.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-10T20:02:53.000+0000", "updated": "2016-10-10T20:05:57.000+0000" }, { "id": "398600", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8497\r\n\r\nI don't know if we want to take this in 6.0.0, but here's the PR: https://github.com/appcelerator/titanium_mobile/pull/8498.\r\n\r\nTo test:\r\n\r\n1. Make sure you have at least one managed provisioning profile installed where the provisioning profile must contain \"iOS Team Provisioning Profile\".\r\n2. Run {{ti info -t ios}} and verify that it prints that it is unsupported. \r\n3. Run {{ti build -p ios -T device -P foo}} and make sure that managed pp-uuids are not listed in prompt.\r\n4. Run {{ti build -p ios -T device -P }} and make sure the build errors with {{[ERROR] Specified provisioning profile UUID \"\" is managed and not supported}}.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-11T17:24:13.000+0000", "updated": "2016-10-11T17:24:13.000+0000" }, { "id": "398668", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR's approved and merged! When using {{ti info -t ios}}, the following output is given:\r\n{code}\r\n iOS Team Provisioning Profile: *\r\n UUID = 9f0c6453-5bd0-4068-9a6e-de6dc112a2cb\r\n App Prefix = 6K4KHD4NQF\r\n App Id = *\r\n Date Created = 9/16/2016 4:19 PM\r\n Date Expired = 9/16/2017 4:19 PM\r\n Managed = Yes and is NOT compatible with Titanium\r\n{code}\r\nWhen running on the device using {{appc run -p ios -T device}}, the managed profile is not listed:\r\n{code}\r\nWhich developer certificate would you like to use?\r\n/Users/hknoechel/Library/Keychains/login.keychain-db\r\n 1) Hans Knoechel (xxxxxxxxxx) (expires Sep 15, 2017 10:52:02 am)\r\nSelect a certificate by number or name: 1\r\n \r\nWhich provisioning profile would you like to use?\r\nAvailable Development UUIDs:\r\n 1) cc937768-xxxx-4461-xxxx-ca545bf96505 WILDCARD: * (expires Sep 16, 2017 4:06:50 pm)\r\nSelect a provisioning profile UUID by number or name: \r\n{code}\r\n\r\nLooks great!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-12T11:10:58.000+0000", "updated": "2016-10-12T11:10:58.000+0000" }, { "id": "400539", "author": { "name": "jn", "key": "jn", "displayName": "Jonathan Nakouzi", "active": true, "timeZone": "Europe/London" }, "body": "Hi All, \r\n\r\nwhat is the fix for this issue? Must I wait for the next update? or is there a published fix now.?\r\n\r\nI may have missed it above, My first time in this forum or in appcelerator internals. I just want to compile to device cleanly, as it used to.\r\n\r\nThanks\r\n\r\nRunning on Appcelerator Studio, build: 4.7.1.201609100950\r\nBuild: jenkins-appcelerator-rcp-master-358 (origin/master)\r\nxcode Version 8.1 (8B62)\r\nDate: 10 September 2016, 09:51:58", "updateAuthor": { "name": "jn", "key": "jn", "displayName": "Jonathan Nakouzi", "active": true, "timeZone": "Europe/London" }, "created": "2016-11-08T00:08:49.000+0000", "updated": "2016-11-08T00:08:49.000+0000" }, { "id": "400593", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~jn] This issue has been resolved and the result is Titanium does not support managed provisioning profiles. It simply displays an error and fails out. This is because the Xcode project we generate doesn't support managed provisioning profiles. We may fix this in the future and remove this limitation. This \"fix\" will be released with Titanium SDK 6.0.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-11-08T16:41:50.000+0000", "updated": "2016-11-08T16:41:50.000+0000" }, { "id": "440202", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:31.000+0000", "updated": "2018-08-06T17:49:31.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }