1
votes

Ever since i upgraded to xcode5, the iOS simulator only displays as an iPad even though the project is targeted for iPhone. The Run button also shows it's set to iPhone and I've tried switching between the different iPhone types in simulator. But no matter what, my iPhone project opens as an iPad simulation. Anybody encounter this problem or know how to fix it?

I believe I've downloaded all the relevant libraries and tools from apple as well. I'll double check that now but I'm pretty sure I have all the accessory downloads up to date.

Edit

I found the answer! Due to the changes with resolution of the retina display, the simulator was loading without the bezel. Turns out the best way to solve this problem without a large screen or retina display is to deploy target in navigator=>General menu=> to iOS 6.1 and make sure iOS simulator=>Hardware=>Devices=>is set to iOS 6.1 as well.

3
Go to xcode preference and check out downloads. - johnMa
Got them all except iOS 5.0 simulator - FundamentalClue
If you found the answer then add a new answer and accept it. - logixologist

3 Answers

0
votes

Have you tried changing the simulator device? Go to iOS Simulaotr.app -> hardware -> devices?

0
votes

Download the extra components/simulators..

enter image description here

enter image description here

0
votes

If you find your iOS simulator is showing a large iPad like display since upgrading, it's because of the change in resolution for the retina display. In order to view the simulator as a regular looking iPhone follow these steps:

  1. Deploy your project target for iOS 6.1 or earlier. In the navigator menu (far left), top folder (your project folder), click it. Make sure "General" is selected in the menu in the centre of the screen. In 'deployment Info' set it to iOS 6.1 and 'devices' to iPhone.

  2. Open iOS simulator: Click 'XCODE' in the top left of the screen => Open Developer Tools => iOS Simulator.

  3. In iOS simulator, go to => Hardware => Devices => select iPhone => iOS 6.1. Make sure not to select any of the hardware devices that are listed as retina displays, thats the major key.

  4. Finally, make sure the deployment next to the run button is also showing 'iPhone iOS 6.1' AND NOT 'iPhone Retina...'

And enjoy seeing the iPhone simulator properly again! :)