Builder Interface Failure: Approval Message: Interface Builder Detected Error Reporting with iPhone Simulator

Yesterday I was working on an iPhone application with a tab bar when suddenly IB started crashing for the following reason:

Approval message: Interface Builder encountered an error communicating with iPhone Simulator. If you decide to record a crash report or radar for this problem, please check Console.app for crash reports for the “Interface Builder Cocoa Touch Tool” and include their contents in your crash report.

I tried to check the following:

  • start with a blank standard tab bar template. It's a failure
  • remove Xcode and that's it
  • clear the remaining old file
  • reinstall it
  • restore from an old Xcode backup

None of the above worked :( Can any of you give me some suggestion on how to proceed? I'm on Snow Leopard and use XCode 3.2.5 and SDK 4.3(no other SDK for iDevice is installed). BTW I can run Simulator without problems ...

Below is a complete trace of the exception:

06/05/11 10.07.15 Interface Builder [1804] : NO
06/05/11 10.07.15 Builder [1804] :/SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-132/IBPlugin/Utilities/IBObjectMarshalling.m
06/05/11 10.07.15 Builder [1804] : 351
06/05/11 10.07.15 Interface Builder [1804] Backtrace:
0 IBCocoaTouchPlugin 0x000000010e723907 IBMarshallObjectAndAskValueForKeyPathUsingResultMarshallerWithContext + 525
1 IBCocoaTouchPlugin 0x000000010e77911c IBIsManagedByTabBarController + 5744
2 IBCocoaTouchPlugin 0x000000010e778bc4 IBIsManagedByTabBarController + 4376
3 IBCocoaTouchPlugin 0x000000010e771e26 IBIsIBObjectURL + 25031
4 IBCocoaTouchPlugin 0x000000010e766682 IBConfigureToolbar + 25129
5 InterfaceBuilderKit 0x0000000100150151 - [IBEditor (DrawingMethods) setDecorationsNeedDisplayForObject:] + 370
6 InterfaceBuilderKit 0x000000010013fa84 - [IBEditor setShowingSelection:] + 175
7 InterfaceBuilderKit 0x000000010013f978 - [IBEditor didActivate] + 32
8 InterfaceBuilderKit 0x000000010014f847 - [IBViewEditor didActivate] + 43
9 InterfaceBuilderKit 0x00000001001ddb13 - [IBEditorManager openEditorForObject: closeSubEditors: makeKey:] + 1458
10 InterfaceBuilderKit 0x00000001001d2d4a - [IBDocument openEditorForObject: closSubEditors: makeKeyAndOrderFront:] + 432
11 InterfaceBuilderKit 0x000000010013d605 - [IBDocument openEditorForObject: makeKeyAndOrderFront:] + 27
12 InterfaceBuilderKit 0x0000000100130315 - [IBDocument makeWindowControllers] + 498
13 AppKit 0x00007fff8708b4e6 - [NSDocumentController _finishOpeningDocument: andShowWindows:] + 54
14 AppKit 0x00007fff8708ff41 - [NSDocumentController openDocumentWithContentsOfURL: display: error:] + 807
15 InterfaceBuilderKit 0x00000001001732b6 - [IBDocumentController openDocumentWithContentsOfURL: display: error:] + 717
16 AppKit 0x00007fff8708f5f2 - [NSDocumentController _openDocumentsWithContentsOfURLs: display: presentErrors:] + 3457
17 AppKit 0x00007fff86f86b3d - [NSApplication (NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 864
18 AppKit 0x00007fff86e5300d - [NSApplication (NSAppleEventHandling) _handleCoreEvent: withReplyEvent:] + 217
19 Foundation 0x00007fff82bbee42 - [NSAppleEventManager dispatchRawAppleEvent: withRawReply: handlerRefCon:] + 360
20 0x00007fff82bbec72 _NSAppleEventManagerGenericHandler + 114
21 AE 0x00007fff82074323 aeDispatchAppleEvent (AEDesc const *, AEDesc *, unsigned int, unsigned char *) + 162
22 AE 0x00007fff8207421c dispatchEventAndSendReply (AEDesc const *, AEDesc *) + 32
23 AE 0x00007fff82074123 aeProcessAppleEvent + 210
24 HIToolbox 0x00007fff80486619 AEProcessAppleEvent + 48
25 AppKit 0x00007fff86d5804b _DPSNextEvent + 1205
26 AppKit 0x00007fff86d577a9 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] + 155
27 Builder 0x00000001000038e0
28 AppKit 0x00007fff86f92c47 - [NSApplication _realDoModalLoop: peek:] + 442
29 AppKit 0x00007fff86f907d5 - [NSApplication runModalForWindow:] + 129
30 InterfaceBuilderKit 0x00000001002742f1 - [IBDetailedAlert runModal] + 74
31 Builder 0x0000000100006fbd
32 Builder 0x0000000100007023
33 IBCocoaTouchPlugin 0x000000010e721ffb IBMessageForAssertingMarshallingFailureFromException + 538
34 0x00007fff82ba832f __NSThreadPerformPerform + 219
35 CoreFoundation 0x00007fff8082c401 __CFRunLoopDoSources0 + 1361
36 CoreFoundation 0x00007fff8082a5f9 __CFRunLoopRun + 873
37 CoreFoundation 0x00007fff80829dbf CFRunLoopRunSpecific + 575
38 HIToolbox 0x00007fff804807ee RunCurrentEventLoopInMode + 333
39 HIToolbox 0x00007fff80480551 ReceiveNextEventCommon + 148
40 HIToolbox 0x00007fff804804ac BlockUntilNextEventMatchingListInMode + 59
41 AppKit0x00007fff86d57e64 _DPSNextEvent + 718
42 AppKit 0x00007fff86d577a9 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] + 155
43 Builder 0x00000001000038e0
44 AppKit 0x00007fff86f92c47 - [NSApplication _realDoModalLoop: peek:] + 442
45 AppKit 0x00007fff86f907d5 - [NSApplication runModalForWindow:] + 129
46 InterfaceBuilderKit 0x00000001002742f1 - [IBDetailedAlert runModal] + 74
47 Builder 0x0000000100006fbd
48 Builder 0x0000000100007023
49 IBCocoaTouchPlugin 0x000000010e721ffb IBMessageForAssertingMarshallingFailureFromException + 538
50 Foundation 0x00007fff82ba832f __NSThreadPerformPerform + 219
51 CoreFoundation 0x00007fff8082c401 __CFRunLoopDoSources0 + 1361
52 CoreFoundation 0x00007fff8082a5f9 __CFRunLoopRun + 873
53 CoreFoundation 0x00007fff80829dbf CFRunLoopRunSpecific + 575
54 HIToolbox 0x00007fff804807ee RunCurrentEventLoopInMode + 333
55 HIToolbox 0x00007fff80480551 ReceiveNextEventCommon + 148
56 HIToolbox 0x00007fff804804ac BlockUntilNextEventMatchingListInMode + 59
57 AppKit 0x00007fff86d57e64 _DPSNextEvent + 718
58 AppKit 0x00007fff86d577a9 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] + 155
59 Builder 0x00000001000038e0
60 AppKit 0x00007fff86f92c47 - [NSApplication _realDoModalLoop: peek:] + 442
61 AppKit 0x00007fff86f907d5 - [NSApplication runModalForWindow:] + 129
62 BuilderKit 0x00000001002742f1 - [IBDetailedAlert runModal] + 74
63 Builder 0x0000000100006fbd
64 Builder 0x0000000100007023
65 IBCocoaTouchPlugin 0x000000010e721ffb IBMessageForAssertingMarshallingFailureFromException + 538
66 Foundation 0x00007fff82ba832f __NSThreadPerformPerform + 219
67 CoreFoundation 0x00007fff8082c401 __CFRunLoopDoSources0 + 1361
68 CoreFoundation 0x00007fff8082a5f9 __CFRunLoopRun + 873
69 CoreFoundation 0x00007fff80829dbf CFRunLoopRunSpecific + 575
70 HIToolbox 0x00007fff804807ee RunCurrentEventLoopInMode + 333
71 HIToolbox 0x00007fff804805f3 ReceiveNextEventCommon + 310
72 HIToolbox 0x00007fff804804ac BlockUntilNextEventMatchingListInMode + 59
73 AppKit 0x00007fff86d57e64 _DPSNextEvent + 718
74 AppKit 0x00007fff86d577a9 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] + 155
75 Builder 0x00000001000038e0
76 AppKit 0x00007fff86f92c47 - [NSApplication _realDoModalLoop: peek:] + 442
77 AppKit 0x00007fff86f907d5 - [NSApplication runModalForWindow:] + 129
78 InterfaceBuilderKit 0x00000001002742f1 - [IBDetailedAlert runModal] + 74
79 Builder 0x0000000100006fbd
80 Builder 0x0000000100007023
81 IBCocoaTouchPlugin 0x000000010e721ffb IBMessageForAssertingMarshallingFailureFromException + 538
82 Foundation 0x00007fff82ba832f __NSThreadPerformPerform + 219
83 CoreFoundation 0x00007fff8082c401 __CFRunLoopDoSources0 + 1361
84 CoreFoundation 0x00007fff8082a5f9 __CFRunLoopRun + 873
85 CoreFoundation 0x00007fff80829dbf CFRunLoopRunSpecific + 575
86 HIToolbox 0x00007fff804807ee RunCurrentEventLoopInMode + 333
87 HIToolbox 0x00007fff80480551 ReceiveNextEventCommon + 148
88 HIToolbox 0x00007fff804804ac BlockUntilNextEventMatchingListInMode + 59
89 AppKit 0x00007fff86d57e64 _DPSNextEvent + 718
90 AppKit0x00007fff86d577a9 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] + 155
91 Builder 0x00000001000038e0
92 AppKit 0x00007fff86f92c47 - [NSApplication _realDoModalLoop: peek:] + 442
93 AppKit 0x00007fff86f907d5 - [NSApplication runModalForWindow:] + 129
94 InterfaceBuilderKit 0x00000001002742f1 - [IBDetailedAlert runModal] + 74
95 Builder 0x0000000100006fbd
96 Builder 0x0000000100007023
97 IBCocoaTouchPlugin 0x000000010e721ffb IBMessageForAssertingMarshallingFailureFromException + 538
98 IBCocoaTouchPlugin 0x000000010e723907 IBMarshallObjectAndAskValueForKeyPathUsingResultMarshallerWithContext + 525
99 IBCocoaTouchPlugin 0x000000010e77911c IBIsManagedByTabBarController + 5744
100 IBCocoaTouchPlugin 0x000000010e778bc4 IBIsManagedByTabBarController + 4376
101 IBCocoaTouchPlugin 0x000000010e771e26 IBIsIBObjectURL + 25031
102 IBCocoaTouchPlugin 0x000000010e766682 IBConfigureToolbar + 25129
103 InterfaceBuilderKit 0x0000000100150151 - [IBEditor (DrawingMethods) setDecorationsNeedDisplayForObject:] + 370
104 InterfaceBuilderKit 0x000000010013fa84 - [IBEditor setShowingSelection:] + 175
105 InterfaceBuilderKit 0x000000010013f978 - [IBEditor didActivate] + 32
106 InterfaceBuilderKit 0x000000010014f847 - [IBViewEditor didActivate] + 43
107 InterfaceBuilderKit 0x00000001001ddb13 - [IBEditorManager openEditorForObject: closeSubEditors: makeKey:] + 1458
108 InterfaceBuilderKit 0x00000001001d2d4a - [IBDocument openEditorForObject: closSubEditors: makeKeyAndOrderFront:] + 432
109 InterfaceBuilderKit 0x000000010013d605 - [IBDocument openEditorForObject: makeKeyAndOrderFront:] + 27
110 InterfaceBuilderKit 0x0000000100130315 - [IBDocument makeWindowControllers] + 498
111 AppKit 0x00007fff8708b4e6 - [NSDocumentController _finishOpeningDocument: andShowWindows:] + 54
112 AppKit 0x00007fff8708ff41 - [NSDocumentController openDocumentWithContentsOfURL: display: error:] + 807
113 InterfaceBuilderKit 0x00000001001732b6 - [IBDocumentController openDocumentWithContentsOfURL: display: error:] + 717
114 AppKit 0x00007fff8708f5f2 - [NSDocumentController _openDocumentsWithContentsOfURLs: display: presentErrors:] + 3457
115 AppKit 0x00007fff86f86b3d - [NSApplication (NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 864
116 AppKit 0x00007fff86e5300d - [NSApplication (NSAppleEventHandling) _handleCoreEvent: withReplyEvent:] + 217
117 Foundation 0x00007fff82bbee42 - [NSAppleEventManager dispatchRawAppleEvent: withRawReply: handlerRefCon:] + 360
118 0x00007fff82bbec72 _NSAppleEventManagerGenericHandler + 114
119 AE 0x00007fff82074323 aeDispatchAppleEvent (AEDesc const *, AEDesc *, unsigned int, unsigned char *) + 162
120 AE 0x00007fff8207421c dispatchEventAndSendReply (AEDesc const *, AEDesc *) + 32
121 AE 0x00007fff82074123 aeProcessAppleEvent + 210
122 HIToolbox 0x00007fff80486619 AEProcessAppleEvent + 48
123 AppKit 0x00007fff86d5804b _DPSNextEvent + 1205
124 AppKit 0x00007fff86d577a9 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] + 155
125 Builder 0x00000001000038e0
126 AppKit 0x00007fff86d1d48b - [NSApplication run] + 395
127 AppKit 0x00007fff86d161a8 NSApplicationMain + 364
128 Builder 0x0000000100001c44


06/05/11 10.07.15 Interface Builder [1804] : Builder , iPhone Simulator. , , Console.app "Interface Builder Cocoa Touch Tool" .

FramesArray IBUITabBar.

: NSObjectInaccessibleException : NSDistantObject (0x10f401430) ( ) : () : (null)

+3
2

discussion

SDK. , SDK ( OS/X). , . . , Mac , . , , , SDK.

  • SDK sudo /Developer/Library/ -DevTools --mode = .
  • .
  • .
  • - 10.5.6 Apple.
  • SDK
+1

: , , iOS 4.0 iOS 4.3, Base SDK 5.0.

0

All Articles