{ "id": "155321", "key": "TIMOB-20531", "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": null, "resolutiondate": null, "created": "2016-03-03T17:09:52.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:20.000+0000", "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" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Running the appc login command returns \"5.2.0\".\r\n\r\nAttempting to run appc ti build afterward returns \"Appcelerator Login required to continue ...\"\r\n\r\nAs a result our entire CI process is at a halt.", "attachment": [], "flagged": false, "summary": "appc login doesn't work on 5.2.0 CLI", "creator": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "environment": "OS X 10.10.5\r\n\r\nAppC CLI 5.2.0", "comment": { "comments": [ { "id": "378726", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hmmm.... Are you in a VPC environment? I think I may understand the issue if so. If you are on a VPC, please try {{--vpc-env}} in place of {{-v}}. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-04T00:52:40.000+0000", "updated": "2016-03-04T00:52:40.000+0000" }, { "id": "378773", "author": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "body": "We had to do that AND re-install the CLI, but finally got it working.\r\n\r\nWhat we're seeing now is that it's defaulting to iOS SDK 8.4, and I'm having to explicitly set the -I 9.2 flag on our build commands.", "updateAuthor": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-04T14:36:25.000+0000", "updated": "2016-03-04T14:36:25.000+0000" }, { "id": "378801", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rashley] Thanks. We have been struggling with this issue trying to reproduce in order to resolve it. If you learn anything that would be valuable please let us know. I will request that the ticket is moved to TIMOB component in JIRA for further investigation by the developer team.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-04T22:08:29.000+0000", "updated": "2016-03-04T22:08:29.000+0000" }, { "id": "379170", "author": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "body": "Eric, are you struggling with the login issue or the iOS SDK version issue?\r\n\r\nHave you been able to reproduce it?\r\n\r\nI opened a ticket on the SDK issue on support.appcelerator.com. They advised removing and re-installing all our versions of Xcode, which I did, but it's still defaulting to 8.4", "updateAuthor": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-08T14:40:47.000+0000", "updated": "2016-03-08T14:40:47.000+0000" }, { "id": "379278", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi [~rashley] Just saw this discussion. Not sure this will help but, I'm assuming you have multiple versions of Xcode installed?\r\nif you do this command *appc info*, you should see something like this (this is on my local machine)\r\n{code}\r\nXcode\r\n 7.3 (build 7D152p)\r\n Install Location = /Applications/Xcode-beta.app/Contents/Developer\r\n iOS SDKs = 9.3\r\n iOS Simulators = 9.3\r\n Watch SDKs = 2.2\r\n Watch Simulators = 2.2\r\n Supported by TiSDK 5.2.1 = yes\r\n EULA Accepted = yes\r\n Teams = none\r\n 7.2.1 (build 7C1002)\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 9.2\r\n iOS Simulators = 9.2\r\n Watch SDKs = 2.1\r\n Watch Simulators = 2.1\r\n Supported by TiSDK 5.2.1 = yes\r\n EULA Accepted = yes\r\n Teams = WP4952RUHJ Appcelerator, Inc. - Company/Organization (active)\r\n = 8E7GRG5DDM Chee Ng - Individual (active)\r\n 6.4 (build 6E35b) - Xcode default\r\n Install Location = /Applications/Xcode.6.4.app/Contents/Developer\r\n iOS SDKs = 8.4\r\n iOS Simulators = 8.4\r\n Watch SDKs = 1.0\r\n Watch Simulators = 1.0\r\n Supported by TiSDK 5.2.1 = yes\r\n EULA Accepted = yes\r\n Teams = none\r\n{code}\r\nNotices the *Xcode default* is currently pointed at 6.4 (that supports iOS 8.4)\r\nYou want to change that to point to Xcode 7.2.1 (or in your case it maybe Xcode 7.2)\r\nYou do so by executing this command *sudo xcode-select --switch /Applications/Xcode.app*\r\nIf you run *appc info* again you can verify that the change took effect\r\nand when you run *appc run* you won't need that flag *-I 9.2*\r\n\r\nhope that helps.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-09T02:50:17.000+0000", "updated": "2016-03-09T02:50:17.000+0000" }, { "id": "379332", "author": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "body": "Tried that already.\r\nMy appc info give me:\r\n\r\n{code:java}\r\n7.2 (build 7C68) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 9.2\r\n iOS Simulators = 9.2\r\n Watch SDKs = 2.1\r\n Watch Simulators = 2.1\r\n Supported by TiSDK 5.2.0.GA = yes\r\n EULA Accepted = yes\r\n Teams = V99J3K45A6 Gulfstream Aerospace Corporation - Company/Organization (active)\r\n = T5533WY4HV Gulfstream Aerospace Corporation (Ent) - In-House (active)\r\n = Y8AG8BSN4L Ryan Ashley - Individual (active)\r\n 6.4 (build 6E35b)\r\n Install Location = /Applications/Xcode_6.4.app/Contents/Developer\r\n iOS SDKs = 8.4\r\n iOS Simulators = 8.4\r\n Watch SDKs = 1.0\r\n Watch Simulators = 1.0\r\n Supported by TiSDK 5.2.0.GA = yes\r\n EULA Accepted = yes\r\n Teams = V99J3K45A6 Gulfstream Aerospace Corporation - Company/Organization (active)\r\n = T5533WY4HV Gulfstream Aerospace Corporation (Ent) - In-House (active)\r\n{code}\r\n\r\nSo as you can see 7.2 IS set as the default, but it still builds on 8.4.", "updateAuthor": { "name": "rashley", "key": "rashley", "displayName": "Ryan Ashley", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-09T12:59:52.000+0000", "updated": "2016-03-09T12:59:52.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }