完整斷言在下面!Xcode 4在打開項目時崩潰
我正試圖在全新的Sandy Bridge iMac Core i5上打開我們的新鮮XCode 4安裝(4.0.2)項目。此項目在我的舊MacMini和我的合作伙伴的Core 2 Duo iMac上運行並繼續工作。
我懷疑這可能是由於這臺新機器從來沒有安裝任何舊版本的XCode 4或XCode 3以及舊版本的SDK。只是4.02和任何隨它而來。這就是我能想到的唯一這一點......以及我們在機器之間唯一的區別。下面指定的文件確實不存在...所以它生成PCH的問題可能是?
任何人都可以請幫忙嗎?
我們不能在所有打開我們的XCode項目在新機器上和下面的說法是最不友好......
謝謝!
ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-287/Framework/Classes/Index/IDEIndex.m:2186
Details: Error launching clang to create PCH file: /Users/sukichima/Library/Developer/Xcode/DerivedData/LeapLanguage-gtjaysymsmxhiifrufylngcjwyxb/Index/PrecompiledHeaders/LeapLanguage_Prefix-bvjcknzwkkcgeydmvtyeuddafzgu_ast/LeapLanguage_Prefix.pch.pth
Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn’t be completed. No such file or directory"
Object: <IDEIndex: 0x200c257c0>
Method: -createPCHFile:willIndex:arguments:
Thread: <NSThread: 0x2036dfe80>{name = (null), num = 12}
Hints: None
Backtrace:
0 0x0000000100949773 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006d394 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x0000000100564e3d __46-[IDEIndex createPCHFile:willIndex:arguments:]_block_invoke_0 (in IDEFoundation)
3 0x0000000100005fdc __38-[DVTDispatchLock performLockedBlock:]_block_invoke_0 (in DVTFoundation)
4 0x00007fff88b6d4db dispatch_barrier_sync_f (in libSystem.B.dylib)
5 0x0000000100005f83 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
6 0x0000000100564a34 -[IDEIndex createPCHFile:willIndex:arguments:] (in IDEFoundation)
7 0x0000000100570b4c -[IDEIndexClangDataSource generateDataForFile:settings:] (in IDEFoundation)
8 0x00000001005706c1 -[IDEIndexDataSource processFile:settings:] (in IDEFoundation)
9 0x000000010056ffbe __70-[IDEIndex _indexFile:object:settings:afterOperation:beforeOperation:]_block_invoke_0 (in IDEFoundation)
10 0x00007fff86976cc7 -[__NSOperationInternal start] (in Foundation)
11 0x00007fff86a55af2 __doStart2 (in Foundation)
12 0x00007fff88b74284 _dispatch_call_block_and_release (in libSystem.B.dylib)
13 0x00007fff88b527f1 _dispatch_worker_thread2 (in libSystem.B.dylib)
14 0x00007fff88b52128 _pthread_wqthread (in libSystem.B.dylib)
15 0x00007fff88b51fc5 start_wqthread (in libSystem.B.dylib)
刪除DerivedData文件夾不解決問題...... 鐺版本輸出: 蘋果鐺版本2.0(標籤/蘋果/鐺-139)(基於LLVM 2.9svn) 目標:x86_64的蘋果-darwin10 線程模型:posix – poundev23 2011-06-01 03:17:35
這只是救了我的命!謝謝 - – Onedayitwillmake 2011-08-29 21:54:54
工程!當然,請確保將路徑中的用戶更改爲自己的用戶名。 – 2012-08-14 22:59:36