-->

run app using xcode 4.6 in ios 4.3 simulator

2020-02-07 06:29发布

问题:

I am actually trying to run my application in 4.3 simulator from xCode 4.6. I copy the sdk for simulator 4.3 at the path, it builds successfully but cant run the application in simulator. So now what can I do to solve the problem? Thank you in advance

回答1:

If you are using Mac OS 10.7.x and have upgraded to Xcode 4.6, then you could have or download simulator 4.3 version. But, if you are using Mac OS 10.8.x, then you can not have simulator 4.3 version. The reason is 4.3 simulator on Mac OS 10.8.x crashed a lot, so Apple has removed that.

Check this link:-
http://iphonedevsdk.com/forum/iphone-sdk-development/111568-what-happened-to-the-ios-4-3-simulator-in-xcode-4-6.html



回答2:

Go to Xcode -> Preferences -> Downloads and make sure the "Target SDK" you have selected in your project is in fact installed under the Downloads windows. For me this magically was uninstalled. Once i installed the SDK that my app was using, all worked again

Also Check

Xcode>Preferences> click Downloads tab. The supported simulators are in there.

Please try this and let me inform any problem still exists.



回答3:

  1. Go to Xcode -> Preferences -> Downloads -> Components
  2. There you can see the list of simulators (v4.3 also there). Click on install against the simulator that you want to install.
  3. After Installation, restart Xcode
  4. Go to the project info and set your build target to iOS Version 4.3

Now the simulator version 4.3 will be listed in your schema selector.

Cheers :)

Note: If you are using Mac 10.8, you cannot have 4.3 simulator