Search code examples
iphonexcodetargettargets

XCode - Iphone project cannot run on iphone simulator?


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


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.