c# - Xamarin Objective C binding: .a within a .a, native linking failed -



c# - Xamarin Objective C binding: .a within a .a, native linking failed -

i'm trying bind objective c library in xamarin project. first time i'm doing , without knowing much objective c it's real head scratcher.

i've fought objective sharpie , managed project compiles , seems ok. i'm exposing little of library possible in order have something works, when trying debug on device (it isn't i386 anyway, it's lib external accessory) next linker error:

error mt5211: native linking failed, undefined objective-c class: _objc_class_$_icadministration. if '_objc_class_$_icadministration' protocol third-party binding, please check has [protocol] attribute in api definition file, otherwise verify necessary frameworks have been referenced , native libraries linked in. (mt5211)

the icadministration class part of library within library. used main interfacing class bind, don't bind properties or methods utilize icadministration. i've seen errors in regards xamarin 7.2 , have tried adding --registrar:legacy mtouch option, without luck.

seems there tons of flags or command line options 1 can utilize sorts of things, not turf. have never had deal linker before, naturally c world dark , scary place.

any pointers appreciated. have bind of library i'm using, or ok bind need? there pitfalls should aware about? wrong binding of properties/classes cause problems if they're not used? having nested libraries issue @ all?

edit: might want know outer objective c lib built ios 7.1 sdk (don't have else), , original lib wraps around ios 5.

have tried adding [protocolattribute] icadministration interface in binding project?

[basetype (typeof (nsobject))] [protocol] [model] interface icadministration {}

c# objective-c linker monotouch

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -