Description
My machine just updated itself to xcode 11.3 and now I can no longer build without specifying a simulator UDID.
*WORKAROUND*
Specify a simulator udid with the
-C
flag
The build errors out with the below
TypeError: Cannot read property 'sort' of undefined
at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:704:13
at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:178:12
at fireCallbacks (/Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:181:5)
at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:187:11
at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/utilities.js:66:17
at process._tickCallback (internal/process/next_tick.js:61:11)
Steps to reproduce
1. Build an app to sim without specifying a udid
appc run -p ios
Actual
Build errors out with above error
Expected
No error, sim auto detected
https://github.com/appcelerator/ioslib/pull/112 Details and test info in the PR.
Hi, I updated the ioslib version inside my 8.3.0.GA folder. The version 1.7.20 is now installed. When I try to run an app (with or without specifying simulator UDID) I always get this error:
I also downloaded 13.2 simulators via Xcode but the error is always the same. I'm on macOS Catalina with latest version of Xcode (11.3).
ioslib@1.7.20 published 12/17/2019.
*Closing ticket* Fix verified in SDK version
9.0.0.v20200121151830
. Test and other information can be found at: https://github.com/appcelerator/ioslib/pull/112