{ "id": "152258", "key": "TIMOB-19772", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-24T00:23:20.000+0000", "created": "2015-10-22T17:52:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-11-23T22:45:11.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": [], "description": "If Xcode needs a license to be accepted, you will get the following error:\r\n\r\n{code}\r\n[ERROR] : An error occurred during build after 15s 47ms\r\n[ERROR] : 69\r\nTRACE | titanium exited with exit code 1\r\nERROR | Error: ti run exited with error code 1\r\n at ChildProcess. \r\n{code}\r\n\r\nYou will see this in the build log:\r\n[TRACE] Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.\r\n\r\nHowever, error \"69\" seems to be indicative of this specific problem. We should catch that error value and correctly prompt the user to accept the license agreement.\r\n\r\nIf we want to be truly elegant, we can do \"sudo xcrun cc\" and prompt the user ourselves.", "attachment": [], "flagged": false, "summary": "Prompt user to accept Xcode license agreement in response to \"Error 69\" in debug log", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "367597", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Exploring the possibility of executing {{xcodebuild -checkFirstLaunchStatus}} to check if Xcode needs to be launched first.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-23T00:16:55.000+0000", "updated": "2015-10-23T00:16:55.000+0000" }, { "id": "367699", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "ioslib PR: https://github.com/appcelerator/ioslib/pull/28\r\n\r\nPublished ioslib@0.8.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-23T22:59:53.000+0000", "updated": "2015-10-23T22:59:53.000+0000" }, { "id": "367715", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7343\r\n5_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/7344", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-23T23:50:36.000+0000", "updated": "2015-10-23T23:50:36.000+0000" }, { "id": "367717", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run \"ti info -t ios\" and check out the new \"EULA Accepted\" field under each Xcode.\r\n\r\nShould you have a machine available that has a fresh install of Xcode that has NOT been run yet, the run a \"ti build -p ios\" and check out the glorious error message.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-23T23:52:09.000+0000", "updated": "2015-10-23T23:52:09.000+0000" }, { "id": "367721", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs merged.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-24T00:23:20.000+0000", "updated": "2015-10-24T00:23:20.000+0000" }, { "id": "371252", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.2 (15C47a)\r\nStudio 4.4.0.201511182122\r\nTi SDK 5.1.1.v20151122191220\r\nAppc NPM 4.2.2\r\nAppc CLI 5.1.0\r\nXcode 7.1.1 (7B1005)\r\n\r\nError 69 no longer appears and you see a glorious error message, instead, which clearly explains that Xcode needs to be opened and the agreement should be accepted. {{appc ti info -t ios}} also indicates if the agreement has been accepted.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-23T22:45:11.000+0000", "updated": "2015-11-23T22:45:11.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }