开发者

iPhone project has "My Mac 64-bit"

I'm working on an iPhone projec开发者_StackOverflowt 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.


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.


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.


If you are porting your Xcode project from one mac to other then this issue happens most often. You can Try These two resolutions: First one only worked for me:

Resolution:1 Open Your project folder > Right Click on Xcode and Select “Show Package Content” Inside there we will get one folder “XcuserData”.> Open the Xcuserdata folder and delete all its content. >Now Launch the Xcode project again, the problem should be fixed now.

if the above resolution is not working then try this one:

Resolution:2 open Xcode > clicked on Manage Schemes and then Autocreate Schemes Now > Then select the new scheme in Xcode.

Hope either resolution should work for you.


This is a bug in the beta builds for Xcode 4.2, with regards to their handling of Git repos (confirmed at WWDC with Xcode devs). According to a friend of mine it's been fixed in Xcode 4.2 beta 5, but there are a bunch of issues with that build and you might want to hold off until beta 6.


Step 1: Right Click on Xcode project > Show Package contents > xcuserdata > Delete All content Step 2: Open project > select target > (Project name)Tests > Host Application > select application > allow testing application APIs

Resolved :) Enjoy your Code


I always open my projects from within Finder to get around this problem. Browse to your project directory, eg /apps/iOS/iPhone/SingleViewApp. Double clicking the .xcodeproj file launches the project within Xcode. I see "Checking DDI Symbols" msg and soon after iPhone device name appears.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜