It seems that XCode 5 only comes with the iOS 6 and 7 simulators. Is there a way to use the iOS 5 simulator with XCode 5?
相关问题
- what is the difference between bounded and unbound
- didSelectViewController method not being called (w
- ios5 background management different from ios4?
- CoreBluetooth - Can connectPeripheral be called mu
- reloadData doesn't work
相关文章
- Popover segue to static cell UITableView causes co
- Creating UIImage from CIImage
- UIAlertViewStylePlainTextInput return key delegate
- AVCaptureDeviceOutput not calling delegate method
- How to call an action when UISwitch changes state?
- Making any tweet favourite through iOS 5 twitter A
- Unable to pass NSManagedObjectContext to my view c
- iOS 5.1 Reachability
Since Mavericks and Xcode 5.1, iOS5 Simulator is now gone :(
Seems Apple want us to focus on iOS7 and iOS6. (iOS5 now holds only < 1 to 5 % total on active AppStore devices)
I'm running Mavericks, but I have Mountain Lion as a virtual partition under Parallels Desktop. Under Xcode 5.0.2 downloads the iOS 5.0 and 5.1 simulators are showing up, and I've downloaded them, but sadly I can't seem to select them when running an app.
The 5.1 simulator as such runs fine if I select in manually, it's just that I can't seem to deploy apps on it from Xcode, even though I'm setting my deployment target to 5.1.1.
To satisfy my curiosity I've also got Mountain Lion running from an external hard disk (without the virtual machine) and I get the same results: no deploying apps from Xcode 5 to iOS 5.1.1
Additional Simulators can be installed from
Xcode -> Preference -> Downloads -> Components
However, in case of Xcode 5.x iOS 5 simulator cannot be installed since Mavericks doesn’t allows it.
Apple document for Xcode 5 link
If you still have the old version of XCode you can try giving a symbolic link as explained in this post : https://stackoverflow.com/a/18957939/2415693
If you're using Xcode 5 under OS X v10.8 then if you go to Preferences -> Downloads you should see the 5.0 and 5.1 simulators available under 'Components'. You can download and install directly from there.
If you're using Xcode 5 under OS X v10.9 then the iOS 5 simulator is no longer available.
In terms of lessons to learn, Apple did exactly the same thing with iOS 4 and the transition from OS X v10.7 to v10.8. So it's not unreasonable to expect that from now on Apple is going to supply simulators only for the version of iOS that was current when that OS X came out and the one before it.
While there is no 5.1 simulator under Mavericks, you still can connect up an old iPad1 to do your testing.