2010-07-26 15:14:30.529 MapViewDemo[2511:207] -JSONValue failed. Error trace is: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Unrecognised leading character\" UserInfo=0x5c130e0 {NSLocalizedDescription=Unrecognised leading character}" ) 2010-07-26 15:14:31.411 MapViewDemo[2511:207] -JSONValue failed. Error trace is: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Unrecognised leading character\" UserInfo=0xd8013f0 {NSLocalizedDescription=Unrecognised leading character}" ) 2010-07-26 15:14:31.413 MapViewDemo[2511:207] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 0 beyond bounds for empty array' *** Call stack at first throw: ( 0 CoreFoundation 0x02643919 __exceptionPreprocess + 185 1 libobjc.A.dylib 0x027915de objc_exception_throw + 47 2 CoreFoundation 0x02639465 -[__NSArrayM objectAtIndex:] + 261 3 MapViewDemo 0x00046b71 -[AGSMapView layerDidLoadHandler:] + 313 4 Foundation 0x00116c1d _nsnote_callback + 145 5 CoreFoundation 0x0261bcf9 __CFXNotificationPost_old + 745 6 CoreFoundation 0x0259b11a _CFXNotificationPostNotification + 186 7 Foundation 0x0010c7c2 -[NSNotificationCenter postNotificationName:object:userInfo:] + 134 8 Foundation 0x00118b05 -[NSNotificationCenter postNotificationName:object:] + 56 9 MapViewDemo 0x000517a9 -[AGSTiledLayerView agsLayerDidLoad:] + 72 10 CoreFoundation 0x025b442d __invoking___ + 29 11 CoreFoundation 0x025b4301 -[NSInvocation invoke] + 145 12 Foundation 0x0012be9a __NSThreadPerformPerform + 251 13 CoreFoundation 0x02624d7f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15 14 CoreFoundation 0x025832cb __CFRunLoopDoSources0 + 571 15 CoreFoundation 0x025827c6 __CFRunLoopRun + 470 16 CoreFoundation 0x02582280 CFRunLoopRunSpecific + 208 17 CoreFoundation 0x025821a1 CFRunLoopRunInMode + 97 18 GraphicsServices 0x02ea82c8 GSEventRunModal + 217 19 GraphicsServices 0x02ea838d GSEventRun + 115 20 UIKit 0x003bab58 UIApplicationMain + 1160 21 MapViewDemo 0x000024e4 main + 102 22 MapViewDemo 0x00002475 start + 53 23 ??? 0x00000001 0x0 + 1 ) terminate called after throwing an instance of 'NSException'
I'm assuming you already have iPhone SDK 4.0 installed. Are you able to build and execute samples getting installed at ~\Library\SDKs\Samples?
If possible, please upload your "MyFirstMapApp".
Regards,
Nimesh