On Fri, Aug 24, 2012 at 11:14 AM, Alexander Viken <[email protected]> wrote: > Hi all. > > I'm still working with the GeoCoder, and still have som random problems.... > > This is an error I received when running my app on the simulator, anyone > know if this is related to simulator only, or could it be the cause of my > random crashes? > > The first line here appears in the Application Output window from out of > "somewhere". Outside my control so I am guessing there's something wrong(?) > in the MKReverseGeocoder... > > /SourceCache/ProtocolBuffer_Sim/ProtocolBuffer-92.1/Runtime/PBRequester.m:698 > server returned error: 503 > Stacktrace: > > at (wrapper managed-to-native) > MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) > <IL 0x0009f, 0xffffffff> > at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00042] > in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 > at BilBuddy.Application.Main (string[]) [0x00000] in > /Users/alexander-viken/Projects/BilBuddy/BilBuddy/Main.cs:40 > at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object > (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff> > > Another thing i noticed today is that the whole of MKReverseGeocoder is > depricated as of IOS 5.0 > (http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKReverseGeocoder_Class/DeprecationAppendix/AppendixADeprecatedAPI.html) > and that you should use CLGeocoder class instead > (http://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLGeocoder_class/Reference/Reference.html#//apple_ref/occ/cl/CLGeocoder) > Anyone know if this is comming to MT any time soon?
Apple added CLGeocoder in iOS5. Xamarin addded CLGeocoder in MonoTouch 5.0 (a few days later iirc ;-) Note that the 'CL' prefix means CoreLocation (not MapKit, MK) so you're likely not looking at the namespace to pick up the new type. Regards, Sebastien _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
