Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28031] CLI: Unable to find an iOS Simulator running iOS 14.0.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-07-17T19:10:01.000+0000
Affected Version/sRelease 9.1.0
Fix Version/sRelease 9.1.0
ComponentsiOS
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2020-07-17T18:39:18.000+0000
Updated2020-07-17T19:10:06.000+0000

Description

I'm seeing this locally, m as well s on the build node with Xcode 12 beta 2 installed. trying to build an iOS app the CLI shows:
2020-07-16T18:13:57.547Z] Command
[2020-07-16T18:13:57.547Z]   /Users/build/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node_10.17.0/bin/node /Users/build/jenkins/workspace/ium-sdk_titanium_mobile_PR-11049/titanium-mobile-mocha-suite/node_modules/titanium/lib/titanium.js build --project-dir /Users/build/jenkins/workspace/ium-sdk_titanium_mobile_PR-11049/titanium-mobile-mocha-suite/scripts/mocha --platform ios --target simulator --log-level info --deploy-type test --hide-error-controller --device-family iphone --no-prompt --color
[2020-07-16T18:13:57.547Z] 
[2020-07-16T18:13:57.547Z] [ERROR] :  Unable to find an iOS Simulator running iOS 14.0.
[2020-07-16T18:13:57.547Z] 
[2020-07-16T18:13:57.547Z] Error: Exited unexpectedly with exit code: 1
[2020-07-16T18:13:57.547Z]     at ChildProcess.prc.on.code (/Users/build/jenkins/workspace/ium-sdk_titanium_mobile_PR-11049/titanium-mobile-mocha-suite/scripts/test.js:506:19)
[2020-07-16T18:13:57.547Z]     at ChildProcess.emit (events.js:198:13)
[2020-07-16T18:13:57.547Z]     at maybeClose (internal/child_process.js:982:16)
[2020-07-16T18:13:57.547Z]     at Socket.stream.socket.on (internal/child_process.js:389:11)
[2020-07-16T18:13:57.547Z]     at Socket.emit (events.js:198:13)
[2020-07-16T18:13:57.547Z]     at Pipe._handle.close (net.js:607:12)

Comments

  1. Christopher Williams 2020-07-17

    This was the result of a bad update of ioslib in our npm dependencies. The version was updated to 1.7.21, but the actual package metadata was not changed in the lock file (which I assume is the result of someone manually updating the file rather than running npm i ioslib@^1.7.21?)

JSON Source