Hi all,
  getting the above error all of a sudden from code that used to work fine.
The line that is triggering the error is:

   this.mapView.Delegate = new MKMapViewDelegate();

where mapView is a MonoTouch.MapKit.MKMapView that is embedded in a view via
InterfaceBuilder.

The full error and stacktrace is:

Wrapper type 'MonoTouch.MapKit.MKMapViewDelegate' is missing its native
ObjectiveC class 'MKMapViewDelegate'. Please check if it's been linked. - ::
at MonoTouch.ObjCRuntime.Class.Register (System.Type type, System.String
name, Boolean is_wrapper) [0x00000] in <filename unknown>:0
at MonoTouch.ObjCRuntime.Class.GetHandle (System.Type type) [0x00000] in
<filename unknown>:0
at MonoTouch.Foundation.NSObject.AllocIfNeeded () [0x00000] in <filename
unknown>:0
at MonoTouch.Foundation.NSObject..ctor (MonoTouch.Foundation.NSObjectFlag x)
[0x00000] in <filename unknown>:0
at MonoTouch.MapKit.MKMapViewDelegate..ctor () [0x00000] in <filename
unknown>:0
at Locator.iPhonePersonalMenuMapViewController.ViewDidLoad () [0x000ac] in
/Users/technohead/Projects/Locator/Locator/iPhone/PersonalMenu/iPhonePersonalMenuMapViewController.xib.cs:63
at MonoTouch.UIKit.UIViewController.get_View () [0x00000] in <filename
unknown>:0
at Locator.iPhonePersonalMenuViewController.ViewDidLoad () [0x000af] in
/Users/technohead/Projects/Locator/Locator/iPhone/PersonalMenu/iPhonePersonalMenuViewController.xib.cs:68
at MonoTouch.UIKit.UINavigationController.PushViewController
(MonoTouch.UIKit.UIViewController viewController, Boolean animated)
[0x00000] in <filename unknown>:0
at Locator.AppDelegateIPhone.PushView (MonoTouch.UIKit.UIViewController
viewController) [0x00000] in
/Users/technohead/Projects/Locator/Locator/iPhone/AppDelegateIPhone.cs:138
at
Locator.iPhoneSearchViewController+<handleProductsTableViewSourceOnRowSelected>c__AnonStorey2.<>m__11
() [0x0001f] in
/Users/technohead/Projects/Locator/Locator/iPhone/iPhoneSearchViewController.xib.cs:563
at MonoTouch.Foundation.NSActionDispatcher.Apply () [0x00000] in <filename
unknown>:0
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
principalClassName, System.String delegateClassName) [0x00000] in <filename
unknown>:0
at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] in
<filename unknown>:0
at Locator.Application.Main (System.String[] args) [0x00000] in
/Users/technohead/Projects/Locator/Locator/Main.cs:19

Any ideas what's going on?

thanks,
Dennis



--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Wrapper-type-MonoTouch-MapKit-MKMapViewDelegate-is-missing-its-native-ObjectiveC-class-MKMapViewDele-tp3808968p3808968.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to