Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27702] iOS: LiveView broken again

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2020-01-03T22:04:34.000+0000
Affected Version/sRelease 8.3.0
Fix Version/sn/a
ComponentsCLI, iOS, LiveView
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2019-12-31T07:21:58.000+0000
Updated2020-01-03T22:04:34.000+0000

Description

Reproduce: ti build -p ios --liveview Looks like an ioslib regression.
[TRACE] [ioslib] No iOS Simulator UDID specified, searching for best match
[TRACE] [ioslib] Scanning Xcodes: 11.3:11C29
[TRACE] [ioslib] Scanning Xcode 11.3:11C29 sims: 13.2.2
[LiveView] TypeError: Cannot read property 'sort' of undefined
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:703:13
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:104:11
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/utilities.js:66:17
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
---------------------------------------------
    at magik (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/utilities.js:51:13)
    at detect (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:100:9)
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:558:3
    at fireCallbacks (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:181:5)
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:187:11
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/utilities.js:66:17
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
---------------------------------------------
    at magik (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/utilities.js:51:13)
    at Object.detect (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:174:27)
    at Object.findSimulators (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:511:8)
    at iOSBuilder.selectDevice (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/iphone/cli/commands/_build.js:2028:22)
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/async/dist/async.js:3880:24
    at replenish (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/async/dist/async.js:1011:17)
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/async/dist/async.js:1016:9
    at eachOfLimit (/Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/async/dist/async.js:1041:24)
    at /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/async/dist/async.js:1046:16
---------------------------------------------
    at Object.execFile (child_process.js:386:9)
    at exec (child_process.js:145:25)
    at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/environ.js:274:3
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:3888:9
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:473:16
    at replenish (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:1006:25)
    at iterateeCallback (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:995:17)
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:969:16
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:3885:13
---------------------------------------------
    at Object.execFile (child_process.js:386:9)
    at exec (child_process.js:145:25)
    at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/environ.js:234:6
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:3880:24
    at replenish (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:1011:17)
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:1016:9
    at eachOfLimit (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:1041:24)
    at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:1046:16
    at _parallel (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:3879:5)

Comments

  1. Ewan Harris 2020-01-03

    [~hknoechel], I don't think this is actually liveview, it's just an unfortunate log due to liveview having a process handler for uncaughtExceptions which we need to fix. This looks to be a duplicate of TIMOB-27647 so I'm closing it as such

JSON Source