Xcode/Simulator: How to run older iOS version?

前端 未结 9 531
梦如初夏
梦如初夏 2020-12-07 08:54

I\'m thinking of upgrading to iOS SDK 4.2. But what I\'m wondering is if I\'ll still be able to run the simulator as iOS 3.2. This is because I\'m creating iAds for iPad but

相关标签:
9条回答
  • 2020-12-07 09:25

    The simulator CANNOT be downloaded from:

    Xcode -> Preferences -> Downloads

    Only the iOS devices symbols. As this option says:

    This package includes information and symbols that Xcode needs for debugging your app on iOS devices running versions of iOS prior to iOS 4.2. If you intend to debug your app on a device running one of these versions of iOS you should install this package.

    That is, you need an iOS 4.2 device to test an iOS 4.2 application

    0 讨论(0)
  • 2020-12-07 09:28

    I was searching for how to do this on a much newer version of xcode than the original question and while the answers here got me where I needed to go, they aren't quite accurate for location anymore. Xcode 11.3.1, you need to go into Preferences -> Components, then select the desired Simulators. You can also select tvOS and watchOS similators from the same window.

    0 讨论(0)
  • 2020-12-07 09:35

    If you have iAds in your binary you will not be able to run it on anything before iOS 4.0 and it will be rejected if you try and submit a binary like this.

    You can still run the simulator from 3.2 onwards after upgrading.

    In the iPhone Simulator try selecting Hardware -> Version -> 3.2

    0 讨论(0)
提交回复
热议问题