Question

Something happened to my XCode Project.

On top left side of XCode 4 where you can specify what device/simulator you want to run your app on it does not show any iphone/ipad related target. It shows "My Mac 64-bit"

How can I fix this problem?

Thanks

Was it helpful?

Solution

Restart XCode, see how you go.

Often when I use git to pull changes to the XCode4 project file the list in the top seems to lose it's place. Restarting fixes that issue very time for me. Totally annoying.

OTHER TIPS

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.

What worked for me is here: Xcode iOS project only shows "My Mac 64-bit" but not simulator or device

It's the answer posted my Mike Reining which says: Right-click on the xcodeproj file and select "show package contents." Now delete everything inside the xcuserdata folder. Voila.

Make a backup copy of the xcuserdata folder before you delete it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top