[TIMOB-24525] ioslib: Error detecting simulators when Xcode is not installed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-04-10T15:39:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.1.0, ioslib 1.2.1 |
Components | iOS, Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2017-03-21T17:56:09.000+0000 |
Updated | 2017-05-05T18:33:03.000+0000 |
Description
When running
ti info
or doing an Android build on macOS while Xcode is not installed, ioslib throws an error. It should not error and just return no simulators found if Xcode is not installed.
ioslib PR: https://github.com/appcelerator/ioslib/pull/55
Titanium SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8900
Tested with this environment: Node Version: 6.10.1 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.0 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.0.v20170504175418 I uninstalled XCode from my Mac, and executed "ti info" with SDK 6.0.4.GA and reproduced the original bug. I then switched to SDK 6.1.0, executed the same "ti info" command, and saw the following in the output:
The fix is verified.