錯誤提示:
Xcode encountered an internal logic error. Choose “Continue” to
continue running Xcode in an inconsistent state.
Choose “Crash” to halt Xcode and file a bug with
Crash Reporter. Choosing “Crash” will result in the loss of all
unsaved data.
如果你遇到這樣的問題, 不要怕, 我這個方案完美解決這個問題,
這個問題折騰了我一段時間了, 因為我自己的macPro
安裝了xcode3.2.5和xcode4兩個版本 沒有問題, 但是公司這個iMac就出了這個問題,
剛開始以為重新安裝系統就好了 我安裝系統了, 問題依然出現,
然後發現 我使用CleanMyMac 把垃圾檔案清理了, 然後把清理緩衝:
Here’s how to clean your caches:
1. Choose Users>your user
name>Library>Caches.
2. From the Menu bar, choose Edit>Select All.
3. Drag all of the items to the Trash.
4. From the Macintosh HD, choose
Library>Caches.
5. Choose Edit>Select All, and drag the items to
the Trash. You’ll be required to type in an administrator’s
password.
6. Restart your Mac.
Read more: http://www.brighthub.com/computing/mac-platform/articles/2309.aspx#ixzz1KmR6Vm9x
如果這樣還是不能解決問題, 那就使出殺手鐧:
把這個檔案刪除 (~/Library/Preferences/com.apple.Xcode.plist)
, 然後開啟XCode4 就沒問題了!