简体   繁体   中英

Xcode doesn't show the iphone simulators as the destination

I put my ios deployment target as 7.1 and when i uploaded my game to itunes connect, it said i need 3.5 screenshots and I only have an iphone 5 so I have to use the simulator but when I tried to change the scheme it doesn't show up the simulator options. Why does this happen? Thanks

Delete Derived Data and restart Xcode.
1) Open Terminal
2) rm -rf ~/Library/Developer/Xcode/DerivedData
3) Restart Xcode

You have to add screenshot for 3.5" because ios7.1 is also for iphone4s which have 3.5" screen.

You can find simulator at, open simulator -> Hardware Menu -> Device -> Manage Device

In Manage device you can add simulator by clicking on '+' button which is at bottom left corner of the screen.

If you don't find the simulator here then you have to download from xcode->preferences->downloads options

I think you are missing one little thing:

To choose your building/running destiny.

When your real iOS Device is selected it looks like:

在此处输入图片说明

1 - Click on your iOS Device Name to select which device you want to simulate (iPhone 4S - 3,5 inch)

在此处输入图片说明

2 - Build/Run your project and your app will appear on the simulator you choosed.

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