You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

help with xib file crashing xcode

I cant open my xib file. I always get assertion error and xcode crashes.. i use xcode4 and got it from the app store..Any help??


Its been about 3 weeks now that i have battled with this.. I have unistalled and installed..Done all sorta formats but still the xib crashed xcode when i click on it


fayimora@hotmail.co.uk


Thanks

Xcode-OTHER

Posted on Jun 2, 2011 6:34 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 27, 2011 8:29 AM

ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-301/IB Plugin/Utilities/IBObjectMarshalling.m:136

Details: Interface Builder encountered an error communicating with the iOS Simulator. "Interface Builder Cocoa Touch Tool" (29267) failed to launch and exited with status (null), signal 5. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.

Function: NSDistantObject<IBCocoaTouchToolProtocol> *IBAttachToCocoaTouchTool(IBCocoaTouchTargetRuntime *)

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

Hints: None

Backtrace:

0 0x000000010094c9c7 -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)

1 0x0000000100060738 _DVTAssertionHandler (in DVTFoundation)

2 0x0000000100070394 _DVTAssertionFailureHandler (in DVTFoundation)

3 0x0000000118d57a48 IBAttachToCocoaTouchTool (in IDEInterfaceBuilderCocoaTouchIntegration)

4 0x0000000118d575f0 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext (in IDEInterfaceBuilderCocoaTouchIntegration)

5 0x0000000118d574a5 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext (in IDEInterfaceBuilderCocoaTouchIntegration)

6 0x0000000118d56f8b IBUserPresentableStringForTargetedDeviceFamily (in IDEInterfaceBuilderCocoaTouchIntegration)

7 0x0000000118d6eff0 IBIPhoneOSSdkToDeploymentTargetMapping (in IDEInterfaceBuilderCocoaTouchIntegration)

8 0x0000000118d6f038 IBIPhoneOSSdkToDeploymentTargetMapping (in IDEInterfaceBuilderCocoaTouchIntegration)

9 0x0000000118d73a02 IBUIControlEventTypeToUIControlEventMask (in IDEInterfaceBuilderCocoaTouchIntegration)

10 0x000000011864328b -[NSView(IBViewIntegration) ibWarnings:forDocument:withComputationContext:] (in IDEInterfaceBuilderKit)

11 0x0000000118a118cf -[NSView(IBAppKitViewIntegration) ibSwizzledNSViewWarnings:forDocument:withComputationContext:] (in IDEInterfaceBuilderCocoaIntegration)

12 0x0000000118d8b589 IBUIViewSizeToFillView (in IDEInterfaceBuilderCocoaTouchIntegration)

13 0x0000000118d929bd IBMakeBarButtonItemFromPasteboardView (in IDEInterfaceBuilderCocoaTouchIntegration)

14 0x0000000118daad8f IBIsContainedBarButtonItem (in IDEInterfaceBuilderCocoaTouchIntegration)

15 0x00000001185f3d5e -[IBDocument rebuildWarnings] (in IDEInterfaceBuilderKit)

16 0x00000001185f3f85 -[IBDocument warnings] (in IDEInterfaceBuilderKit)

17 0x000000011869a0ff -[IBIssueProvider updateWarningsForOpenDocument:filePath:] (in IDEInterfaceBuilderKit)

18 0x00000001185dfd0a -[IBIssueProvider updateOpenDocuments] (in IDEInterfaceBuilderKit)

19 0x00007fff840ce36a NSKeyValueDidChange (in Foundation)

20 0x00007fff840b1a9d -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)

21 0x000000010089d576 -[IDEDocumentController addDocument:] (in IDEKit)

22 0x00000001008c4052 +[IDEDocumentController retainEditorDocument:] (in IDEKit)

23 0x00000001008c3498 +[IDEDocumentController _retainedNewEditorDocumentWithClass:ofURL:ofType:extension:error:] (in IDEKit)

24 0x00000001008c31bc -[IDEEditorContext _newEditorDocumentWithClass:ofURL:ofType:extension:] (in IDEKit)

25 0x00000001008c2d05 -[IDEEditorContext _openNavigableItem:documentExtension:] (in IDEKit)

26 0x000000010088e50f -[IDEEditorContext _openNavigableItem:] (in IDEKit)

27 0x00000001008c2033 -[IDEEditorContext _notifyDelegateAndOpenNavigableItem:documentExtensionIdentifier:locationToSelec t:annotationRepresentedObject:stateDictionary:annotationWantsIndicatorAnimation: exploreAnnotationRepresentedObject:] (in IDEKit)

28 0x00000001008be678 -[IDEEditorContext _notifyDelegateAndOpenEditorOpenSpecifier:updateHistory:] (in IDEKit)

29 0x00000001008be453 -[IDEEditorContext _openEditorOpenSpecifier:updateHistory:] (in IDEKit)

30 0x00000001008be15e -[IDEEditorContext openEditorOpenSpecifier:] (in IDEKit)

31 0x00000001008be13b -[IDEEditorModeViewController openEditorOpenSpecifier:editorContext:] (in IDEKit)

32 0x00000001008be0f9 -[IDEEditorArea _openEditorOpenSpecifier:editorContext:takeFocus:] (in IDEKit)

33 0x0000000100944bcb __108+[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeF ocus:]_block_invoke_0 (in IDEKit)

34 0x0000000100943f81 __94+[IDEEditorCoordinator _doOpenIn_NewWindow_withWorkspaceTabController:documentURL:usingBlock:]_block_i nvoke_0 (in IDEKit)

35 0x00007fff840d233c __NSFireDelayedPerform (in Foundation)

36 0x00007fff85e51be8 __CFRunLoopRun (in CoreFoundation)

37 0x00007fff85e4fdbf CFRunLoopRunSpecific (in CoreFoundation)

38 0x00007fff8054e7ee RunCurrentEventLoopInMode (in HIToolbox)

39 0x00007fff8054e5f3 ReceiveNextEventCommon (in HIToolbox)

40 0x00007fff8054e4ac BlockUntilNextEventMatchingListInMode (in HIToolbox)

41 0x00007fff8205deb2 _DPSNextEvent (in AppKit)

42 0x00007fff8205d801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)

43 0x00007fff8202368f -[NSApplication run] (in AppKit)

44 0x00007fff8201c3b0 NSApplicationMain (in AppKit)

45 0x0000000100000eec





Can someone pleaseeeee ehelp mee.e I cant even develp anything as i cant open the interface builder

18 replies
Question marked as Top-ranking reply

Jun 27, 2011 8:29 AM in response to fayimora

ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-301/IB Plugin/Utilities/IBObjectMarshalling.m:136

Details: Interface Builder encountered an error communicating with the iOS Simulator. "Interface Builder Cocoa Touch Tool" (29267) failed to launch and exited with status (null), signal 5. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.

Function: NSDistantObject<IBCocoaTouchToolProtocol> *IBAttachToCocoaTouchTool(IBCocoaTouchTargetRuntime *)

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

Hints: None

Backtrace:

0 0x000000010094c9c7 -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)

1 0x0000000100060738 _DVTAssertionHandler (in DVTFoundation)

2 0x0000000100070394 _DVTAssertionFailureHandler (in DVTFoundation)

3 0x0000000118d57a48 IBAttachToCocoaTouchTool (in IDEInterfaceBuilderCocoaTouchIntegration)

4 0x0000000118d575f0 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext (in IDEInterfaceBuilderCocoaTouchIntegration)

5 0x0000000118d574a5 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext (in IDEInterfaceBuilderCocoaTouchIntegration)

6 0x0000000118d56f8b IBUserPresentableStringForTargetedDeviceFamily (in IDEInterfaceBuilderCocoaTouchIntegration)

7 0x0000000118d6eff0 IBIPhoneOSSdkToDeploymentTargetMapping (in IDEInterfaceBuilderCocoaTouchIntegration)

8 0x0000000118d6f038 IBIPhoneOSSdkToDeploymentTargetMapping (in IDEInterfaceBuilderCocoaTouchIntegration)

9 0x0000000118d73a02 IBUIControlEventTypeToUIControlEventMask (in IDEInterfaceBuilderCocoaTouchIntegration)

10 0x000000011864328b -[NSView(IBViewIntegration) ibWarnings:forDocument:withComputationContext:] (in IDEInterfaceBuilderKit)

11 0x0000000118a118cf -[NSView(IBAppKitViewIntegration) ibSwizzledNSViewWarnings:forDocument:withComputationContext:] (in IDEInterfaceBuilderCocoaIntegration)

12 0x0000000118d8b589 IBUIViewSizeToFillView (in IDEInterfaceBuilderCocoaTouchIntegration)

13 0x0000000118d929bd IBMakeBarButtonItemFromPasteboardView (in IDEInterfaceBuilderCocoaTouchIntegration)

14 0x0000000118daad8f IBIsContainedBarButtonItem (in IDEInterfaceBuilderCocoaTouchIntegration)

15 0x00000001185f3d5e -[IBDocument rebuildWarnings] (in IDEInterfaceBuilderKit)

16 0x00000001185f3f85 -[IBDocument warnings] (in IDEInterfaceBuilderKit)

17 0x000000011869a0ff -[IBIssueProvider updateWarningsForOpenDocument:filePath:] (in IDEInterfaceBuilderKit)

18 0x00000001185dfd0a -[IBIssueProvider updateOpenDocuments] (in IDEInterfaceBuilderKit)

19 0x00007fff840ce36a NSKeyValueDidChange (in Foundation)

20 0x00007fff840b1a9d -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)

21 0x000000010089d576 -[IDEDocumentController addDocument:] (in IDEKit)

22 0x00000001008c4052 +[IDEDocumentController retainEditorDocument:] (in IDEKit)

23 0x00000001008c3498 +[IDEDocumentController _retainedNewEditorDocumentWithClass:ofURL:ofType:extension:error:] (in IDEKit)

24 0x00000001008c31bc -[IDEEditorContext _newEditorDocumentWithClass:ofURL:ofType:extension:] (in IDEKit)

25 0x00000001008c2d05 -[IDEEditorContext _openNavigableItem:documentExtension:] (in IDEKit)

26 0x000000010088e50f -[IDEEditorContext _openNavigableItem:] (in IDEKit)

27 0x00000001008c2033 -[IDEEditorContext _notifyDelegateAndOpenNavigableItem:documentExtensionIdentifier:locationToSelec t:annotationRepresentedObject:stateDictionary:annotationWantsIndicatorAnimation: exploreAnnotationRepresentedObject:] (in IDEKit)

28 0x00000001008be678 -[IDEEditorContext _notifyDelegateAndOpenEditorOpenSpecifier:updateHistory:] (in IDEKit)

29 0x00000001008be453 -[IDEEditorContext _openEditorOpenSpecifier:updateHistory:] (in IDEKit)

30 0x00000001008be15e -[IDEEditorContext openEditorOpenSpecifier:] (in IDEKit)

31 0x00000001008be13b -[IDEEditorModeViewController openEditorOpenSpecifier:editorContext:] (in IDEKit)

32 0x00000001008be0f9 -[IDEEditorArea _openEditorOpenSpecifier:editorContext:takeFocus:] (in IDEKit)

33 0x0000000100944bcb __108+[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeF ocus:]_block_invoke_0 (in IDEKit)

34 0x0000000100943f81 __94+[IDEEditorCoordinator _doOpenIn_NewWindow_withWorkspaceTabController:documentURL:usingBlock:]_block_i nvoke_0 (in IDEKit)

35 0x00007fff840d233c __NSFireDelayedPerform (in Foundation)

36 0x00007fff85e51be8 __CFRunLoopRun (in CoreFoundation)

37 0x00007fff85e4fdbf CFRunLoopRunSpecific (in CoreFoundation)

38 0x00007fff8054e7ee RunCurrentEventLoopInMode (in HIToolbox)

39 0x00007fff8054e5f3 ReceiveNextEventCommon (in HIToolbox)

40 0x00007fff8054e4ac BlockUntilNextEventMatchingListInMode (in HIToolbox)

41 0x00007fff8205deb2 _DPSNextEvent (in AppKit)

42 0x00007fff8205d801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)

43 0x00007fff8202368f -[NSApplication run] (in AppKit)

44 0x00007fff8201c3b0 NSApplicationMain (in AppKit)

45 0x0000000100000eec





Can someone pleaseeeee ehelp mee.e I cant even develp anything as i cant open the interface builder

Jun 27, 2011 11:39 AM in response to fayimora

Start by trying to narrow down the problem. First, create a new iOS application project and see if selecting the xib file from the project navigator crashes Xcode. If Xcode doesn't crash, that is evidence there was something wrong with the xib file.


If Xcode crashes when selecting a xib file on a new iOS project, try adding an application xib file to the project by choosing File > New > New File. The application xib file is in the User Interface section of the new file assistant. Select the newly created xib file to see whether or not it crashes. If Xcode doesn't crash, that is evidence there is something wrong with the xib file that is part of Apple's Xcode project templates.


If Xcode crashes when adding a xib file to your project, create a Mac Cocoa application project. Select the xib file to see if it crashes Xcode. If Xcode doesn't crash, that is evidence that something is wrong with your iOS SDK installation.


If Xcode is still crashing, quit Xcode, trash Xcode's preferences file, and restart Xcode. The Xcode preferences file is located in the following directory:


/Users/YourUsername/Library/Preferences


If trashing the preferences file doesn't stop the crashing, reinstall Xcode.

Jun 27, 2011 2:34 PM in response to Mark Szymczyk

Hello, Thanks sooooo much.. I have managed to narrow down the problem and with your specifications, the iOS SDK has a problem as the mac xib file is working just fine but not when i try the iOS..So whats the next step, how do i fix it?



EDIT:


I just looked into my SDK's folder in the developer tools and I saw this http://img828.imageshack.us/img828/1019/screenshot20110627at223.png


Does that mean that i dont even have the SDK?? IF so how did thishappen because ibought code from the app store. Nevertheless, how do i fix it?

Jun 27, 2011 3:12 PM in response to fayimora

You have the iOS SDK. If you didn't, you wouldn't be able to create an iPhone application project. The iPhone SDKs are located in /Developer/Platforms, assuming Developer is where you installed Xcode.


You should reinstall the iOS SDK. I didn't buy Xcode from the Mac App Store so I don't know if there are any differences between the App Store version and the one from the iPhone developer program, but run the Xcode installer again. When you get to the custom install section, there is an Essentials checkbox that is grayed out. Click the disclosure triangle next to the checkbox and select the iOS SDK checkbox.

help with xib file crashing xcode

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