[TIMOB-28031] CLI: Unable to find an iOS Simulator running iOS 14.0.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-07-17T19:10:01.000+0000 |
Affected Version/s | Release 9.1.0 |
Fix Version/s | Release 9.1.0 |
Components | iOS |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2020-07-17T18:39:18.000+0000 |
Updated | 2020-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)
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
?)