我保留了两个版本的Xcode,4.6.3和5.0.2,并且工作了好几天,没有错。但是今天当我使用Xcode 4.6.3打开我的一个项目时,它在几秒钟之后就崩溃了。重复了很多次,但是其他用Xcode 5.0.2打开的项目没有。
我已经卸载了两个版本的Xcode,重新安装了Xcode 4.6.3,但问题仍然存在。我之所以不使用Xcode 5.0.2,是因为我使用的是Xcode 5.0.2不支持的库。
有人可以帮忙吗?非常感谢!
以下崩溃报告:
Process: Xcode [696]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.6.3 (2068)
Build Info: IDEApplication-2068000000000000~3
Code Type: X86-64 (Native)
Parent Process: launchd [258]
Responsible: Xcode [696]
User ID: 501
Date/Time: 2013-11-21 17:19:39.479 +0800
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 053ABB38-41BB-9CC2-9E8F-6691450D069B
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000028
VM Regions Near 0x28:
-->
__TEXT 00000001060ed000-00000001060f0000 [ 12K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 4H1503
objc[696]: garbage collection is ON
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreText 0x00007fff8e73a0cb TLine::AppendRun(TCFRef<CTRun const*>&&) + 75
1 com.apple.CoreText 0x00007fff8e74d959 TLine::AppendPartialRun(CTRun const*, CFRange) + 53
2 com.apple.CoreText 0x00007fff8e74d8eb TLine::CopyStringRange(TLine const&, CFRange) + 257
3 com.apple.CoreText 0x00007fff8e783b27 TTypesetter::FindGraphicalBreakInconsistent(std::__1::tuple<TLine const*, TCharStream const*, void const* (*)(__CTRun const*, __CFString const*, void*), void*, std::__1::shared_ptr<TBidiLevelsProvider>*, unsigned int, unsigned char> const&, TLine const&, CFRange, double, double, unsigned char, long&, double&) + 245
4 com.apple.CoreText 0x00007fff8e782e08 TTypesetter::FindGraphicalBreak(std::__1::tuple<TLine const*, TCharStream const*, void const* (*)(__CTRun const*, __CFString const*, void*), void*, std::__1::shared_ptr<TBidiLevelsProvider>*, unsigned int, unsigned char> const&, long, double, double, std::__1::function<unsigned char (long)>) + 490
5 com.apple.CoreText 0x00007fff8e782b14 TTypesetter::SuggestClusterBreak(std::__1::tuple<TLine const*, TCharStream const*, void const* (*)(__CTRun const*, __CFString const*, void*), void*, std::__1::shared_ptr<TBidiLevelsProvider>*, unsigned int, unsigned char> const&, long, double, double, std::__1::function<unsigned char (long)>) + 112
6 com.apple.CoreText 0x00007fff8e74f75a TTypesetter::SuggestClusterBreak(long, double, double, std::__1::function<unsigned char (long)>) const + 176
7 com.apple.CoreText 0x00007fff8e74f66d CTTypesetterSuggestClusterBreak + 71
8 com.apple.AppKit 0x00007fff8d4afcaa -[NSATSLineFragment layoutForStartingGlyphAtIndex:characterIndex:minPosition:maxPosition:lineFragmentRect:] + 518
9 com.apple.AppKit 0x00007fff8d4ae64e -[NSATSTypesetter _layoutLineFragmentStartingWithGlyphAtIndex:characterIndex:atPoint:renderingContext:] + 2777
10 com.apple.AppKit 0x00007fff8d4e1c79 -[NSATSTypesetter layoutParagraphAtPoint:] + 149
11 com.apple.AppKit 0x00007fff8db59b45 -[NSTypesetter _layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:maxCharacterIndex:nextGlyphIndex:nextCharacterIndex:] + 4043
12 com.apple.AppKit 0x00007fff8d4e0c9d -[NSTypesetter layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 202
13 com.apple.AppKit 0x00007fff8d4e0b81 -[NSATSTypesetter layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 1107
14 com.apple.AppKit 0x00007fff8d4df219 -[NSLayoutManager(NSPrivate) _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 1306
15 com.apple.AppKit 0x00007fff8d588ad9 _NSFastFillAllLayoutHolesForGlyphRange + 1435
16 com.apple.AppKit 0x00007fff8db17199 -[NSTextView(NSPrivate) _ensureLayoutCompleteForRect:withExtensionFactor:minimumExtensionDistance:repetitions:] + 568
17 com.apple.AppKit 0x00007fff8db1722c -[NSTextView(NSPrivate) _ensureLayoutCompleteForRect:withExtension:] + 84
18 com.apple.AppKit 0x00007fff8dae83ed -[NSTextView prepareContentInRect:] + 203
19 com.apple.AppKit 0x00007fff8d5f0758 __48-[NSView _pullInTilesByDrawingAndAddingSubviews]_block_invoke + 599
20 com.apple.AppKit 0x00007fff8d5efe90 -[NSView _performWorkOnTilesFromRect:renderedContentRect:maximumRect:scrollVelocity:handler:] + 2411
21 com.apple.AppKit 0x00007fff8d5ef41a -[NSView _pullInTilesByDrawingAndAddingSubviews] + 1007
22 com.apple.AppKit 0x00007fff8d5ef012 -[NSView _pullInExtraTilesForOverdraw] + 87
23 com.apple.AppKit 0x00007fff8d5eef7e -[NSView _doIdlePrefetch] + 59
24 com.apple.AppKit 0x00007fff8d5eca8a __CreateIdleRunLoopObserverWithHandler_block_invoke + 237
25 com.apple.CoreFoundation 0x00007fff85ba10a7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
26 com.apple.CoreFoundation 0x00007fff85ba1017 __CFRunLoopDoObservers + 391
27 com.apple.CoreFoundation 0x00007fff85b92893 __CFRunLoopRun + 995
28 com.apple.CoreFoundation 0x00007fff85b92275 CFRunLoopRunSpecific + 309
29 com.apple.HIToolbox 0x00007fff80c74f0d RunCurrentEventLoopInMode + 226
30 com.apple.HIToolbox 0x00007fff80c74cb7 ReceiveNextEventCommon + 479
31 com.apple.HIToolbox 0x00007fff80c74abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
32 com.apple.AppKit 0x00007fff8d40928e _DPSNextEvent + 1434
33 com.apple.AppKit 0x00007fff8d4088db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
34 com.apple.AppKit 0x00007fff8d3fc9cc -[NSApplication run] + 553
35 com.apple.AppKit 0x00007fff8d3e7803 NSApplicationMain + 940
36 com.apple.dt.Xcode 0x00000001060eeb6f 0x1060ed000 + 7023
37 com.apple.dt.Xcode 0x00000001060eeb00 0x1060ed000 + 6912