Skip to content

Instantly share code, notes, and snippets.

@Shruti360
Created August 19, 2014 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shruti360/9fe67fb73cb2341498f8 to your computer and use it in GitHub Desktop.
Save Shruti360/9fe67fb73cb2341498f8 to your computer and use it in GitHub Desktop.
MonoTouch.MonoTouchException: Wrapper type 'MonoTouch.WebKit.WKPreferences' is missing its native ObjectiveC class 'WKPreferences'.
at MonoTouch.Registrar.DynamicRegistrar.OnRegisterType (MonoTouch.Registrar.ObjCType type) [0x003bb] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/DynamicRegistrar.cs:617
at MonoTouch.Registrar.Registrar.RegisterTypeUnsafe (System.Type type, System.Collections.Generic.List`1& exceptions) [0x00ab1] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Registrar.cs:1237
at MonoTouch.Registrar.Registrar.RegisterType (System.Type type, System.Collections.Generic.List`1& exceptions) [0x00011] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Registrar.cs:868
at MonoTouch.Registrar.DynamicRegistrar.Register (System.Type type) [0x00002] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/DynamicRegistrar.cs:883
at MonoTouch.ObjCRuntime.Class.Register (System.Type type) [0x00000] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Class.cs:132
at MonoTouch.ObjCRuntime.Class.GetHandle (System.Type type) [0x00000] in <filename unknown>:0
at MonoTouch.Foundation.NSObject.AllocIfNeeded () [0x00015] in /Developer/MonoTouch/Source/maccore/src/Foundation/NSObject2.cs:386
at MonoTouch.Foundation.NSObject..ctor (MonoTouch.Foundation.NSObjectFlag x) [0x00006] in /Developer/MonoTouch/Source/maccore/src/Foundation/NSObject2.cs:102
at MonoTouch.WebKit.WKPreferences..ctor () [0x00000] in /Developer/MonoTouch/Source/monotouch/src/build/compat/WebKit/WKPreferences.g.cs:59
at WebView.WebViewController.ViewDidLoad () [0x00038] in /Users/ixamarin78/Desktop/Loading_Local_Content_(WebView)/WebViewController.cs:25
at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:39
at WebView.Application.Main (System.String[] args) [0x00008] in /Users/ixamarin78/Desktop/Loading_Local_Content_(WebView)/Main.cs:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment