Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xcode encountered an internal logic error

I have just installed xcode 4 on my MacMini. I am new to developing and just today have started learning objective c. when i open xcode 4 it gives me an error:

Internal Error

Xcode encountered an internal logic error. Choose "Continue" to continue running Xcode in an inconsistent state. Choose "Crash" to halt Xcode and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.

and also when i click on the show details button it gives me this:


ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-215/Framework/Classes/PlugInArchitectu re/DVTPlugInManager.m:215
Details: (extensionPoint) should not be nil.
Object: <DVTPlugInManager: 0x2000a3c20>
Method: -_extensionsForExtensionPoint:matchingPredicate:
Thread: <NSThread: 0x200020600>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010092e613 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006d974 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010001b2b7 -[DVTPlugInManager _extensionsForExtensionPoint:matchingPredicate:] (in DVTFoundation)
3 0x000000010001b23d -[DVTPlugInManager sharedExtensionsForExtensionPoint:matchingPredicate:] (in DVTFoundation)
4 0x0000000100a2a771 __61+[IDEDocumentController THREAD_allOrganizerSourceExtensions]_block_invoke0 (in IDEKit)
5 0x00007fff889bbc65 dispatch oncef (in libSystem.B.dylib)
6 0x0000000100a2a704 +[IDEDocumentController THREADallOrganizerSourceExtensions] (in IDEKit)
7 0x0000000100a2b162 +[IDEDocumentController _organizerSourceExtensionForDocumentType:] (in IDEKit)
8 0x00000001009286f0 -[IDEApplicationController _openFiles:] (in IDEKit)
9 0x00007fff81c0f9d6 -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] (in AppKit)
10 0x00007fff81adc00d -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] (in AppKit)
11 0x00007fff82e78f62 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] (in Foundation)
12 0x00007fff82e78d92 _NSAppleEventManagerGenericHandler (in Foundation)
13 0x00007fff8841a323 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) (in AE)
14 0x00007fff8841a21c dispatchEventAndSendReply(AEDesc const*, AEDesc*) (in AE)
15 0x00007fff8841a123 aeProcessAppleEvent (in AE)
16 0x00007fff86e45765 AEProcessAppleEvent (in HIToolbox)
17 0x00007fff819e104b _DPSNextEvent (in AppKit)
18 0x00007fff819e07a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
19 0x00007fff819a648b -[NSApplication run] (in AppKit)
20 0x00007fff8199f1a8 NSApplicationMain (in AppKit)
21 0x0000000100000eec

Can anyone help? Or can they at least tell me the problem. Thanks, Ivanthehackerful.

MacMini, Mac OS X (10.6.6), iOS 4 iPod Touch 3rd Generation, MacBook Pro 5G.

Posted on Feb 25, 2011 11:21 AM

Reply
25 replies

Dec 9, 2011 11:04 PM in response to Tim Fall

I typed the following commands in the terminal as Andreas suggested :


sudo tmutil disablelocal

sudo /Developer/Library/uninstall-devtools --mode=all

sudo /Developer-3.2.2/Library/uninstall-devtools --mode=all

sudo tmutil enablelocal


Then I deleted the folders "Developer" and "Developer-3.2.2".


Is there something else to delete?

I'll give it another try.



Thanks for your help!


EDIT : actually, the second comman didn't work as I don't have a developer-3.2.2 file.

Dec 9, 2011 11:12 PM in response to RobinFromSeraing

I tried again and I get this error when lauching Xcode :



ASSERTION FAILURE in /SourceCache/IDELogNavigator/IDELogNavigator-820/IDELogNavigator.m:582

Details: (self.rootNavigableItem) should not be nil.

Object: <IDELogNavigator: 0x4020b39e0>

Method: -revertStateWithDictionary:

Thread: <NSThread: 0x40010a260>{name = (null), num = 1}

Hints:

0: Replacement view is installing: <IDELogNavigator: 0x4020b39e0 representing: <DVTExtension 0x400be92c0: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>

Backtrace:

0 0x00000001080ed366 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)

1 0x000000010775a1a4 _DVTAssertionFailureHandler (in DVTFoundation)

2 0x000000010daf3cb1 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator)

3 0x000000010771ce5b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)

4 0x000000010771cc12 -[DVTStateToken pullStateFromRepository] (in DVTFoundation)

5 0x000000010803833d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit)

6 0x00000001079155f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit)

7 0x000000010771df4e DVTInvokeWithFailureHint (in DVTFoundation)

8 0x0000000107915473 -[DVTReplacementView _setupViewController] (in DVTKit)

9 0x0000000107915345 -[DVTReplacementView installedViewController] (in DVTKit)

10 0x000000010792043c -[DVTReplacementView layoutTopDown] (in DVTKit)

11 0x00000001079101c3 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

12 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

13 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

14 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

15 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

16 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

17 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

18 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

19 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

20 0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

21 0x0000000107910037 +[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit)

22 0x0000000107920028 -[DVTDelayedValidator doValidation:] (in DVTKit)

23 0x00007fff91710e18 __NSFirePerformWithOrder (in Foundation)

24 0x00007fff86786f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)

25 0x00007fff86786e96 __CFRunLoopDoObservers (in CoreFoundation)

26 0x00007fff8675c159 __CFRunLoopRun (in CoreFoundation)

27 0x00007fff8675bae6 CFRunLoopRunSpecific (in CoreFoundation)

28 0x00007fff88a773d3 RunCurrentEventLoopInMode (in HIToolbox)

29 0x00007fff88a7e63d ReceiveNextEventCommon (in HIToolbox)

30 0x00007fff88a7e4ca BlockUntilNextEventMatchingListInMode (in HIToolbox)

31 0x00007fff8bc713f1 _DPSNextEvent (in AppKit)

32 0x00007fff8bc70cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)

33 0x00007fff8bc6d62d -[NSApplication run] (in AppKit)

34 0x00007fff8beec80c NSApplicationMain (in AppKit)

35 0x00000001076eaeec (in Xcode)

36 0x0000000000000002


Dec 10, 2011 3:53 AM in response to RobinFromSeraing

I'm afraid I don't have specific ideas about the situation, the way I go about it, I would try these things:


1. Restart machine

2. Create a new/fresh user and try to start XCode from that new user account.

3. If (2) worked, delete XCode prefs/caches from your current user (something CleanApp might be able to do this).

4. ???

5. Reinstall machine 😟

xcode encountered an internal logic error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.