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

IosXcodeXcode4

Ios Problem Overview


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

Ios Solutions


Solution 1 - Ios

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.

Solution 2 - Ios

Here is how I solved this problem. Right-click on the xcodeproj file and select "show package contents." Now delete everything inside the xcuserdata folder. Voila. I hope it helps anyone else out there that is facing this problem.

Solution 3 - Ios

This is basically happen, when you change your project name or something like that. The solution is, you have to select the right "Scheme" for your project. Here is the solution :

After open your project :

  1. Go to "Product" from upper menu
  2. Select "Scheme" from the list
  3. Then select "Manage Scheme"
  4. Now no matter your "Project Name" is listed here or not just click on "Autocreate Schemes Now" from the upper-right side of the window.
  5. Press "ok", now your project rebuild and you can find the "Simulator List" on the top.

Hope this help you guys.

Solution 4 - Ios

Had the same problem.

None of the above solutions worked. In the end, I clicked on "Manage Schemes" and then "Autocreate Schemes Now". Then select the new scheme in Xcode. Now you will get back all device/simulator options.

This might be a bit nuclear option if you are midway through the project. My problem happened as I was starting on a new project and renamed the project. In this scenario, only autocreating a new scheme seemed to work.

Solution 5 - Ios

There are different solution to this problem. Two approaches that I have used are below :

  1. Right-click on xcodeproj file. Select "show package contents". Now, delete everything inside the xcuserdata folder.

  2. Select "Edit Schema". Executable section will have "none" in Info tab of window. Now select "ProjectName.app".

Screenshot

Solution 6 - Ios

Often times this can happen when some files change without xcode's blessing. As in when switching between version control branches. Usually restarting Xcode fixes that problem.

Solution 7 - Ios

None of the suggestions here worked for me, but what did was clicking the project in the sidebar, then under "iOS Application Target", toggle "Devices".

I was set to 'iPad'. I changed it to 'Universal' then back to 'iPad' and the Scheme corrected itself.

If it makes a difference, this is on a PhoneGap/Cordova project.

Solution 8 - Ios

If you are seeing this problem after you renamed your project, the actual issue is that the scheme has a container defined that refers to your old project name. You have to edit your scheme file also in a text editor and replace all the instances of the old project name with your new project name.

You've got to go through all the sub files in the project folder and replace the name of the old project with the new one to fix this issue. All the other work arounds listed in the other answers are just ways to force Xcode to do this for you.

Solution 9 - Ios

If nothing above work then click project from side bar as shown in image at top then go to PROJECT then Build Settings then under Architectures change Supported Platforms from OSX to iOS.

Hope it will helps!

enter image description here

Solution 10 - Ios

I got this issue when i created a project with Xcode 4.5 (iOS SDK 6) and opened it later with Xcode 4.2 (iOS SDK < 6). I solved this problem, Select target->Summary, under Deployment target, i set it to 5.0:

enter image description here

Xcode 4.2 doesn't support iOS SDK 6.0, so i need to downgrade the deployment target, then i got my device in the scheme. Hope this help someone.

Solution 11 - Ios

Close Xcode entirely (Command + Q) and install the additional component solved the issue for me.

Solution 12 - Ios

Go build settings -> All -> Supported Platforms. Click on it and select iOS. Mine was in Mac for some weird reason. I never changed it!

Solution 13 - Ios

Select Edit Schema, you'll be having None in "Executeable", select your .app instead from the drop down menu, Hope it helps

Solution 14 - Ios

Hi I got that issue a project I got it from a colleges.
I have solved it by Creating a "New Scheme" with project name.

Thanx,

Solution 15 - Ios

Generally sample codes downloaded has such issue. These can be changed by changing Base SDK to Latest iOS from 'Build Setting' tab of your Project.

enter image description here

Solution 16 - Ios

I had this problem, and here is how i fixed it.

In "build Settings" change the "Supported Platforms" from "iphoneos" to "iOS". I don't know why, but it works for me.

Solution 17 - Ios

Automatic settings validation solved this issue for me. ("Validate Settings" button)

Solution 18 - Ios

I solved this problem by setting the deployment target version to a lower or same version that the Xcode (iOS SDK) supports.

Solution 19 - Ios

in my case i had to change base SDK in project -> Build Settingd to latest ios sdk

Solution 20 - Ios

I tried every suggested solution I could find on stackoverflow for this problem.

Eventually, I deleted the Xcode app and downloaded it again from the App Store. After installation, the simulators were back.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNic HubbardView Question on Stackoverflow
Solution 1 - IosNic HubbardView Answer on Stackoverflow
Solution 2 - IosMike ReiningView Answer on Stackoverflow
Solution 3 - IosTulonView Answer on Stackoverflow
Solution 4 - IosHimanshu SinghView Answer on Stackoverflow
Solution 5 - IosJayprakash DubeyView Answer on Stackoverflow
Solution 6 - IosChristian SchlenskerView Answer on Stackoverflow
Solution 7 - IosdanharperView Answer on Stackoverflow
Solution 8 - IosJoshView Answer on Stackoverflow
Solution 9 - IosMannView Answer on Stackoverflow
Solution 10 - IosMallocView Answer on Stackoverflow
Solution 11 - IosAllenView Answer on Stackoverflow
Solution 12 - IosJhon GiaView Answer on Stackoverflow
Solution 13 - IosKhalid UsmanView Answer on Stackoverflow
Solution 14 - IosdamithHView Answer on Stackoverflow
Solution 15 - IosJayprakash DubeyView Answer on Stackoverflow
Solution 16 - IosMark ZhangView Answer on Stackoverflow
Solution 17 - IoskrafterView Answer on Stackoverflow
Solution 18 - IosMShView Answer on Stackoverflow
Solution 19 - IosiMeMyselfView Answer on Stackoverflow
Solution 20 - IosOscarWyckView Answer on Stackoverflow