[MonoTouch] Interface Builder errors / How does the new version work?
ric3kg
rickgross at mac.com
Fri Oct 7 17:52:50 EDT 2011
So, I've upgraded to MD 2.8, Xcode 4.1 running Snow Leopard. I've converted a
project over to MD 2.8. Now I go to add a control using IB and get crashes
or the control does not show up in MD but my app crashes at start. Could you
please direct me to the documentation outlining how to use the new version
and actually make things that work?
IB crash log:
Assertion Message: An uncaught exception was raised.
Exception Name: NSRangeException
Reason: *** -[NSCFArray objectAtIndex:]: index (-1 (or possibly larger))
beyond bounds (10)
User Info: (null)
Thread 0 Raised an Exception:
0 CoreFoundation 0x00007fff81034796
__exceptionPreprocess + 150
1 libobjc.A.dylib 0x00007fff80348f03 objc_exception_throw
+ 45
2 CoreFoundation 0x00007fff810345d7 +[NSException
raise:format:arguments:] + 103
3 CoreFoundation 0x00007fff81034564 +[NSException
raise:format:] + 148
4 Foundation 0x00007fff865d1d28
_NSArrayRaiseBoundException + 122
5 Foundation 0x00007fff86534e9d -[NSCFArray
objectAtIndex:] + 75
6 InterfaceBuilderKit 0x00000001002bb540
-[IBLibraryClassRelationController tableView:isGroupRow:] + 41
7 AppKit 0x00007fff82af757e -[NSTableView
_isGroupRow:] + 49
8 AppKit 0x00007fff82f63442 -[NSTableView
menuForEvent:] + 240
9 AppKit 0x00007fff8301e0e3 -[NSView
rightMouseDown:] + 56
10 AppKit 0x00007fff82d624c0 -[NSControl
_rightMouseUpOrDown:] + 472
11 AppKit 0x00007fff82b590c7 -[NSWindow
sendEvent:] + 8769
12 AppKit 0x00007fff82a8dafa -[NSApplication
sendEvent:] + 4719
13 Interface Builder 0x0000000100003d2f
14 AppKit 0x00007fff82a246de -[NSApplication run]
+ 474
15 AppKit 0x00007fff82a1d3b0 NSApplicationMain +
364
16 Interface Builder 0x0000000100001be4
Why can't I add an outlet to the AppDelegate? I get this instead:
http://monotouch.2284126.n4.nabble.com/file/n3883821/Screen_shot_2011-10-07_at_2.49.59_PM.jpg
Thanks,
Rick
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Interface-Builder-errors-How-does-the-new-version-work-tp3883821p3883821.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list