jeffleeismyhero

ArcGIS conflicts with Three20

Discussion created by jeffleeismyhero on Nov 4, 2010
Latest reply on Nov 4, 2010 by jeffleeismyhero
I'm attempting to use ArcGIS within an application built using the Three20 framework (http://three20.info/). I believe the error may be related to the -all_load flag but I would appreciate any guidance:

2010-11-04 14:00:57.999 LSU Mobile[30762:207] -[UIDevice machineType]: unrecognized selector sent to instance 0x4d03de0
2010-11-04 14:00:58.001 LSU Mobile[30762:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDevice machineType]: unrecognized selector sent to instance 0x4d03de0'
*** Call stack at first throw:
(
 0   CoreFoundation                      0x0116cbe9 __exceptionPreprocess + 185
 1   libobjc.A.dylib                     0x012c15c2 objc_exception_throw + 47
 2   CoreFoundation                      0x0116e6fb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
 3   CoreFoundation                      0x010de366 ___forwarding___ + 966
 4   CoreFoundation                      0x010ddf22 _CF_forwarding_prep_0 + 50
 5   LSU Mobile                          0x000d74a6 -[AGSMapView sharedInitCode] + 1615
 6   LSU Mobile                          0x000d763a -[AGSMapView initWithFrame:] + 116
 7   LSU Mobile                          0x000ba13c -[LSUMapViewController initWithNibName:bundle:] + 357
 8   LSU Mobile                          0x0004485d -[UIViewController(TTNavigator) initWithNavigatorURL:query:] + 52
 9   CoreFoundation                      0x010dd67d __invoking___ + 29
 10  CoreFoundation                      0x010dd551 -[NSInvocation invoke] + 145
 11  LSU Mobile                          0x0003fc92 -[TTURLNavigatorPattern invoke:withURL:query:] + 388
 12  LSU Mobile                          0x0003fda4 -[TTURLNavigatorPattern createObjectFromURL:query:] + 206
 13  LSU Mobile                          0x0003cb5b -[TTURLMap objectForURL:query:pattern:] + 241
 14  LSU Mobile                          0x000434ed -[TTBaseNavigator viewControllerForURL:query:pattern:] + 640
 15  LSU Mobile                          0x00042a6b -[TTBaseNavigator openURLAction:] + 843
 16  LSU Mobile                          0x000b6d67 -[LauncherViewController launcherView:didSelectItem:] + 132
 17  LSU Mobile                          0x0005359c -[TTLauncherView buttonTouchedUpInside:] + 451
 18  UIKit                               0x0049286c -[UIApplication sendAction:to:from:forEvent:] + 119
 19  UIKit                               0x00520d11 -[UIControl sendAction:to:forEvent:] + 67
 20  UIKit                               0x005231a3 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
 21  UIKit                               0x00521d50 -[UIControl touchesEnded:withEvent:] + 458
 22  LSU Mobile                          0x0004f73e -[TTLauncherButton touchesEnded:withEvent:] + 67
 23  UIKit                               0x004b6dcd -[UIWindow _sendTouchesForEvent:] + 567
 24  UIKit                               0x004981da -[UIApplication sendEvent:] + 447
 25  UIKit                               0x0049d436 _UIApplicationHandleEvent + 7576
 26  GraphicsServices                    0x01a8fa36 PurpleEventCallback + 1550
 27  CoreFoundation                      0x0114e064 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
 28  CoreFoundation                      0x010ae6f7 __CFRunLoopDoSource1 + 215
 29  CoreFoundation                      0x010ab983 __CFRunLoopRun + 979
 30  CoreFoundation                      0x010ab240 CFRunLoopRunSpecific + 208
 31  CoreFoundation                      0x010ab161 CFRunLoopRunInMode + 97
 32  GraphicsServices                    0x01a8e268 GSEventRunModal + 217
 33  GraphicsServices                    0x01a8e32d GSEventRun + 115
 34  UIKit                               0x004a1132 UIApplicationMain + 1160
 35  LSU Mobile                          0x000b3c86 main + 104
 36  LSU Mobile                          0x000b3c15 start + 53
)
terminate called after throwing an instance of 'NSException'


Edit: Clarification as to what triggers the exception.

The exception is trigged when I call
[[AGSMapView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)]

Outcomes