{ "id": "149997", "key": "TIMOB-19284", "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": "2015-09-10T21:59:23.000+0000", "created": "2015-07-29T22:09:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-17T18:02:44.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": "*Details:* If you have two Xcode versions in a single folder (e.g. /Applications) and have {{xcode-select -s}} pointing to the *older* version, then {{appc run -p ios}} will launch the latest iOS simulator from the *newer* Xcode.\r\n\r\n*Note:* To workaround this, you can specify the I flag to launch the simulator from Xcode 6.4: {{appc run -I 8.4 -p ios}}\r\n\r\n*Steps to reproduce:*\r\n# Have both Xcode 6.4 and Xcode 7 (beta 4) in one folder e.g. {{/Applications}}\r\n# Make xcode-select point to Xcode 6.4: {{sudo xcode-select -s }}\r\n# Create a project with {{appc new}}\r\n# Then, run with {{appc run -p ios}}\r\n# Wait for simulator to launch\r\n\r\n*Actual:* iOS simulator 9.0 from Xcode 7 (beta 4) is launched instead; see attachment.\r\n*Expected:* iOS simulator 8.4 from Xcode 6.4 should be launched.", "attachment": [ { "id": "56280", "filename": "not_honored.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-29T22:09:49.000+0000", "size": 217812, "mimeType": "image/png" } ], "flagged": false, "summary": "xcode-select is not being respected by \"appc run -p ios\"", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI NPM: 4.1.0\r\nAppc CLI Core: 4.2.0-1\r\nArrow: 1.2.2\r\nSDK: 4.2.0.v20150729134419\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)\r\nXcode: 6.4, 7 (beta 4)", "comment": { "comments": [ { "id": "362753", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "I'm still seeing the opposite with CLI 5.0.2 and SDK 5.0.0.v20150908200706 (Sept 9 CI).\r\n\r\nI'm attempting to build to the iOS 9 simulator (or device) and have used xcode-select to point to the Xcode-beta.app. I'm using the {{ti build -p ios -T device}} command, not appc run.\r\n\r\n!https://dl.dropboxusercontent.com/u/5989721/timbob19284.png!", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2015-09-10T15:39:11.000+0000", "updated": "2015-09-10T15:47:29.000+0000" }, { "id": "363553", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium only uses xcode-select to locate Xcode installations. xcode-select does not directly influence which Xcode is going to be used. The {{\\-\\-ios-version}} selects which Xcode to use.\r\n\r\nIt's been this way for a long time now. The only time xcode-select plays an influence is when you have multiple Xcodes with the same iOS SDK installed. For example, if you have Xcode 7 beta 5 and Xcode 7 beta 4 installed, beta 5 is the selected Xcode, and you're building using {{\\-\\-ios\\-version 9.0}}, then Titanium will choose beta 5 over beta 4.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-10T21:59:23.000+0000", "updated": "2015-09-10T21:59:23.000+0000" }, { "id": "413516", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:02:44.000+0000", "updated": "2017-03-17T18:02:44.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }