Wrapper type '***' is missing its native ObjectiveC class '***'.

ShyAlonShyAlon ILMember
edited August 2013 in General

Hello All
I am trying to use a binding solution and it's been rowing upstream all the way.
Finally I got the project to compile and even link but at runtime I'm getting the following Exception

System.Exception: Wrapper type 'WeFiApi.WeANDSFClient' is missing its native ObjectiveC class 'WeANDSFClient'.

at MonoTouch.Registrar.OldDynamicRegistrar.Register (System.Type type, System.String name, Boolean is_wrapper) [0x00080] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/OldDynamicRegistrar.cs:212
at MonoTouch.Registrar.OldDynamicRegistrar.Register (System.Type type) [0x0004f] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/OldDynamicRegistrar.cs:188
at MonoTouch.ObjCRuntime.Class.Register (System.Type type) [0x00000] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Class.cs:125
at MonoTouch.ObjCRuntime.Class.GetHandle (System.Type type) [0x00000] in :0
at MonoTouch.Foundation.NSObject.AllocIfNeeded () [0x00015] in /Developer/MonoTouch/Source/monotouch/src/shared/Foundation/NSObject2.cs:239
at MonoTouch.Foundation.NSObject..ctor (MonoTouch.Foundation.NSObjectFlag x) [0x00006] in /Developer/MonoTouch/Source/monotouch/src/shared/Foundation/NSObject2.cs:76
at WeFiApi.WeANDSFClient..ctor () [0x00000] in /Users/tomerbashan/Documents/WeFi.iOS/WeFi/WeFi.Binding/obj/Debug/ios/WeFiApi/WeANDSFClient.g.cs:175
at WeFi.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, MonoTouch.Foundation.NSDictionary options) [0x00018] in /Users/tomerbashan/Documents/WeFi.iOS/WeFi/WeFi/AppDelegate.cs:37
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:38
at WeFi.Application.Main (System.String[] args) [0x00008] in /Users/tomerbashan/Documents/WeFi.iOS/WeFi/WeFi/Main.cs:16
.

I've been rummaging through this forum and stackoverflow but nothing seems to point me the right way.
Any ideas?

Posts

Sign In or Register to comment.