I want to test my apps in the iOS 10 simulator, but I'm not sure where to get the .runtime
file for iOS 10. I don't see a download for it under Components in Xcode 8. Where can I download the .runtime
file for iOS 10 (if it exists)?
Thanks in advance!
EDIT: I forgot to mention: As I was trying to fix another problem (before I asked this question), I ended up deleting all of my runtimes and redownloading them (except for iOS 10).
I ran into this issue earlier today. After installing Xcode - beta, my simulator was still only displaying iOS simulators 9.3 and below. What eventually ended up working for me was:
- Killing the currently running simulator with cmd-Q
- Control clicking (right click) on the Xcode - beta icon in my dock
- Hovering over "Open Developer Tool"
- Selecting Simulator from this menu
Once the simulator launched, I began to see iOS 10 in the Hardware -> Device drop down. Hope that helps.
Ensure existing simulators are closed. Then open XCode 8 (beta):
Go to menu XCode -> Open Developer Tools -> Simulator.
This worked for me:
- Go to App Store and Make Xcode Update 8.0
- Open Xcode and it installs the components
- Go to Menu "Window" > "Devices"
- Add A New Device (Important one that supports iOS 10))
- At the end the devices list is updated, and you can run the devices that can run iOS 10 in the simulator
The iOS 10 Beta Simulator is shipped inside of Xcode 8.0 Beta. You do not need to download anything extra. The primary reason for the large size of the Xcode download is for the three simulator runtimes that it contains.
OK, this has been open for long enough and Xcode 8/iOS 10 are out of beta, plus I solved this problem a week after this was asked, so I'll post my own answer. I ended up redownloading and reinstalling the entire Xcode 8 beta which includes the .runtime
file in itself. Bit of an overkill, but I didn't have any other options at the time.
Nothing already mentioned worked for me. I was missing iOS 10.3 simulators in Xcode 8.3.3. What worked for me was to reset the simulators using fastlane snapshot tool:
sudo gem install snapshot
snapshot reset_simulators
来源:https://stackoverflow.com/questions/37959438/where-can-i-download-the-ios-10-simulator-runtime-file