[TIMOB-19265] Cannot install to iOS 9 Simulator when using Xcode 7
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-30T17:06:44.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS, Tooling |
Labels | qe-5.0.0 |
Reporter | Eric Wieber |
Assignee | Chris Barber |
Created | 2015-07-28T20:47:49.000+0000 |
Updated | 2015-07-30T17:18:02.000+0000 |
Description
When using Xcode 7, I am unable to install to the iOS 9 Simulator when creating and building a project.
*Steps to reproduce*:
1. Set Xcode 7 as your selected Xcode version
2. Create a new project with
appc new
3. Run the project on your iOS 9 simulator using appc run -p ios -I 9.0
*Actual Results*:
The simulator will launch but will never install the app (stays on 'Launching iOS Simulator')
*Expected Results*:
The iOS 9 Simulator installs and runs the app
*Notes*:
If using Xcode 6.4 or targeting a < iOS 9.0 Sim, I can run on Simulators as expected.
Not sure if this is an El Capitan only thing.
I was unable to reproduce with the latest master build. I however did notice that it was autoselecting an iPad simulator which it should never auto select unless the device family is explicitly "ipad". PR: https://github.com/appcelerator/titanium_mobile/pull/6994
This may have been an issue with the beta and my environment. Turns out Xcode was not recognizing any simulators, even iOS 8.X.I was able to get past this by removing everything in my ~/Library/CoreSimulator and /Library/CoreSimulator/Profiles folders. Xcode was then able to pick up the iOS 9 sims and I can install and run on them normally. Closing this ticket. MacOS 10.11 Studio 4.1.1.201507141126 Ti SDK 4.2.0.v20150729122818 Appc NPM 4.1.0 Appc CLI 4.2.0-1 Ti CLI 4.1.2 Alloy 1.6.2 Node v0.10.37 Java 1.7.0_45 preproduction Xcode 7
Reopening to fix Affect Versions.