Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone project has "My Mac 64-bit"

Tags:

xcode

ios

xcode4

I'm working on an iPhone project and somehow the schema has "My Mac 64-bit" and "My Mac 32-bit" in addition to the normal "Simulator 4.3" and "IOS Device".

Is there anyway to remove the "My Mac..." options? It always wants to switch to these when I switch git branches and I end up building without realizing it and get an error. More of an annoyance than anything.

like image 733
Christian Schlensker Avatar asked Aug 17 '11 00:08

Christian Schlensker


2 Answers

Could possibly be something with your xcuserdata folder.

Right-click on the xcodeproj file and select "show package contents."

Make a backup copy of the xcuserdata folder.

Now delete everything inside the xcuserdata folder, and restart xcode.

If causes a problem, then put backup folder back in.

like image 91
jsherk Avatar answered Sep 28 '22 13:09

jsherk


This happens to me every time files get modified outside of Xcode, and Xcode needs to reload the project file. Closing the project and re-opening it always fixes the issue for me.

like image 26
Steve Avatar answered Sep 28 '22 13:09

Steve