崩潰,我有以下問題,我的項目之一:的XCode 4:當文件/組添加和項目沒有清理
如果我的任何文件或組添加到它,不久後的XCode攤位和崩潰。如果我在此之前做了一個項目清理,它工作得很好。只要我做了一個Project構建,如果我嘗試添加文件,它會再次崩潰。
任何想法?尋找解決方案,但沒有任何運氣。我正在使用最新的XCode 4.3.2 - 新安裝沒有幫助。
的Xcode崩潰報告:
Process: Xcode [7017]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.3.2 (1177)
Build Info: IDEApplication-1177000000000000~6
App Item ID: 497799835
App External ID: 7171108
Code Type: X86-64 (Native)
Parent Process: launchd [139]
Date/Time: 2012-04-11 16:46:18.177 +0200
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
Interval Since Last Report: 137545 sec
Crashes Since Last Report: 10
Per-App Interval Since Last Report: 135817 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: F3C112A1-E15B-4D44-9662-F13A93846AE0
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4E2002
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[PBXFolder targets]: unrecognized selector sent to instance 0x40b7b63e0
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff95298faa __exceptionPreprocess (in CoreFoundation)
1 0x00007fff99458d5e objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff953252ae -[NSObject doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff95285e73 ___forwarding___ (in CoreFoundation)
4 0x00007fff95285c88 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x000000011175717e -[XCProjectReferenceInfo _synchronizeWithReferencedProjectIfNeeded] (in DevToolsCore)
6 0x0000000111757dc2 -[XCProjectReferenceInfo archivableInfoDictionary] (in DevToolsCore)
7 0x000000010dfd3c47 -[NSArray(DVTFoundationClassAdditions) dvt_arrayByApplyingSelector:] (in DVTFoundation)
8 0x000000011166057d -[PBXProject _projectReferences] (in DevToolsCore)
9 0x000000011164912a -[PBXArchivingBinding writeValueForObject:toPListArchiver:] (in DevToolsCore)
10 0x0000000111648158 -[PBXObject _archiveValuesForArchiveMask:toPListArchiver:] (in DevToolsCore)
11 0x0000000111672997 -[PBXPListArchiver _archiveObject:asWeakReference:] (in DevToolsCore)
12 0x00000001116734e6 -[PBXPListArchiver initWithRootObject:delegate:role:] (in DevToolsCore)
13 0x0000000111650018 -[PBXProject writeToFile:projectFile:userFile:outResultNotification:] (in DevToolsCore)
14 0x00000001116505a4 -[PBXProject _writeToFileSystemProjectFile:userFile:checkNeedsRevert:] (in DevToolsCore)
15 0x0000000111650655 -[PBXProject writeToFileSystemProjectFile:userFile:checkNeedsRevert:] (in DevToolsCore)
16 0x00000001117ee0bb -[Xcode3Project writeToFilePath:forceWrite:error:] (in DevToolsCore)
17 0x000000010e68cf2d -[IDEContainer _saveContainerForAction:error:] (in IDEFoundation)
18 0x00007fff920caf64 __NSFireTimer (in Foundation)
19 0x00007fff9524dc24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
20 0x00007fff9524d776 __CFRunLoopDoTimer (in CoreFoundation)
21 0x00007fff9522e001 __CFRunLoopRun (in CoreFoundation)
22 0x00007fff9522d676 CFRunLoopRunSpecific (in CoreFoundation)
23 0x00007fff965d331f RunCurrentEventLoopInMode (in HIToolbox)
24 0x00007fff965da51b ReceiveNextEventCommon (in HIToolbox)
25 0x00007fff965da456 BlockUntilNextEventMatchingListInMode (in HIToolbox)
26 0x00007fff91411f5d _DPSNextEvent (in AppKit)
27 0x00007fff91411861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
28 0x00007fff9140e19d -[NSApplication run] (in AppKit)
29 0x00007fff9168cb88 NSApplicationMain (in AppKit)
30 0x000000010df8aeec (in Xcode)
一些額外的信息,我發現:
我想這在不同的計算機上 - 同樣的效果。但是,這可能很重要:它只發生在我構建真正的iPhone之後。如果我爲模擬器做一個構建 - 一切正常,沒有崩潰發生。只要我做了「真正的」iOS構建(調試或發佈) - 如果我做任何項目更改,它將崩潰。
你如何添加文件或組?拖入或使用菜單命令?你有沒有試過檢查你的項目設置是否可以升級? – 2012-04-06 10:55:35
你好。我的項目設置是最新的。無論是拖入還是使用菜單(File - new都與使用上下文菜單一樣多)會使應用程序崩潰。真的很沮喪:( – Manuel 2012-04-10 13:42:34
你可以分享崩潰報告的副本/粘貼嗎?即,蘋果堆棧跟蹤?有時它可以指向可以改變的東西(儘管到目前爲止它聽起來像是一個值得向他們報告的蘋果bug) 。 – 2012-04-10 14:13:32