IDERepositoryViewer risorse danneggiate o mancanti causa l'arresto anomalo di Xcode 5. Perché?

1

Recentemente ho aggiornato il mio OS X 10.8.5 Mountain Lion da Xcode 4.6.3 a Xcode 5 utilizzando l'aggiornamento di App Store.

Come ho menzionato qui link , ogni volta che ho provato ad avviare Xcode 5, si sarebbe bloccato prima di fare clic o di aver fatto qualcosa. Il log della console mi ha detto che un registro di crash è stato creato su myusersfolder / Library / Logs / DiagnosticReports / Xcode_2013-09-27-16245 ...

Questo registro diceva che "Il bundle \ U201cIDERepositoryViewer \ U201d couldn \ U2019t non può essere caricato perché è danneggiato o mancante delle risorse necessarie. \".

Quindi, sono passato a Xcode, Show Package Contents e in Contents / Plugins, ho trovato e rinominato IDERepositoryViewer, aggiungendo una "X" alla fine del suo nome. Ora, Xcode 5 funziona senza problemi.

Non ho usato l'IDE Repository Viewer - sembra funzionare con SVN, mentre io uso git. Tuttavia, nel menu Xcode, si apre la finestra Controllo origine / Pagamento (anche se non ho definito alcun server),

Qualcuno ha idea del motivo per cui una nuova installazione Xcode, alla prima esecuzione, avrebbe un plugin che manca risorse, causando l'arresto anomalo di Xcode?

(La mia domanda correlata su SO riguardava lo sviluppo di app: questa domanda spiega perché l'app di Apple, Xcode, non funziona correttamente per me, quindi sembrava più appropriato qui).

L'inizio della traccia dello stack segue:

Process:         Xcode [284]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.0 (3332.25)
Build Info:      IDEApplication-3332025000000000~2
App Item ID:     497799835
App External ID: 38302662
Code Type:       X86-64 (Native)
Parent Process:  launchd [142]
User ID:         501

Date/Time:       2013-09-27 16:24:54.365 -0700
OS Version:      Mac OS X 10.8.5 (12F37)
Report Version:  10

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

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

Application Specific Information:
ProductBuildVersion: 5A1413
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.RepositoriesViewer.MenuDefinition.HelpContextualMenu' in plug-in 'com.apple.dt.IDE.IDERepositoryViewer'
UserInfo: {
    NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x7ff6b1ec5430 {DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDERepositoryViewer, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/IDERepositoryViewer.ideplugin/Contents/MacOS/IDERepositoryViewer, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDERepositoryViewer.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.IDE.IDERepositoryVie
wer\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/IDERepositoryViewer.ideplugin\U201d could not be loaded.  The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7ff6b
1ec2630 \"The bundle \U201cIDERepositoryViewer\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";
}
Hints: None
Backtrace:
  0  0x00007fff82a7faee __exceptionPreprocess (in CoreFoundation)
  1  0x0000000101080c23 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8142f3f0 objc_exception_throw (in libobjc.A.dylib)
  3  0x000000010100ebd2 -[DVTExtension valueForKey:] (in DVTFoundation)
  4  0x00007fff825e85a9 -[NSFunctionExpression expressionValueWithObject:context:] (in Foundation)
  5  0x00007fff82670578 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] (in Foundation)
  6  0x00007fff82670493 -[NSPredicate evaluateWithObject:] (in Foundation)
....(much more follows .. if more is needed, let me know)
    
posta nachbar 28.09.2013 - 06:49
fonte

1 risposta

1

Grazie per il tuo post del problema, mi ha aiutato a capire qual è il problema. Questo plug-in offensivo NON fa assolutamente parte di Xcode 5. Come te, ho avuto questo successo dopo l'aggiornamento da Xcode 4 a Xcode 5. Ho fatto un'installazione pulita di Xcode 5 su un altro computer e non ha quel plug-in.

    
risposta data 03.12.2013 - 22:54
fonte

Leggi altre domande sui tag