{ "id": "174280", "key": "TIMOB-27490", "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": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-10-24T13:29:47.000+0000", "created": "2019-10-21T23:57:08.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2019-10-24T13:29:47.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": "When trying to build a default classic or alloy project to iOS simulator or device it errors out during with the latest 8.2.1 SDK build.\r\n\r\nSteps to Reproduce\r\n1. Create a default classic/alloy project\r\n2. Build to iOS\r\n\r\nActual Result:\r\nAn error is shown\r\n{code}\r\n2019-10-21T23:38:34.255Z | ERROR | An uncaught exception was thrown!\r\nxc is not defined\r\n2019-10-21T23:38:34.255Z | ERROR | xc is not defined\r\n2019-10-21T23:38:34.255Z | TRACE | ReferenceError: xc is not defined\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:237:20\r\n at Array.forEach ()\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:231:19\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:1879:5\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:473:16\r\n at replenish (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1006:25)\r\n at iterateeCallback (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:995:17)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:969:16\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:1873:5\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simctl.js:244:4\r\n---------------------------------------------\r\n at Object.run (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:60:8)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simctl.js:602:20\r\n at Object.whilst (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:5227:5)\r\n at trySimctl (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simctl.js:596:8)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simctl.js:198:4\r\n at Object.whilst (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:5227:5)\r\n at Object.list (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simctl.js:193:8)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:1835:11\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3110:16\r\n---------------------------------------------\r\n at magik (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/utilities.js:51:13)\r\n at Object.detect (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:171:27)\r\n at list (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:1818:8)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/simulator.js:216:4\r\n at fireCallbacks (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:178:5)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:629:11\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3888:9\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:473:16\r\n at replenish (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1006:25)\r\n---------------------------------------------\r\n at Object.run (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:60:8)\r\n at find (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:97:13)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:4096:9\r\n at Object.process (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2344:17)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2252:19\r\n at Immediate. (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:119:16)\r\n at runCallback (timers.js:705:18)\r\n at tryOnImmediate (timers.js:676:5)\r\n---------------------------------------------\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:118:9\r\n at _insert (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2250:13)\r\n at Object.push (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2303:13)\r\n at Object.findExecutable (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:114:8)\r\n at findTeams (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:505:21)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3880:24\r\n at replenish (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1011:17)\r\n at iterateeCallback (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:995:17)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:969:16\r\n---------------------------------------------\r\n at Object.run (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:60:8)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:497:22\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3110:16\r\n at replenish (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1011:17)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1016:9\r\n at eachLimit$1 (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3196:24)\r\n at Object. (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1046:16)\r\n at loadXcodeInfo (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:339:11)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3880:24\r\n---------------------------------------------\r\n at Object.run (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:60:8)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/xcode.js:302:22\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/env.js:98:4\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3888:9\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:473:16\r\n at iterateeCallback (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:992:24)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:969:16\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3885:13\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/env.js:92:6\r\n---------------------------------------------\r\n at Object.run (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:60:8)\r\n at find (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:97:13)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:4096:9\r\n at Object.process (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2344:17)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2252:19\r\n at Immediate. (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:119:16)\r\n at runCallback (timers.js:705:18)\r\n at tryOnImmediate (timers.js:676:5)\r\n---------------------------------------------\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:118:9\r\n at _insert (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2250:13)\r\n at Object.push (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/async/dist/async.js:2303:13)\r\n at Object.findExecutable (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/node-appc/lib/subprocess.js:114:8)\r\n at xcodeSelect (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/lib/env.js:81:21)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:3880:24\r\n at replenish (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1011:17)\r\n at /Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1016:9\r\n at eachOfLimit (/Users/satyamsekhri/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.v20191021132318/node_modules/ioslib/node_modules/async/dist/async.js:1041:24)\r\n{code}\r\n\r\nExpected Result:\r\nThe build to iOS simulator and device should be successful.", "attachment": [], "flagged": false, "summary": "iOS: Cannot build to iOS with latest 8.2.1 build", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS: 10.14.5\r\nSDK: 8.2.1.v20191021132318\r\nAppc CLI: 7.1.1\r\nJDK: 1.8.0_162\r\nNode: 10.5.0\r\nStudio: 5.1.4.201909061933\r\nXcode: 11.0", "comment": { "comments": [ { "id": "452182", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/ioslib/pull/103", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-10-22T10:14:07.000+0000", "updated": "2019-10-22T10:14:07.000+0000" }, { "id": "452183", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "I can't repro this, it's down to global sim runtimes so maybe it's something around when people have upgraded in place? I'm trying to install an additional runtime from xcode 11 to see if I can repro it", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-10-22T10:15:52.000+0000", "updated": "2019-10-22T10:15:52.000+0000" }, { "id": "452188", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~smohammed] can repro this, I got him to log the simruntime variable and it looks to be down to a super old iOS simruntime being installed (left over from an old xcode version probably)\r\n\r\n{code}\r\n{ bundlePath:\r\n\r\n '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.4.simruntime',\r\n\r\n availabilityError:\r\n\r\n 'The iOS 8.4 simulator runtime is not supported on hosts after macOS 10.14.99.',\r\n\r\n buildversion: '12H141',\r\n\r\n isAvailable: false,\r\n\r\n identifier: 'com.apple.CoreSimulator.SimRuntime.iOS-8-4',\r\n\r\n version: '8.4',\r\n\r\n name: 'iOS 8.4' }\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-10-22T10:48:09.000+0000", "updated": "2019-10-22T10:48:09.000+0000" }, { "id": "452193", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "ioslib@1.7.16 published. Need PRs for Ti SDK master/8_2_X.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-10-22T14:16:37.000+0000", "updated": "2019-10-22T14:16:37.000+0000" }, { "id": "452195", "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/11292\r\nTi SDK 8_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/11293", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-10-22T14:58:26.000+0000", "updated": "2019-10-22T14:58:26.000+0000" }, { "id": "452201", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "ioslib fix https://github.com/appcelerator/ioslib/pull/104", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-10-22T18:39:54.000+0000", "updated": "2019-10-22T18:39:54.000+0000" }, { "id": "452204", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. Build to iOS device and sims successful.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-22T21:57:25.000+0000", "updated": "2019-10-22T21:57:25.000+0000" }, { "id": "452207", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Waiting for master build on Jenkins to pass", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-22T22:50:22.000+0000", "updated": "2019-10-22T22:50:22.000+0000" }, { "id": "452226", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master and 8_2_X", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-23T19:51:55.000+0000", "updated": "2019-10-23T19:51:55.000+0000" }, { "id": "452234", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Able to build to ios sims using {{8.2.1.v20191023131524}} and SDK version {{8.3.0.v20191023125529}}.\r\n\r\nTest and other information can be found at:\r\nTi SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/11292\r\nTi SDK 8_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/11293", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-24T13:29:42.000+0000", "updated": "2019-10-24T13:29:42.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }