I have been only recently working with Xcode 8 beta 4 but it has been working fine up until now. The list of simulators is not showing for any of my projects. I already tried Creating a new Scheme and it did not work. How do I fix this?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
In my case, I had to manually add all the emulators again after upgrading to Xcode 8
Click on Product -> Destination -> Add Additional Simulators --> Add Simulator.
Try this , It's working perfect for me ,
Follow Below steps ,
1) Clean Derived Data
OR
2) In Deployment Info change Deployment Target
It's equal to or less then the SDK version of Xcode
3) Quit Xcode
4) Reopen Xcode you will see list of simulators
For more details refer this Detail Answer
Hope this is help for some one.
No other solutions worked for me. I tried downloading new Simulator and restarted xCode, all simulators showing up now.
Two steps
Step 1:
Product -> Destination -> Download Simulators... Download the simulator(s) you need
If the simulators show up in list next to schemes, you're all set! Otherwise, continue to...
Step 2:
Sometimes when you download the new simulator types, they don't automatically show in the list of possible simulators.
Product -> Destination -> Add Additional Simulators... Click the
+
button in the lower left hand corner, thenAdd Simulator
Give it a name, device type, and the iOS version you just downloaded.Now it should show up in your list of simulator devices!
TL;DR
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
A year past OP, after installing Xcode 9 beta 6 the 10.3 simulators disappeared from xcode 8.
rm -rf ~/Library/Developer/Xcode/DerivedData/*
didn't work this time.Runnin
xcode-select --print-path
printed/Applications/Xcode.app/Contents/Developer
.Just to make sure, tried
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
, which worked after xcode restart.If this issue is project - specific, you opened a project which has "Supported platforms" build setting set to iphone or such. Most likely this is due to simulator not having the required capabilities or an embedded library not compiled to run on simulator.
Change this setting to "iOS" to see the simulators available for running.