2016-03-14 2 views
0

Недавно я столкнулся с какой-то странной проблемой. Мой Xcode продолжает сбой каждый раз, когда я пытаюсь открыть информацию о проекте для каждого проекта, который у меня есть.Xcode падает каждый раз при попытке открыть PROJECT info

По информации проекта я имею в виду это:

enter image description here

Однако, все остальное, кажется, работает отлично, в том числе строительных архивов, бег строит как на тренажере и реальных устройств.

Кроме того, я пробовал много методов, таких как удаление/DerivedData и/xuserdata, но ни один из них не оказался полезным.

Вот часть отчета задачи для Xcode, в случае, если вам нужно принять глубокий взгляд внутри него:

Process:    Xcode [27134] 
Path:     /Applications/Xcode.app/Contents/MacOS/Xcode 
Identifier:   com.apple.dt.Xcode 
Version:    7.2.1 (9548.1) 
Build Info:   IDEFrameworks-9548001000000000~2 
Code Type:    X86-64 (Native) 
Parent Process:  ??? [1] 
Responsible:   Xcode [27134] 
User ID:    501 

Date/Time:    2016-03-14 15:29:00.281 +0800 
OS Version:   Mac OS X 10.10.5 (14F1021) 
Report Version:  11 
Anonymous UUID:  B26CD753-E360-FF23-061B-BF9FE89BE0BA 

Sleep/Wake UUID:  C8671DD6-AC38-4218-80F7-565C6A32EB44 

Time Awake Since Boot: 120000 seconds 
Time Since Wake:  20000 seconds 

Crashed Thread:  0 Dispatch queue: com.apple.main-thread 

Exception Type:  EXC_CRASH (SIGABRT) 
Exception Codes:  0x0000000000000000, 0x0000000000000000 

Application Specific Information: 
ProductBuildVersion: 7C1002 
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[DVTMacroExpansionStringList_NonLiteral length]: unrecognized selector sent to instance 0x7ff3ddab6e50 
UserInfo: (null) 
Hints: 
    0: Replacement view is installing: <Xcode3ProjectInfoEditor: 0x7ff3e4f1c8c0 representing: (null)> 
Backtrace: 
    0 0x00007fff85528024 __exceptionPreprocess (in CoreFoundation) 
    1 0x000000010ea3fb07 DVTFailureHintExceptionPreprocessor (in DVTFoundation) 
    2 0x00007fff8595176e objc_exception_throw (in libobjc.A.dylib) 
    3 0x00007fff8552b0ad -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation) 
    4 0x00007fff85470e24 ___forwarding___ (in CoreFoundation) 
    5 0x00007fff85470998 _CF_forwarding_prep_0 (in CoreFoundation) 
    6 0x000000012196b2fa -[Xcode3ProjectInfoEditor projectDeploymentOSForPlatform:] (in Xcode3UI) 
    7 0x00000001218d19b1 -[Xcode3ProjectInfoEditor iOSProjectDeploymentOS] (in Xcode3UI) 
    8 0x00000001218d18b4 -[Xcode3ProjectInfoEditor _reloadSDKAndDeploymentBuildSettings] (in Xcode3UI) 
    9 0x00000001218d1679 -[Xcode3ProjectInfoEditor _updateSDKAndDeployment] (in Xcode3UI) 
10 0x00000001218d0dfa -[Xcode3ProjectInfoEditor setInspectedBlueprint:] (in Xcode3UI) 
11 0x00000001218d0568 -[Xcode3ProjectEditor replacementView:didInstallViewController:] (in Xcode3UI) 
12 0x000000010efd3201 __42-[DVTReplacementView _setupViewController]_block_invoke (in DVTKit) 
13 0x000000010ea3f845 DVTInvokeWithFailureHint (in DVTFoundation) 
14 0x000000010eef947b -[DVTReplacementView _setupViewController] (in DVTKit) 
15 0x000000010eef92ff -[DVTReplacementView installedViewController] (in DVTKit) 
16 0x000000010eeff8ec -[DVTReplacementView layoutTopDown] (in DVTKit) 
17 0x000000010f0b801d +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
18 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
19 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
20 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
21 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
22 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
23 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
24 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
25 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
26 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
27 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
28 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
29 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
30 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
31 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
32 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
33 0x000000010f0b80fa +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit) 
34 0x000000010eeff4c4 +[DVTLayoutView_ML _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit) 
35 0x000000010ef15b20 +[DVTLayoutView_ML _layoutWindow:] (in DVTKit) 
36 0x000000010f0b7eb5 __44+[DVTLayoutView_ML scheduleWindowForLayout:]_block_invoke_2 (in DVTKit) 
37 0x000000010e9a3ce5 -[DVTRunLoopToken _DVTRunLoopToken_perform] (in DVTFoundation) 
38 0x00007fff86795641 __NSFirePerformWithOrder (in Foundation) 
39 0x00007fff85444127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation) 
40 0x00007fff85444080 __CFRunLoopDoObservers (in CoreFoundation) 
41 0x00007fff85436188 __CFRunLoopRun (in CoreFoundation) 
42 0x00007fff85435bd8 CFRunLoopRunSpecific (in CoreFoundation) 
43 0x00007fff8ca9456f RunCurrentEventLoopInMode (in HIToolbox) 
44 0x00007fff8ca941ee ReceiveNextEventCommon (in HIToolbox) 
45 0x00007fff8ca9412b _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox) 
46 0x00007fff848a18ab _DPSNextEvent (in AppKit) 
47 0x00007fff848a0e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) 
48 0x000000010f01c0c2 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit) 
49 0x00007fff84896af3 -[NSApplication run] (in AppKit) 
50 0x00007fff84813244 NSApplicationMain (in AppKit) 
51 0x00007fff888a55c9 start (in libdyld.dylib) 

abort() called 
+0

Сколько лет вашему проекту? Я вижу «Xcode3ProjectInfoEditor» в разделе подсказок. Есть ли способ обновить/обновить проект до совместимого с Xcode 7 или, по крайней мере, более современного? –

+0

Существует две возможности: 1. этот проект развивается в старой версии xcode, и вы пытаетесь открыть в новой версии, что некоторые файлы не поддерживаются. 2. очистите данные для закрытия данных. Xcode и сбросьте симулятор, затем проверьте, может быть, решить –

+0

проверить http://stackoverflow.com/questions/11273232/xcode-crashing-when-opening-the-assistant-editior и http: // stackoverflow. com/questions/21076701/xcode-systemic-crash-on-open-project-how-to-reset-xcode-assistant-editor –

ответ

0

Попробуйте обновить проект, зайдя в настройки проекта и нажав на Inspector File (т.е. панель или вкладка, которая отображается с правой стороны окна IDE).

Одним из всплывающих меню, которое появляется, должно быть «Формат проекта».

Выберите «Xcode 6.3 compatible» и убедитесь, что это делает жизнь приятнее для вас.

Choose Xcode 6.3 compatible

+0

К сожалению, нет ... Но я добавляю что-то еще в отчет о сбое, я не уверен, что это поможет ... Я подозреваю, что эта проблема может произойти после того, как я принял CocoaPods. –

+0

Я не инженер Apple, и я не работаю над командой Xcode, поэтому я не знаю точно, что означает обратная связь ... но вы все еще видите ошибку после обновления формата проекта? Кроме того, вы открываете проект xcode *** *** или файл *** рабочего пространства *** ('.xcworkspace'), последним из которых является то, что вы должны открывать при работе с CocoaPods. –

+0

Да, ошибка также появляется. Я попробовал как файлы проекта, так и файлы рабочей области, и все они имеют одинаковый результат, который является сбоем. –