得到了新的Retina MacBook,它与xCode的搭配并不好。如果我创建一个新项目它可以工作,但如果我触发助理编辑器它将冻结。如果我保存一个新项目并重新打开它,它将冻结。我确实安装了4.5 DP并卸载了它和xcode的最新nonbeta版本,问题仍然存在。任何人都知道可能是什么问题?如果我创建一个新的用户帐户xcode表现正常。有人知道修复吗?崩溃对我来说太大了。
Date/Time: 2012-06-30 03:10:29 -0700
OS Version: 10.7.4 (Build 11E2620)
Architecture: x86_64
Report Version: 9
Command: Xcode
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Version: 4.3.3 (1178)
Build Version: 3
Project Name: IDEApplication
Source Version: 1178000000000000
App Item ID: 497799835
App External ID: 8553856
Parent: launchd [111]
PID: 234
Event: hang
Duration: 1.76s
Steps: 18 (100ms sampling interval)
Pageins: 44
Pageouts: 0
Process: Xcode [234]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Architecture: x86_64
UID: 501
Thread 0x810 DispatchQueue 1
User stack:
18 ??? (in Xcode) [0x107b73eec]
18 NSApplicationMain + 867 (in AppKit) [0x7fff85edf244]
18 -[NSApplication run] + 555 (in AppKit) [0x7fff85c630c6]
18 -[IDEApplication sendEvent:] + 366 (in IDEKit) [0x1085c2dd1]
18 -[NSApplication sendEvent:] + 4282 (in AppKit) [0x7fff85ccc536]
18 -[NSApplication _handleKeyEquivalent:] + 526 (in AppKit) [0x7fff85dd3175]
18 -[NSMenu performKeyEquivalent:] + 281 (in AppKit) [0x7fff85dd4524]
18 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125 (in AppKit) [0x7fff85e56932]
18 -[NSMenuItem _corePerformAction] + 399 (in AppKit) [0x7fff85e56bfb]
18 -[IDEApplication sendAction:to:from:] + 154 (in IDEKit) [0x1085c7096]
18 -[DVTApplication sendAction:to:from:] + 318 (in DVTKit) [0x107e76866]
18 -[NSApplication sendAction:to:from:] + 139 (in AppKit) [0x7fff85d69f7e]
18 -[NSObject performSelector:withObject:] + 61 (in CoreFoundation) [0x7fff8a15270d]
18 -[IDEWorkspaceTabController _changeToEditorMode:] + 361 (in IDEKit) [0x108728088]
18 _NSSetIntValueAndNotify + 259 (in Foundation) [0x7fff86f8353f]
18 -[IDEEditorArea setEditorMode:] + 384 (in IDEKit) [0x108604a61]
18 -[IDEEditorArea _refreshEditorContextsAndPreserveCurrentEditorHistoryStack:] + 642 (in IDEKit) [0x108604d8e]
18 +[DVTLayoutView_ML _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] + 108 (in DVTKit) [0x107e858ec]
18 +[DVTLayoutView_ML
我在Retina MacBook上遇到过类似的问题。解决方法是在Finder中为Xcode指定“以低分辨率打开”。来自http://support.apple.com/kb/HT5266:
这确实会对文本质量产生影响,尽管它并不可怕(主观)。希望Apple能尽快更新Xcode。
对我来说,解决方案很简单:
由于项目的用户数据内容损坏,导致崩溃。
此外,您应该注意,删除这些文件后,窗口大小和位置将重置,打开的选项卡将全部关闭。