Interface Builder Assertion Failure at initialization/startup

Interface Builder appears to be unusable...
I get four (4) alert messages at the start of running Interface Builder:
====
Interface Builder encountered an internal logic error. Choose "Continue" to continue running Interface Builder in an inconsistent state. Choose "Crash" to halt Interface Builder and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.
====
Selecting (Show Details) I get:
====
Assertion Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
IBUIViewImageRequester failed to rasterize a UILabel, UIButton, UITextField, and UISegmentedControl.
Exception name: NSInternalInconsistencyException
Exception reason: [NOTE: this exception originated in the server.]
Invalid parameter not satisfying: font != nil
Exception backtrace:
0. CoreFoundation 0x30279dfb [NSException initWithName:reason:userInfo:]
1. libobjc.A.dylib 0x92750e3b objcexceptionthrow
2. CoreFoundation 0x3028e5fb CFReadStreamGetBuffer
3. Foundation 0x305b0594 [NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4. UIKit 0x309fe074 [UILabel setFont:]
5. UIKit 0x309fec08 [UILabel _commonInit]
6. UIKit 0x309fd13c [UILabel initWithFrame:]
7. Interface Builder Cocoa Touch Tool 0x00008655 [UIView initWithMarshalledValues:orderedKeys:marshallerClassNames:andMarshallerInstanti ationContexts:globalMarshallingContext:]
8. Interface Builder Cocoa Touch Tool 0x0000b307 [IBCocoaTouchToolObjectPackage dealloc]
9. Interface Builder Cocoa Touch Tool 0x0000b80f [IBCocoaTouchToolObjectPackage initWithData:]
10. Interface Builder Cocoa Touch Tool 0x0000a5a1 [IBCocoaTouchToolObjectPackage dealloc]
11. Interface Builder Cocoa Touch Tool 0x00002c74 [IBCocoaTouchTool produceImageForRequest:]
12. Interface Builder Cocoa Touch Tool 0x00002445 [IBCocoaTouchTool produceImagesForRequests:]
13. CoreFoundation 0x3024a10d CF_forwarding_prep0
14. CoreFoundation 0x30249ff8 [NSInvocation invoke]
15. CoreFoundation 0x3026eaf8 [NSInvocation invokeWithTarget:]
16. CoreFoundation 0x3026e094 [NSDate initWithTimeIntervalSinceNow:]
17. CoreFoundation 0x3024a0a2 CF_forwarding_prep0
18. CoreFoundation 0x3024a10d CF_forwarding_prep0
19. CoreFoundation 0x30249ff8 [NSInvocation invoke]
20. Foundation 0x3053e15d [NSConnection dispatchInvocation:]
21. Foundation 0x3053c307 [NSConnection handleRequest:sequence:]
22. Foundation 0x3053ba13 [NSConnection handlePortCoder:]
23. Foundation 0x3053b5be [NSConcretePortCoder dispatch]
24. Foundation 0x3053ae33 [NSDOStreamData bytes]
25. CoreFoundation 0x30246e79 CFRunLoopRemoveObserver
26. CoreFoundation 0x30245560 CFRunLoopRunSpecific
27. CoreFoundation 0x30244628 CFRunLoopRunInMode
28. Foundation 0x30535525 [NSRunLoop runMode:beforeDate:]
29. Interface Builder Cocoa Touch Tool 0x000020af [IBCocoaTouchTool startServingForPortName:]
30. Interface Builder Cocoa Touch Tool 0x00002e77 [IBCocoaTouchTool produceImageForRequest:]
Exception info:{
Backtrace:
0. Interface Builder 0x00004d29 [IBApplication handleAssertion:inFile:onLine:]
1. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
2. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
3. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
4. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
5. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
6. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
7. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
8. AppKit 0x906e4d0d _DPSNextEvent
9. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
10. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
11. AppKit 0x9092192b [NSApplication _realDoModalLoop:peek:]
12. AppKit 0x9091c069 [NSApplication runModalForWindow:]
13. InterfaceBuilderKit 0x00382511 [IBDetailedAlert runModal]
14. Interface Builder 0x00004dd6 [IBApplication handleAssertion:inFile:onLine:]
15. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
16. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
17. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
18. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
19. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
20. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
21. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
22. AppKit 0x906e4d0d _DPSNextEvent
23. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
24. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
25. AppKit 0x9092192b [NSApplication _realDoModalLoop:peek:]
26. AppKit 0x9091c069 [NSApplication runModalForWindow:]
27. InterfaceBuilderKit 0x00382511 [IBDetailedAlert runModal]
28. Interface Builder 0x00004dd6 [IBApplication handleAssertion:inFile:onLine:]
29. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
30. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
31. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
32. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
33. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
34. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
35. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
36. AppKit 0x906e4d0d _DPSNextEvent
37. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
38. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
39. AppKit 0x9092192b [NSApplication _realDoModalLoop:peek:]
40. AppKit 0x9091c069 [NSApplication runModalForWindow:]
41. InterfaceBuilderKit 0x00382511 [IBDetailedAlert runModal]
42. Interface Builder 0x00004dd6 [IBApplication handleAssertion:inFile:onLine:]
43. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
44. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
45. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
46. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
47. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
48. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
49. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
50. AppKit 0x906e4d0d _DPSNextEvent
51. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
52. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
53. AppKit 0x906dd5fb [NSApplication run]
54. AppKit 0x906aa834 NSApplicationMain
55. Interface Builder 0x00004eca [IBApplication changeInspectorMode:]
====
If I press (Continue) and then try to create any fields which need text, such as a label or button, I get the exact same alert window, and nothing "appears to work" as far as getting past this.
Some background...
I have no problems like this on my PPC development platform, just on my Intel-based system.
Configuration:
Intel hardware, 1.6 Ghz, 2GB, Mac OS/X 10.5.7
Originally I installed the the devtools from: xcode3122621developerdvd.dmg
and the 2.0 or 2.1 iPhone SDK, but never used Interface Builder (long story)
When the final SDK for 3.0 came out, I installed that from:
iphonesdk_3.0_leopard_9m2736final.dmg
A few days ago, I said, OK, enough reading, I'm ready to start on my application, and fired up Xcode, created a new project and double-clicked on the .xib file to build my interface.
That's when I first saw this problem... and now I'm stuck.
What I've done since...
#1) Deleted prefs for Interface Builder (ibtool), and XCode
retried... same error
#2) wiped /developer clean and resinsatlled from iphonesdk_3.0_leopard_9m2736final.dmg
retried... same error
retried #1, retried, same error
#3) ran /Volumes/Olórin/Developer/Library/uninstall-devtools --mode=all
rebooted
checked international to make sure US/English was selected
repaired disk permissions
rebooted
verified, no prefs files in ~/Library/Preferences or /Library/Preferences
retried... same error
HELP!!!

! ! ! - O M G - ! ! !
{quote:title=reststop wrote:}
#3) ran /Volumes/Olórin/Developer/Library/uninstall-devtools --mode=all
{quote}
I was about to post a reply which included the entire crash log for details... and saw this line:
7/21/09 12:44:16 AM [0x0-0x28028].com.apple.InterfaceBuilder3[269] Couldn't read font cache (file://localhost/Volumes/Olo%C3%83%C3%85rin/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0. sdk/System/Library/.lilid/.lili).
The file is there, so why can't it read it... uh oh, not exactly
... I typed /Olórin/ not /Olo%C3%83%C3%83rin/
Apparently somewhere internal to Interface Builder, when it translates characters, it does it TWICE,
so instead of 'ó' (that's 'option-e o', we have 'o%C3%83%C3%83' which may have worked if it had
only been '%C3%83', without the extra o, or the extra %C3%83.
I am so glad I found this, but I'm furious at Apple for making me rebuild my development system 3 times!
...someone really needs to do better QA on a product used by so many users.
I changed the name of my disk from Olórin to Olorin and Interface Builder works fine!
The PROBLEM all along was the name of my development disk ! ! !
Someone at Apple, please NOTE!
Someone please tell me how to report this, and maybe get Apple to hire me even if just for better QA!
-Carl

Similar Messages

  • Interface Builder Crash on Startup

    Hi,
    I have installed the latest XCode 3.2.1 and the iPhone SDK for the first time two weeks ago. Right after installation, the Interface Builder has begun coming up with at least one popup window "Assertion failure". Sometimes there are up to 10 popup windows. When i click on the first one to "continue", the others disappear and only one remains (guess that is a new failure then).
    I have already uninstalled XCode, renamed Developer folder and reinstalled, but still the exact same problem.
    I'll simply post the stacktrace of the first message:
    Assertion Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    IBUIViewImageRequester failed to rasterize a UITabBar and UIToolbar.
    Exception name: NSInvalidSendPortException
    Exception reason: [NSMachPort sendBeforeDate:] destination port invalid
    Exception backtrace:
    (null)
    Exception info:(null)
    Thread 0 Asserted:
    0 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    1 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    2 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    3 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    4 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    5 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    6 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    7 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    8 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    9 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    10 Interface Builder 0x00000001000033b8
    11 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    12 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    13 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    14 Interface Builder 0x0000000100007167
    15 Interface Builder 0x00000001000071e0
    16 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    17 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    18 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    19 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    20 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    21 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    22 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    23 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    24 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    25 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    26 Interface Builder 0x00000001000033b8
    27 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    28 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    29 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    30 Interface Builder 0x0000000100007167
    31 Interface Builder 0x00000001000071e0
    32 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    33 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    34 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    35 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    36 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    37 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    38 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    39 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    40 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    41 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    42 Interface Builder 0x00000001000033b8
    43 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    44 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    45 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    46 Interface Builder 0x0000000100007167
    47 Interface Builder 0x00000001000071e0
    48 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    49 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    50 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    51 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    52 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    53 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    54 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    55 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    56 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    57 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    58 Interface Builder 0x00000001000033b8
    59 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    60 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    61 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    62 Interface Builder 0x0000000100007167
    63 Interface Builder 0x00000001000071e0
    64 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    65 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    66 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    67 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    68 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    69 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    70 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    71 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    72 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    73 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    74 Interface Builder 0x00000001000033b8
    75 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    76 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    77 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    78 Interface Builder 0x0000000100007167
    79 Interface Builder 0x00000001000071e0
    80 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    81 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    82 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    83 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    84 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    85 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    86 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    87 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    88 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    89 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    90 Interface Builder 0x00000001000033b8
    91 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    92 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    93 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    94 Interface Builder 0x0000000100007167
    95 Interface Builder 0x00000001000071e0
    96 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    97 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    98 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    99 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    100 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    101 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    102 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    103 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    104 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    105 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    106 Interface Builder 0x00000001000033b8
    107 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    108 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    109 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    110 Interface Builder 0x0000000100007167
    111 Interface Builder 0x00000001000071e0
    112 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    113 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    114 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    115 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    116 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    117 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    118 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    119 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    120 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    121 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    122 Interface Builder 0x00000001000033b8
    123 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    124 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    125 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    126 Interface Builder 0x0000000100007167
    127 Interface Builder 0x00000001000071e0
    128 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    129 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    130 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    131 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    132 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    133 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    134 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    135 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    136 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    137 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    138 Interface Builder 0x00000001000033b8
    139 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    140 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    141 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    142 Interface Builder 0x0000000100007167
    143 Interface Builder 0x00000001000071e0
    144 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    145 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    146 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    147 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    148 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    149 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    150 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    151 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    152 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    153 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    154 Interface Builder 0x00000001000033b8
    155 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    156 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    157 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    158 Interface Builder 0x0000000100007167
    159 Interface Builder 0x00000001000071e0
    160 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    161 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    162 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    163 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    164 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    165 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    166 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    167 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    168 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    169 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    170 Interface Builder 0x00000001000033b8
    171 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    172 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    173 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    174 Interface Builder 0x0000000100007167
    175 Interface Builder 0x00000001000071e0
    176 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    177 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    178 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    179 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    180 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    181 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    182 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    183 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    184 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    185 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    186 Interface Builder 0x00000001000033b8
    187 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
    188 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
    189 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
    190 Interface Builder 0x0000000100007167
    191 Interface Builder 0x00000001000071e0
    192 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
    193 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
    194 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
    195 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
    196 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
    197 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
    198 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
    199 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
    200 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
    201 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    202 Interface Builder 0x00000001000033b8
    203 AppKit 0x00007fff87fb3a7d -[NSApplication run] + 395
    204 AppKit 0x00007fff87fac798 NSApplicationMain + 364
    205 Interface Builder 0x00000001000016a5
    206 Interface Builder 0x0000000100001634
    207 ???
    Can you help me?
    Thanks in Advance,
    Manuel M.

    I've also had the same problem since updating to Snow Leopard. Actually, to be more specific, Interface Builder would sometimes hang completely but after killing it, I would then get the 4 (or more) Assertion failure dialog boxes. This sounds like what you're experiencing.
    At the risk of passing along bad information, I did find this and it solved the problem for me: http://www.cocoabuilder.com/archive/message/xcode/2009/10/20/31402
    I renamed the version of the file located in /usr/local/lib and now IB seems to be working.
    If you decide to try this please make sure to just rename the file. Even if I was an expert at troubleshooting IB (which I'm not) there's no crash log here to look at so you might have a different problem. I don't want to suggest something and wreck your system further.

  • Interface Builder encountered an error communicating with the iPhone Simulator

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work. 
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    What can I do  ? Thank you very much!!!

    I found this on stack overflow.com and thought it would apply to this article discussion for some users even though I don't understand how to revert the version (through git?)
    I think this is a compatibility issue. I think the .xib has moved to Xcode 4 (as shown by the line setenv IBC_MINIMUM_COMPATIBILITY_VERSION 4.2) which Xcode 3.2's version of ibtooldoes not understand.
    I think you need to revert to a version of the .xib prior to the update to Xcode 4.""

  • Interface Builder encountered an error communicating with the iPhone Simula

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work.
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)
    /* com.apple.ibtool.errors */
    /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)

    I'm using 10.6.4 and having the same issue. Reinstalled the newest SDK a few times (Xcode 3.2.4 with 4.1 of the iOS SDK). I can't build anything to run on the iPhone Simulator, but building regular Mac apps works fine. Here's what it tells me when I try to build and run:
    CompileXIB MainWindow.xib
    cd /Users/myusername/Development/iTennis
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/myusername/Development/iTennis/build/Debug-iphonesimulator/iTennis.app/M ainWindow.nib /Users/myusername/Development/iTennis/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-10-26 17:07:21.838 ibtool[1428:607] Assertion Failure: [toolTask isRunning]
    2010-10-26 17:07:21.934 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:21.934 ibtool[1428:607] Line: 140
    2010-10-26 17:07:22.016 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383ddcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x000000010383be9f IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.017 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-10-26 17:07:22.018 ibtool[1428:607] Assertion Failure: NO
    2010-10-26 17:07:22.018 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:22.018 ibtool[1428:607] Line: 351
    2010-10-26 17:07:22.019 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383bf62 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.020 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)
    /* com.apple.ibtool.errors */
    /Users/myusername/Development/iTennis/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)

  • Interface builder storyboard compile issue (upgraded to IOS 6)

    hi all,
    just upgrade to IOS 6, could not run my project with the following error:
    CompileStoryboard Storyboard.storyboard
        cd /Users/chunsu/Desktop/project-y/WhackwhoNew
        setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 5.1
        setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/b in:/usr/sbin:/sbin"
        setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/chunsu/Library/Developer/Xcode/DerivedData/WhackwhoNew-fkfvwcrgzokycpfkm aqsdmeqqese/Build/Products/Debug-iphonesimulator/WhackwhoNew.app/Storyboard.stor yboardc /Users/chunsu/Desktop/project-y/WhackwhoNew/Storyboard.storyboard --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/SDKs/iPhoneSimulator6.0.sdk
    2012-09-23 12:02:37.364 Interface Builder Cocoa Touch Tool[3213:f07] CFPreferences: user home directory at file://localhost/Users/chunsu/Library/Application%20Support/iPhone%20Simulator/ User/ is unavailable. User domains will be volatile.2012-09-23 12:02:38.855 ibtoold[3212:707] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-1926/I BPlugin/Utilities/IBObjectMarshalling.m:651Details:  Failed to compile nib consisting of IBProxyObject, IBProxyObject, IBProxyObject, IBUIButton, IBUIButton, IBUITextField, IBUITextField, and IBUIView.Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.Exception name: The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)Exception reason: (null)Exception backtrace:(null)Exception info:{    IBUnderlyingError = "Error Domain=IBMessageChannelErrorDomain Code=1 \"The operation couldn\U2019t be completed. (IBMessageChannelErrorDomain error 1.)}Function: void IBAssertMarshallingFailure(NSString *, NSString *)Thread:   <NSThread: 0x40030a260>{name = (null), num = 1}Hints: NoneBacktrace:  0  0x0000000107be8643 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundatio  1  0x0000000107be820d _DVTAssertionHandler (in DVTFoundatio  2  0x0000000107be82a5 _DVTAssertionFailureHandler (in DVTFoundatio  3  0x000000010aeaf5e0 IBAssertMarshallingFailure (in IDEInterfaceBuilderCocoaTouchIntegratio  4  0x000000010af44aaa (in IDEInterfaceBuilderCocoaTouchIntegratio  5  0x000000010af44c3a (in IDEInterfaceBuilderCocoaTouchIntegratio  6  0x000000010af4ee33 (in IDEInterfaceBuilderCocoaTouchIntegratio  7  0x000000010af51f58 (in IDEInterfaceBuilderCocoaTouchIntegratio  8  0x000000010af52c76 (in IDEInterfaceBuilderCocoaTouchIntegratio  9  0x00000001073e5e8c IBWithAutoInvalidationPool (in IDEInterfaceBuilderKi 10  0x000000010af52a28 (in IDEInterfaceBuilderCocoaTouchIntegration 11  0x000000010af422e7 (in IDEInterfaceBuilderCocoaTouchIntegration 12  0x0000000107221745 __47-[IBDocument compiledPackageWithOptions:error:]_block_invoke_0 (in IDEInterfaceBuilderKit 13  0x00000001072389a1 -[IBDocument assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit 14  0x0000000107221710 -[IBDocument compiledPackageWithOptions:error:] (in IDEInterfaceBuilderKit 15  0x0000000107122f90 (in ibtoold 16  0x00000001071200e8 (in ibtoold 17  0x000000010711fc5f (in ibtoold 18  0x000000010711fb53 (in ibtoold 19  0x000000010712c165 (in ibtoold 20  0x000000010711f684 (in ibtoold 21  0x00000001071208f1 (in ibtoold 22  0x000000010711e524 (in ibtoold 23  0x000000000000000Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/usr/bin/ibtool failed with exit code 255
    is anyone know how to fix?
    thanks!

    CFPreferences: user home directory at file://localhost/Users/chunsu/Library/Application%20Support/iPhone%20Simulator/ User/ is unavailable
    So does that folder exist? It does on my disk.
    I assume you have tried a Product > Clean then Build.

  • Cannot open nib - The application Interface Builder quit unexpectedly

    Just installed the iPhone SDK and installed sample code. The Interface Builder will not start. At startup, the following message is displayed: "The application Interface Builder quit unexpectedly."
    I've tried the standard Xcode SDK and it has the same problem. I've repaired permissions on the disk, to no avail. I'm stumped on this. Thanks for any suggestions.
    Here's the first section of the crash report, showing the builds for Interface builder and Mac OS X (10.5.6).
    Process: Interface Builder 8090
    Path: /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
    Identifier: com.apple.InterfaceBuilder3
    Version: 3.1.2 (677)
    Build Info: InterfaceBuilder-6770000~1
    Code Type: X86 (Native)
    Parent Process: launchd 137
    Date/Time: 2009-01-03 19:29:24.618 -0700
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000011
    Crashed Thread: 0
    Thread 0 Crashed:
    0 com.apple.CoreFoundation 0x910272b4 CFRetain + 36
    1 com.apple.HIToolbox 0x911ff566 TThemeFont::SetCTFont(__CTFont const*) + 62
    2 com.apple.HIToolbox 0x911ff4f4 TThemeSpecifiedFont::Init(THIThemeTextInfo const*) + 32
    3 com.apple.HIToolbox 0x9110ccb3 ThemeFontCreate(THIThemeTextInfo const*) + 239
    4 com.apple.HIToolbox 0x9110cb85 TThemeText::ConstructThemeFontWithFontID(__CFString const*, THIThemeTextInfo const*) + 79
    5 com.apple.HIToolbox 0x9110ca49 TCoreTextEngine::Init(void const*, THIThemeTextInfo const*) + 159
    6 com.apple.HIToolbox 0x9110c781 TThemeTextCache::Create(void const*, THIThemeTextInfo const*) + 177
    7 com.apple.HIToolbox 0x9110c659 ThemeTextCreate(void const*, THIThemeTextInfo const*) + 33
    8 com.apple.HIToolbox 0x9110c3b5 DataEngine::GetTextDimensions(void const*, float, HIThemeTextInfo*, float*, float*, float*) + 289
    9 com.apple.HIToolbox 0x9110c250 HIThemeGetTextDimensions + 202
    10 com.apple.HIToolbox 0x912abbad HIClockView::CalculateTextDimensions() + 133
    11 com.apple.HIToolbox 0x912abd82 HIClockView::GetOptimalSizeSelf(CGSize*, float*) + 118
    12 com.apple.HIToolbox 0x9114852d HIView::SendGetOptimalBounds(CGRect*, float*) + 151
    13 com.apple.HIToolbox 0x9114846d HIView::GetOptimalSize(CGSize*, float*) + 53
    14 com.apple.HIToolbox 0x9119bd85 GetBestControlRect + 105
    15 ...terfaceBuilder.CarbonPlugin 0x162f127a IBWindowForHostingCarbonControls + 9638
    16 ...terfaceBuilder.CarbonPlugin 0x162f1b1f IBWindowForHostingCarbonControls + 11851
    17 ...terfaceBuilder.CarbonPlugin 0x162f2766 IBWindowForHostingCarbonControls + 14994
    18 ...terfaceBuilder.CarbonPlugin 0x162f37c8 IBWindowForHostingCarbonControls + 19188
    19 ...terfaceBuilder.CarbonPlugin 0x162eb17a 0x162e5000 + 24954
    20 com.apple.InterfaceBuilderKit 0x002c65e0 -IBLibraryObjectTemplate classesOfPasteboardObjects + 194
    21 com.apple.InterfaceBuilderKit 0x002c64b9 -IBLibraryController typeSummaryForObjectTemplate: + 106
    22 com.apple.InterfaceBuilderKit 0x002c5fc4 -IBLibraryController createAssetForTemplate:inNamespace: + 554
    23 com.apple.InterfaceBuilderKit 0x002c4fe3 -IBLibraryController createAssetsFromTemplatesInNibNamed:forPlugin: + 746
    24 com.apple.InterfaceBuilderKit 0x002c499e -IBLibraryController loadLibraryObjectsForPlugin: + 287
    25 com.apple.InterfaceBuilderKit 0x002c414e -IBPlugin didLoad + 480
    26 ...terfaceBuilder.CarbonPlugin 0x162ea66f 0x162e5000 + 22127
    27 com.apple.InterfaceBuilderKit 0x002c389f -IBPluginController loadPluginAtPath:error: + 2809
    28 com.apple.InterfaceBuilder3 0x00002345 0x1000 + 4933
    29 com.apple.AppKit 0x91f983a3 -NSApplication run + 83
    30 com.apple.AppKit 0x91f658a4 NSApplicationMain + 574
    31 com.apple.InterfaceBuilder3 0x00004eca 0x1000 + 16074

    Thanks for asking. It happens when I click the "Interface builder.app" name in finder and when I double-click an .xib file name in finder.
    As I mentioned, I have repaired permissions on the drive to no avail. I have also read older posts on the web referring to various preference plist files but those don't exist with this build of xcode.
    I have also had older builds of xcode on this mbp and worked thru a couple of tutorials. Interface Builder from those older builds worked. I'm not sure were to get them, now, and I doubt they would have the iphone sdk included.

  • How to instantiate a control in code instead of using Interface Builder ?

    I really appreciate the combination of the interface builder and Xcode altogether.
    However when I am learning QT, I realize I had been pampered by Apple's Design to a certain extend as I only need to create say a NSLabel instance and use Interface Builder to do the linking and never have to worry about instantiating the Object myself.
    But I'm curious, what is the way to instantiate a new hmmm say...NSLabel in the code ?
    NSLabel* label = new NSLabel();
    Then what ?
    What you are seeing here is how QT did it, could anyone create an equivalent in ObjC ? No fancy code please, just bare minimum.
    #include <QApplication>
    #include <QWidget>
    #include <QLabel>
    int main (int argc, char * argv [ ])
    QApplication app(argc, argv); //NSApplication in ObjC
    //These two lines merely created a window and set the title bar text.
    QWidget* window = new QWidget();
    window->setWindowTitle("Hello World");
    QLabel* label = new QLabel(window);//Create a label and inform the it belongs to window.
    label->setText("Hello World");
    window->show();
    return app.exec();
    Message was edited by: Bracer Jack

    Hi Jack -
    I think my best answer will be something of a disappointment, because I don't know how to show a one-to-one correspondence between the code you're working with and a Cocoa program. The main function of a Cocoa GUI program for OS X will look something like this:
    #import <Cocoa/Cocoa.h>
    int main(int argc, char *argv[])
    return NSApplicationMain(argc, (const char **) argv);
    As you commented, we could draw a correspondence between the first statements, but after that the functionality of the Cocoa program is going to be spread out in a way that makes for a rather tedious comparison. The only way I know to answer your question in less than 5000 words, is to skip ahead to one of several points in the startup sequence where the programmer can intervene with custom code.
    For example, a common way to get control would be to program a custom controller class and add an object of that class to the main nib file which is loaded during the startup sequence. By making a connection to the Application object in that nib file, the custom object could be made the delegate of the Application object, and if we then added a method named applicationDidFinishLaunching, our code would run as soon as the application's run loop was started.
    Now I finally have enough context to directly answer your question, so here is the code to create a label and add it to the key window at launch time:
    // MyAppController.m
    #import "AppController.h"
    @implementation AppController
    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    NSLog(@"applicationDidFinishLaunching");
    NSRect frameRect = NSMakeRect(150, 300, 150, 30);
    NSTextField *label = [[NSTextField alloc] initWithFrame:frameRect];
    [label setEditable:NO];
    [label setStringValue:@"Hello World!"];
    [label setFont:[NSFont labelFontOfSize:20]];
    [label setAlignment:NSCenterTextAlignment];
    NSView *contentView = [self.window contentView];
    [contentView addSubview:label];
    @end
    If I needed to develop a worst case scenario for this thread, the next question would be, "Ok sure, but your code still needs a nib to start up. I want to see a Cocoa GUI program that doesn't require any nib".
    It turns out that it's quite easy to build a simple iPhone app without any nib, but it's considerably more difficult for an OS X app. If anyone wants to see my nib-less iPhone code, I'll be happy to post it (I think I did post it here once before, and the response was underwhelming). But I've never attempted the much more difficult nib-less OS X app. Just in case you really want to go there, here's a blog that goes into the details: [http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-re cent-menu>.
    Hope some of the above is helpful!
    - Ray

  • FlexUnit 4 assert failures have "explosive" stack traces

    With FlexUnit 4 in Flash Builder 4 Plugin Beta, I created 1 suite with 1 class with 1 default failing test method. When I ran it, the assert failure had a call stack 60 methods high. Is this a bug?
    The stack trace has several "async" methods, e.g. applyExplosivelyAsync(). This seems strange because  I'm not using async at all. Is this intended behavior?
    Robert
    Test method Not yet implemented
           at flexunit.framework::Assert$/
    fail()[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\fluint\FlexU nit1Lib\src\flexunit\framework\Assert.as:370]
            at WidgetTest/testWidget()[C:\Users\robert.penner\Adobe Flash Builder
    Plug-in Beta 2\TestProject\src\WidgetTest.as:20]
            at Function/http://adobe.com/AS3/2006/builtin::apply()
            at flex.lang.reflect::Method/apply()[C:\Users\mlabriola\Documents\workspaces\net\digitalprim ates\opensource\flexunit\FlexUnit4\src\flex\lang\reflect\Method.as:124]
            at ReflectiveCallable/run()[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\open source\flexunit\FlexUnit4\src\org\flexunit\runners\model\FrameworkMethod.as:214]
            at org.flexunit.runners.model::FrameworkMethod/applyExplosivelyAsync()[C:\Users\mlabriola\Do cuments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runn ers\model\FrameworkMethod.as:121]
            at org.flexunit.runners.model::FrameworkMethod/invokeExplosivelyAsync()[C:\Users\mlabriola\D ocuments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\run ners\model\FrameworkMethod.as:132]
            at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\statements\InvokeMethod.as:52]
            at org.flexunit.internals.runners.statements::StackAndFrameManagement/evaluate()[C:\Users\ml abriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\fle xunit\internals\runners\statements\StackAndFrameManagement.as:94]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()[C:\Users\mlabriola\Documents\w orkspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\Block FlexUnit4ClassRunner.as:104]
            at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\ChildRunnerSequencer.as:49]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::ParentRunner/run()[C:\Users\mlabriola\Documents\workspaces\net\digi talprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\ParentRunner.as:315]
            at org.flexunit.runners::Suite/runChild()[C:\Users\mlabriola\Documents\workspaces\net\digita lprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\Suite.as:59]
            at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\ChildRunnerSequencer.as:49]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::ParentRunner/run()[C:\Users\mlabriola\Documents\workspaces\net\digi talprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\ParentRunner.as:315]
            at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()[C:\Users\mlabriola\Documents\wor kspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runner\FlexUnit Core.as:177]
            at org.flexunit.token::AsyncListenersToken/sendReady()[C:\Users\mlabriola\Documents\workspac es\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncListeners Token.as:59]
            at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()[C:\U sers\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\ org\flexunit\runner\notification\async\AsyncListenerWatcher.as:87]
            at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()[C:\Use rs\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\or g\flexunit\runner\notification\async\AsyncListenerWatcher.as:97]
            at flash.events::EventDispatcher/dispatchEventFunction()
            at flash.events::EventDispatcher/dispatchEvent()
            at flexunit.flexui::FlexUnit4TestRunner/handleConnect()[C:\work\flex\ide_builder\com.adobe.f lexbuilder.flexunit\flexunitframework\src\flexunit\flexui\FlexUnit4TestRunner.as:296]
            at flash.events::EventDispatcher/dispatchEventFunction()
            at flash.events::EventDispatcher/dispatchEvent()
            at flash.net::XMLSocket/reflectEvent()

    Not a bug and fully expected behavior.
    FlexUnit 4 is really just a collection of runners that can handle just about anything that is thrown at it as well as handle any pluggable runners that others write. The level of extensibility comes with some complexity. So, by the time that single method of yours is executed, there are actually probably a hundreds methods in the framework for getting everything setup, inspected and ready to go.
    The stacktrace always looks up the stack from your failure to the last point where a particular chunk of code execution began, so the 60 is basically just that number of methods. There isn't a whole lot that can be done about it save for eventually provinding filtering to eliminate showing some of our stuff and making the track more legible.
    Regarding the async thing, your method isn't async but FlexUnit4 is. Inside of the Flash Player we are operating on frames. We don't have the luxury of threads and the like that Java has, so we have to handle the possibility that something might be async on a much deeper level. We also do something called green threading where we actually watch how much time we take in execution. Once we have taken 90% ish of the time available in a given frame, we wait until the next one before we begin executing again. This allows us to run long and compelx test suites without getting a timeout from the flash player (which happens if any single frame takes longer than 15 seconds to execute). So, even though your method isn't doing anything async, all of these other pieces have to account for the chance that something will be. Hence the reason that you see async pieces in the stack trace.
    Hope that helps,
    Mike

  • The application Interface Builder quit unexpectedly

    Just installed the iPhone SDK and installed sample code. The Interface Builder will not start. At startup, the following message is displayed: "The application Interface Builder quit unexpectedly." I've tried the standard Xcode SDK and the interface builder has the same problem. I've repaired permissions on the disk, to no avail. I'm stumped on this.
    Here's the first section of the crash report, showing the builds for Interface builder and Mac OS (10.5.6).
    Process: Interface Builder [8090]
    Path: /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
    Identifier: com.apple.InterfaceBuilder3
    Version: 3.1.2 (677)
    Build Info: InterfaceBuilder-6770000~1
    Code Type: X86 (Native)
    Parent Process: launchd [137]
    Date/Time: 2009-01-03 19:29:24.618 -0700
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000011
    Crashed Thread: 0
    Thread 0 Crashed:
    0 com.apple.CoreFoundation 0x910272b4 CFRetain + 36
    1 com.apple.HIToolbox 0x911ff566 TThemeFont::SetCTFont(__CTFont const*) + 62
    2 com.apple.HIToolbox 0x911ff4f4 TThemeSpecifiedFont::Init(THIThemeTextInfo const*) + 32
    3 com.apple.HIToolbox 0x9110ccb3 ThemeFontCreate(THIThemeTextInfo const*) + 239
    4 com.apple.HIToolbox 0x9110cb85 TThemeText::ConstructThemeFontWithFontID(__CFString const*, THIThemeTextInfo const*) + 79
    5 com.apple.HIToolbox 0x9110ca49 TCoreTextEngine::Init(void const*, THIThemeTextInfo const*) + 159
    6 com.apple.HIToolbox 0x9110c781 TThemeTextCache::Create(void const*, THIThemeTextInfo const*) + 177
    7 com.apple.HIToolbox 0x9110c659 ThemeTextCreate(void const*, THIThemeTextInfo const*) + 33
    8 com.apple.HIToolbox 0x9110c3b5 DataEngine::GetTextDimensions(void const*, float, HIThemeTextInfo*, float*, float*, float*) + 289
    9 com.apple.HIToolbox 0x9110c250 HIThemeGetTextDimensions + 202
    10 com.apple.HIToolbox 0x912abbad HIClockView::CalculateTextDimensions() + 133
    11 com.apple.HIToolbox 0x912abd82 HIClockView::GetOptimalSizeSelf(CGSize*, float*) + 118
    12 com.apple.HIToolbox 0x9114852d HIView::SendGetOptimalBounds(CGRect*, float*) + 151
    13 com.apple.HIToolbox 0x9114846d HIView::GetOptimalSize(CGSize*, float*) + 53
    14 com.apple.HIToolbox 0x9119bd85 GetBestControlRect + 105
    15 ...terfaceBuilder.CarbonPlugin 0x162f127a IBWindowForHostingCarbonControls + 9638
    16 ...terfaceBuilder.CarbonPlugin 0x162f1b1f IBWindowForHostingCarbonControls + 11851
    17 ...terfaceBuilder.CarbonPlugin 0x162f2766 IBWindowForHostingCarbonControls + 14994
    18 ...terfaceBuilder.CarbonPlugin 0x162f37c8 IBWindowForHostingCarbonControls + 19188
    19 ...terfaceBuilder.CarbonPlugin 0x162eb17a 0x162e5000 + 24954
    20 com.apple.InterfaceBuilderKit 0x002c65e0 -[IBLibraryObjectTemplate classesOfPasteboardObjects] + 194
    21 com.apple.InterfaceBuilderKit 0x002c64b9 -[IBLibraryController typeSummaryForObjectTemplate:] + 106
    22 com.apple.InterfaceBuilderKit 0x002c5fc4 -[IBLibraryController createAssetForTemplate:inNamespace:] + 554
    23 com.apple.InterfaceBuilderKit 0x002c4fe3 -[IBLibraryController createAssetsFromTemplatesInNibNamed:forPlugin:] + 746
    24 com.apple.InterfaceBuilderKit 0x002c499e -[IBLibraryController loadLibraryObjectsForPlugin:] + 287
    25 com.apple.InterfaceBuilderKit 0x002c414e -[IBPlugin didLoad] + 480
    26 ...terfaceBuilder.CarbonPlugin 0x162ea66f 0x162e5000 + 22127
    27 com.apple.InterfaceBuilderKit 0x002c389f -[IBPluginController loadPluginAtPath:error:] + 2809
    28 com.apple.InterfaceBuilder3 0x00002345 0x1000 + 4933
    29 com.apple.AppKit 0x91f983a3 -[NSApplication run] + 83
    30 com.apple.AppKit 0x91f658a4 NSApplicationMain + 574
    31 com.apple.InterfaceBuilder3 0x00004eca 0x1000 + 16074

    I had customized the date & time formats in the International settings. Once I set those back to the default formats, Interface Builder runs just fine.

  • Assertion failure when trying to display messages (10.8.5)

    Hello all,
    I have a user that is having trouble with the mail.app loading their message content.  The messages will show in the subject line, but when attempting to display the body of the message mail will just sit and pinwheel
    User is connecting to an exchange server.  Messages appear to be loading okay via the web interface.  Other (mac) users/computers are able to access their mail with no problem.
    Was hoping that the 10.8.5 update would fix it, but seemingly not the case.
    Thoughts?
    thanks
    Eric
    9/19/13 10:08:35.834 AM Mail[609]: *** Assertion failure in -[EWSGetItemDataResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1510/Message/EWS/EWSResponseOperation.m:573 
    Received error response that shouldn't apply to Mail: The request timed out. on EWS response <EWSGetItemDataResponseOperation: 0x7fee3ba797e0> (EXECUTING)
    0   CoreMessage                         0x00007fff876dc517 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 141
    1   CoreMessage                         0x00007fff876dc388 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 215
    2   Message                             0x00007fff874b9d91 -[EWSResponseOperation handleResponseMessage:withObject:] + 547
    3   Message                             0x00007fff874af0ce -[EWSGetItemDataResponseOperation executeOperation] + 571
    4   CoreMessage                         0x00007fff876f7b80 -[MonitoredOperation main] + 219
    5   Foundation                          0x00007fff8ec19926 -[__NSOperationInternal start] + 684
    6   Foundation                          0x00007fff8ec210f1 __block_global_6 + 129
    7   libdispatch.dylib                   0x00007fff8fb83f01 _dispatch_call_block_and_release + 15
    8   libdispatch.dylib                   0x00007fff8fb800b6 _dispatch_client_callout + 8
    9   libdispatch.dylib                   0x00007fff8fb811fa _dispatch_worker_thread2 + 304
    10  libsystem_c.dylib                   0x00007fff8bcd5cdb _pthread_wqthread + 404
    11  libsystem_c.dylib                   0x00007fff8bcc0191 start_wqthread + 13

    same thing is happening to me this morning, did you ever solve it?

  • Adding navigation items to view controllers in interface builder - pwnd me

    I am perplexed by Interface builder. I had SDK version 2.x (can't recall now) and just upgraded to the newest 3.1 and now things do not work the same.
    So that I could have a custom navigation item applied to my view controller, I have followed the instructions here:
    http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptua l/IB_UserGuide/EditingNibFileObjects/EditingNibFileObjects.html
    in section entitled "Configuring the Views for Additional Navigation Levels"
    When I try to load the nib at runtime I get this error:
    [* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "EventCreate" nib but the view outlet was not set.']
    The view is set on the controller; however, I did not do anything to set the file's owner since the before-mentioned doc does not say anything about that. It seems the view must be set on the file's owner to make it work. This is confusing.
    I've noticed that the nibs I had set up using the previous release (2.x can't remember now) aren't totally supported in the way I had them set up with navigation items. In IB, I would set the File's Owner to by view controller and then I could drop a navigation item in and connect that right away to the controller, and the controller had a navigation item outlet exposed by default. That doesn't appear to work any more. When I open my older nibs (xib files) the navigation item outlet shows up in the inspector for the controller BUT its greyed out, as if obsolete. There's no navigation item outlet showing in IB anymore, it seems when building new xibs. So, I don't know what to do here.
    Can somebody help me?

    crouchingchicken wrote:
    I would set the File's Owner to by view controller and then I could drop a navigation item in and connect that right away to the controller
    Yes, I agree. The nav item used to show up as an outlet of any view controller.
    When I try to load the nib at runtime I get this error:
    The problem with the doc is this line:
    To push a new view controller at runtime, _create a new instance of your custom UIViewController subclass, initialize it with the nib_ file you created for it, and push it on the navigation controller stack.
    The underlined portion can lead us to believe we can alloc and initWithNibName:bundle: as we would when File's Owner is a proxy for the controller we create in code. But that won't work in this case, since the controller we want is the one that's created from the view controller object when the nib is loaded. In other words, we don't want to alloc a new controller, we just want to grab the object made from the nib. Here's what to do:
    // RootViewController.m
    - (IBAction)nextView {
    NSLog(@"nextView");
    // SecondViewController *viewController = [[SecondViewController alloc]
    // initWithNibName:@"SecondViewController" bundle:nil];
    NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"SecondViewController"
    owner:self options:nil];
    NSLog(@"nib=%@", nib);
    SecondViewController *viewController = [nib objectAtIndex:0];
    [self.navigationController pushViewController:viewController animated:YES];
    // [viewController release];
    Be sure not to release the object obtained from the nib, since we didn't alloc it. Top level objects created from a nib are autoreleased. You can put some logging into the second view controller's dealloc to verify it gets dealloced when popped:
    // SecondViewController.m
    - (void)dealloc {
    NSLog(@"dealloc: %@", self);
    [super dealloc];
    - Ray

  • Solaris Studio 12.4 Beta ube assertion failure with -m64 -fsimple

    I have found a way to get an assertion failure from the ube program that comes with the Solaris Studio 12.4 beta.  The error that gets printed is:
    assertion failed in function gra_peep_hole() @ gra.c:10381
    assert(lf_op_(lf_i) == LD_I)
    The problem occurs whilst compiling a 64 bit version of GNU tar 1.23 using the -fsimple option on the C compiler.
    This problem can be reproduced by getting the pre-processed code I've put on http://pastebin.com/wRHRmaiT and pasting it into a file called human.pre.c.  Then run:
    cc -std=c99 -m64 -mt -O4 -fsimple -c -o human.o human.pre.c
    and you get the assertion failure.
    Alternatively, if you don't trust my code on pastebin, the other way to reproduce it would be to download tar-1.23.tar.gz from GNU Project Archives, extract it and then you'll find the original file human.c in the gnu sub-directory.  Build this with:
    cc -std=c99 -DHAVE_CONFIG_H -I. -I.. -m64 -mt -O4 -fsimple -c -o human.o human.c
    and you'll get the same problem.
    The assertion failure only happens with -m64 and -fsimple.  If either of these flags are omitted it doesn't happen.
    People reading this will probably think I'm crazy to be worrying about floating point optimisations for GNU tar, and it's true that I don't really need to build GNU tar with -fsimple.  However, I am worried that the same problem in ube will bite me at some point on more important code where floating point optimisations are valuable.
    In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

    BugID 18644770 has been fixed recently and the fix is verified with this problem:
    [sr1-sfbay-03](18644770)-627 > /net/dv103/export/builds/cia//latest/inst/intel-S2/bin/cc -std=c99 -m64 -mt -O4 -fsimple -c human.pre.c -V
    cc: Sun C 5.13 SunOS_i386 CIA_pythia 2014/06/16
    acomp: Sun C 5.13 SunOS_i386 CIA_pythia 2014/06/16
    iropt: Sun Compiler Common 12.4 SunOS_i386 CIA_pythia 2014/06/16
    ube: Sun Compiler Common 12.4 SunOS_i386 CIA_pythia 2014/06/16
    as: Sun Compiler Common 12.4 SunOS_i386 CIA_pythia 2014/06/16
    [sr1-sfbay-03](18644770)-628 >
    This fix should be available soon as the Studio12.4 Beta refresh compiler.

  • Assertion failure from ccfe in Solaris Studio 12.4 beta July refresh

    I have found a way to get an assertion failure from the ccfe program that comes with the Solaris Studio 12.4 beta July refresh.  The error that gets printed is:
    >> Assertion:   (../lnk/funcsym.cc, line 1679)
        while processing text_woarchive.pre.cpp at line 0.
    The problem occurs whilst compiling Boost 1.54.  The original file in the distribution that causes it is libs/serialization/src/text_woarchive.cpp.
    This problem can be reproduced by getting the pre-processed code I've put on http://pastebin.com/E9vxi2z7 and pasting it into a file called text_woarchive.pre.cpp.  Then run:
    CC -std=c++11 -mt -m64 -c -o text_woarchive.o text_woarchive.pre.cpp
    and you get the assertion failure.
    Running:
    CC '-#' -std=c++11 -mt -m64 -c -o text_woarchive.o text_woarchive.pre.cpp
    shows that the assertion is coming from ccfe.
    In case you go back to the original Boost source code I should tell you that prior to generating the pre-processed source I changed:
    #ifdef __SUNPRO_CC
    to:
    #if 0
    in boost/archive/detail/register_archive.hpp.  I did this because there was an error in the __SUNPRO_CC section and I wondered if that workaround code was no longer required with the more modern C++ compiler.  Therefore, I cannot guarantee that the pre-processed source is 100% valid C++ code.  However, even if it's not it would be nice to get a clear error message out of ccfe rather than an assertion failure.
    In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

    You mentioned in the other answer that you are testing with Boost 1.55.  Are you testing this in C++11 mode?
    Today I downloaded Boost 1.55 and did the following:
    In both tools/build/v2/engine/build.sh and tools/build/v2/tools/sun.jam globally replace SUNWspro with SolarisStudio12.4-beta_jul14-solaris-x86
    In tools/build/v2/tools/sun.jam replace:
    feature.extend stdlib : sun-stlport ;
    feature.compose <stdlib>sun-stlport
        : <cxxflags>-library=stlport4 <linkflags>-library=stlport4
    with:
    feature.extend stdlib : sun-stlport ;
    feature.compose <stdlib>sun-stlport
        : <cxxflags>-std=c++11 <linkflags>-std=c++11
    Note: This is just the quick way I found to con the Boost build system into using C++11 instead of STLport.  The feature in the jam file still has stlport in its name, but that's only a name and the code is being built in C++11 mode.
    In boost/math/special_functions/detail/lanczos_sse2.hpp change line 15 from:
    #if defined(__GNUC__) || defined(__PGI)
    to:
    #if defined(__GNUC__) || defined(__PGI) || defined(__SUNPRO_CC)
    Run:
    ./bootstrap.sh --without-libraries=context --without-libraries=coroutine --without-libraries=graph_parallel --without-libraries=log --without-libraries=mpi --without-libraries=python --without-libraries=test --without-icu
    Run:
    ./b2 -j4 --layout=versioned --disable-icu address-model=64 threading=multi optimization=speed inlining=full
    At this point the vast majority of the code builds, but does not link.
    There are 3 problems:
    The compilation problem with tuple that you've already fixed
    A linker problem with finding std::string related symbols - maybe also related to the gcc header upgrade and now fixed?
    Numerous compilation problems caused by boost/archive/detail/register_archive.hpp
    For this last one the code in the #ifdef __SUNPRO_CC section of boost/archive/detail/register_archive.hpp does appear to be invalid, and leads to the errors:
    "./boost/archive/detail/register_archive.hpp", line 45: Error: The function "adjust_counter" must have a prototype.
    "./boost/archive/detail/register_archive.hpp", line 46: Error: Expression must have a constant value.
    "./boost/archive/detail/register_archive.hpp", line 47: Error: Expression must have a constant value.
    "./boost/archive/detail/register_archive.hpp", line 48: Error: An integer constant expression is required within the array subscript operator.
    Even with Boost 1.55, attempts to fix this lead to the same ccfe assertion.  Trying to use the #else part of the code as I described in the original post does, as does moving the line:
    char adjust_counter(counter<0>);
    so that it comes before the place where adjust_counter is used also then leads to the same assertion:
    >> Assertion:   (../lnk/funcsym.cc, line 1679)
    It's as though any change to boost/archive/detail/register_archive.hpp that fixes the basic code ordering issue lets ccfe get far enough to cause the assertion.
    If there is somebody in your team looking at whether Boost 1.55 compiles with Solaris Studio 12.4 in C++11 mode then hopefully they can relate to what I'm seeing here.  One key point is that they'll have had to edit the jam files to use C++11 mode.
    The other thing is that any insights the person who has been trying to build Boost 1.55 has would be very useful.  I know you don't want to get into officially supporting it, but maybe a blog post with any unofficial hints and tips on getting Boost to build in C++11 mode could be a way to share knowledge.

  • EthChnl assert failure on 3850 switch

    Any Idea What is this error message all about.  
    M2-CCTV-DS(config)#int port-channel 10
    int port-channel 10
                     ^
    % Invalid input detected at '^' marker.
    M2-CCTV-DS(config)#
    May 23 13:06:13: EthChnl assert failure: ag == NULL: ../switch/pagp/pagp_switch.c: 1137
    May 23 13:06:13: -Traceback= 1#830db5fd318976b0280defe233875463  :10000000+1540BE8 :100000
    00+F65FF8 :10000000+F67DA8 :10000000+146C060 :10000000+144D1DC :10000000+156604C :10000000
    +1451160 :10000000+D351B0 :10000000+146839C :10000000+27AC29C
    May 23 13:06:13: EthChnl assert failure: ag == NULL: ../switch/pagp/pagp_switch.c: 1137
    May 23 13:06:13: -Traceback= 1#830db5fd318976b0280defe233875463  :10000000+1540BE8 :100000
    00+F65FF8 :10000000+F67DA8 :10000000+146C060 :10000000+144D1DC :10000000+145131C :10000000
    +D351B0 :10000000+146839C :10000000+27AC29C
    M2-CCTV-DS(config)#
    M2-CCTV-DS#sh version
    Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.02.02.SE RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Fri 14-Jun-13 19:24 by prod_rel_team
    Cisco IOS-XE software, Copyright (c) 2005-2013 by cisco Systems, Inc.
    All rights reserved.  Certain components of Cisco IOS-XE software are
    licensed under the GNU General Public License ("GPL") Version 2.0.  The
    software code licensed under GPL Version 2.0 is free software that comes
    with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
    GPL code under the terms of GPL Version 2.0.
    (http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the
    documentation or "License Notice" file accompanying the IOS-XE software,
    or the applicable URL provided on the flyer accompanying the IOS-XE
    software.
    ROM: IOS-XE ROMMON
    BOOTLDR: C3850 Boot Loader (C3850-HBOOT-M) Version 1.1, RELEASE SOFTWARE (P)
     --More--         M2-CCTV-DS uptime is 11 weeks, 4 hours, 23 minutes
    Uptime for this control processor is 11 weeks, 4 hours, 25 minutes
    System returned to ROM by reload
    System restarted at 10:51:15 SG Wed Dec 4 2013
    System image file is "flash:packages.conf"
    Last reload reason: Reload command
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
     --More--         License Level: Ipbase
    License Type: Permanent
    Next reload license Level: Ipbase
    cisco WS-C3850-24T (MIPS) processor with 4194304K bytes of physical memory.
    Processor board ID FOC1739X037
    3 Virtual Ethernet interfaces
    56 Gigabit Ethernet interfaces
    8 Ten Gigabit Ethernet interfaces
    2048K bytes of non-volatile configuration memory.
    4194304K bytes of physical memory.
    250456K bytes of Crash Files at crashinfo:.
    1609272K bytes of Flash at flash:.
    0K bytes of Dummy USB Flash at usbflash0:.
    0K bytes of  at webui:.
    250456K bytes of Crash Files at crashinfo-2:.
    1609272K bytes of Flash at flash-2:.
    0K bytes of Dummy USB Flash at usbflash0-2:.
    Base Ethernet MAC Address          : 34:db:fd:a0:23:80
    Motherboard Assembly Number        : 73-12238-06
    Model Revision Number              : F0
    Motherboard Revision Number        : D0
     --More--         Model Number                       : WS-C3850-24T
    System Serial Number               : FOC1739X037
    Switch Ports Model              SW Version        SW Image              Mode   
         1 32    WS-C3850-24T       03.02.02.SE       cat3k_caa-universalk9 INSTALL
         2 32    WS-C3850-24T       03.02.02.SE       cat3k_caa-universalk9 INSTALL
    Switch 02
    Switch uptime                      : 7 minutes
    Base Ethernet MAC Address          : 50:17:ff:d6:8f:00
    Motherboard Assembly Number        : 73-12238-06
    Model Revision Number              : F0
    Motherboard Revision Number        : D0
    Model Number                       : WS-C3850-24T
    Configuration register is 0x102

    Hi friend,
    Our campus core switches (6509) are installed in VSS 1440 architecture. On 'logging console', we get similar messages.
    *Jan 16 11:15:00.945: SW1_SP: EthChnl assert failure: swidb2: ../switch/pagp/pagp_switch_util.c: 837
    *Jan 16 11:15:00.945: SW1_SP: -Traceback= 416A8CA0 416B5130 416B7020 416B7CAC 416B49B4 416ADCA8 408A2DDC 408A2DC8
    *Jan 16 11:15:00.945: SW1_SP: EthChnl assert failure: swidb2: ../switch/pagp/pagp_switch_util.c: 837
    *Jan 16 11:15:00.945: SW1_SP: -Traceback= 416A8CA0 416B5130 416B7020 416B7CAC 416B49B4 416ADCA8 408A2DDC 408A2DC8
    The IOS Version is 12.2(33)SXI4a  on our VS-S720-10G 5 ports Supervisor Engine 720 10GE. We are running almost latest IOS. The switches are in production now. Any idea on what really causing this message to appear? How can I resolve this? If a software upgrade helps, then what is the best way to upgrade two VSS switches with in a short downtime?
    Please assist,
    Best regards,

  • Manual coding vs. Interface Builder - iPhone

    I have most of an app done with IB and I've managed to get things to work mostly, but I did have a lot of problems with UIDatePicker and could only get it to work properly when creating it manually.
    I have some other strange bugs, like the Delete button sometimes animating accross the top of the window rather than on the row it's supposed to and based on my experience with the date picker, I don't know if that's a problem with my code or with using IB.
    Also, most of the sample code seems to create things manually.
    So, am I better off using Interface Builder for my iPhone apps, or creating everything manually in code? At this point I'm leaning towards doing everything manually.

    A lot of the sample code creates elements programmatically because Interface Builder didn't exist early in the beta. Others (like UICatalog) do it to make the view heirarchy more obvious.
    I usually recommend using Interface Builder wherever possible. Remember, there's nothing stopping you from altering IB-created views in your viewDidLoad method; just add outlets for the views you need to customize and connect them as needed. In my experience, it's usually easier to move parts of an application away from IB when you need to do so than it is to move them to IB to make them easier to maintain; working with pure code encourages certain design patterns (like not-really-needed view subclasses and custom constructors to avoid repetitive initialization code) that don't really play well with IB.

Maybe you are looking for