[AC-5020] Unable to find any Xcode installations
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2017-06-16T12:04:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI |
Labels | ios, xcode |
Reporter | Tanmay Mandal |
Assignee | Shak Hossain |
Created | 2017-06-13T11:21:35.000+0000 |
Updated | 2017-06-16T12:04:53.000+0000 |
Description
Hi I am trying to run an app with the following command line
*appc run -p ios -T simulator -l trace*
But it breaks with the following error
[TRACE] [ioslib] No iOS Simulator UDID specified, searching for best match
[TRACE] [ioslib] Scanning Xcodes: 8.3.3:8E3004b
[ERROR] *Unable to find any Xcode installations that supports at least iOS 7.1.*
Where as the application is running fine from Studio.
Closing as a duplicate of TIMOB-24837. Until fixed there is a simple workaround for this issue. You just need explicitly specify the simulator you want to run on. Use
appc info
to get the simulator id and then pass that to the appc run command with the -C flag like so:appc run -p ios -C <sim-id>