XCode 4.2.1 Crashes on Lion 10.7.2 on Launch

倖福魔咒の 提交于 2019-12-04 10:43:53
  1. Download the iPhone Configuration Utility... http://support.apple.com/kb/DL1465
  2. Install, start, quit the utility.
  3. Xcode should now start correctly.

The uninstall process does not cover the user Profile of your account. After uninstalling you should also remove ~/Library/Developer/Xcode. The easiest way to test this is to create a new user account and see if Xcode will open.

My Xcode installation crashed on startup as described above. I downloaded and installed the iPhone Configuration Utility (ver3.4) and ran the utility. Xcode has launched and worked ever since running the iPhone Configuration Utility.

I did a Google search and found there are a number of reports of people having crashes exactly like you described it.

Here's a potential fix as described by Andreas Schuderer on this Apple discussion thread:

I had the same problem and typed in Terminal:

sudo tmutil disablelocal
sudo /Developer/Library/uninstall-devtools --mode=all
sudo /Developer-3.2.2/Library/uninstall-devtools --mode=all
sudo tmutil enablelocal

Then I deleted the folders "Developer" and "Developer-3.2.2".

Then I reinstalled xcode using the installer on the launchpad. Now it works.

P.S.: The first and last line disable and re-enable local snapshots (a feature of time machine). I had the problem that the mtmd proces claimed a whole core and caused my macbook pro to heat up enourmously. The tmutil commands fixed this. The third line was necessary because xcode installer had made a backup of my previous xcode version. Leave this line out if not applicable.

Try to once again uninstall XCode as described in Update-2; then download and install the iPhone Configuration Utility (ver 3.3 at the time of this post) (http://support.apple.com/kb/dl851). Run iPhone Configuration Utility (found in the Applications/Utilities folder). I did not have to do anything with new configurations/devices/etc - only start the application. Then launch XCode; mine then started working correctly.

None of the above worked for me. XCode crashed on the Summary page for projects.

The problem stemmed from an entry in my Info.plist file. I had three particular entries: Icon, Icon files, and Icon files (iOS 5). I removed the last one, since it was empty, and that solved the problem.

Alena

Here is how I fixed mine:

  1. Go -> Home -> Autosave Information -> all xcode related files send to trash

  2. Finder -> empty trash

  3. Apple -> restart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!