简体   繁体   中英

how to use iphone simulator 5.1 in xcode 4.6.2

I install xcode 4.6 in my mac and I want to use simulator 5.1 in my xcode. I could put iphone simulator 5.1 in my new xcode but when use xcode this simulator dont show in my xcode. I want run my project with iphone simulator 5.1 not iphone 6.1 simulator. I have xcode 4.4.1 and 4.6.2 setup. this is my simulator and xcode picture :

在此输入图像描述

在此输入图像描述

Go to the xcode menu, preferences, downloads. You will see the option to download older simulators.

It seems that you have the 5.1 simulator but you're targeting your app for the 6.1

Select your project -> Targets -> Summary tab -> And set the Deployment Target to 5.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM