Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting Xcode's target to iPhone NOT iPad

I just upgraded to iPhone SDK 3.2 Beta 4. Since doing so, I have not been able to get the app to launch in the iPhone simulator - it keeps launching in the iPad simulator. I have tried option-clicking the drop-down menu in the top left-corner of Xcode and setting 'Active Executable' to iPhone simulator 3.1.3 but it keeps going back to iPad simulator instead.

What gives? I have no interest in my app running on the iPad and I don't want to test it in the 2X mode in the simulator.

Thanks,

like image 894
Garry Pettet Avatar asked Mar 10 '10 01:03

Garry Pettet


People also ask

How do I change targets in Xcode?

Go to project's settings in the Project Navigator panel. Under the Targets sections, right click the existing target and select Duplicate to copy your existing target. 2. Xcode will ask you if your new target is for iPad development.

How do I get to targets in Xcode?

Click on the project (the very first object in the tree) in the project navigator and you'll get a view with project settings on the right and targets on the left.


1 Answers

You can't really launch an iPhone app in 3.2.x - sometimes it will pop up - but basically right now it is only for iPad development.

like image 70
user216592 Avatar answered Sep 20 '22 08:09

user216592