run app using xcode 4.6 in ios 4.3 simulator

2020-02-07 06:26发布

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

3条回答
Evening l夕情丶
2楼-- · 2020-02-07 07:03

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

查看更多
女痞
3楼-- · 2020-02-07 07:13

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.

查看更多
我只想做你的唯一
4楼-- · 2020-02-07 07:22
  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

查看更多
登录 后发表回答