Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode iOS project only shows "My Mac 64-bit" but not simulator or device

Tags:

xcode

ios

xcode4

This just started happening that my iOS project is only showing "My Mac 64-bit" rather than the Simulator or my iPhone to build to. I have no idea why this is happening. I do not think that I have changed anything.

enter image description here

I have my project set to iOS 5 as the base SDK, but no matter what I do it seems to never show my any other options to build for. I have restarted Xcode a few times, and still no luck.

Why is the happening?

Xcode 4.2, Build 4D199

like image 840
Nic Hubbard Avatar asked Oct 09 '22 11:10

Nic Hubbard


People also ask

How do I enable simulator in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.

How do I change generic iOS device to simulator Xcode?

Open Xcode, Goto Preferences, Select Component. Click on Simulators of your choice then it will start the process of download & installing the simulators.

How do I add iOS simulator to Xcode?

Simulator menu -> File -> New Simulator. It will show a list of iOS available for the device.

How do I find iOS simulator on Mac?

In the Safari on your Mac, on the Safari menu bar, choose the "Develop" menu. Scroll to the iOS Simulator option.


1 Answers

I figured it out. I had to edit the scheme (Product->Scheme->Edit Scheme...), and for some reason no executable was selected. I chose my app, saved and now I have my simulator and device options back.

like image 405
Nic Hubbard Avatar answered Oct 16 '22 19:10

Nic Hubbard