Hi mkovalyk,

The reason you are getting that error for devices is because your native
library only has i386 support. You need an armv6 or armv7 (or armv7s)
native library in order for it to work on device (either that or replace
the current native library with a "fat" binary which includes i386 *and*
arm).

Hopefully someone else on the list will help you figure out why the
simulator build isn't working correctly, but when binding methods start
returning null for everything, there's a good chance that the native
library isn't linking properly (perhaps you forgot some other library
references?). You probably just need to add the right LinkerFlags (and
possibly Frameworks) to the LinkWith attribute in this file:

https://github.com/livercool/ViewDeckMonoTouch/blob/master/IIViewDeckControllerBindingProject/IIViewDeskController/libIIViewDeckController.linkwith.cs

Jeff

On Wed, Feb 27, 2013 at 3:12 AM, mkovalyk <[email protected]> wrote:

> Again about binding.
> So, I have read some bugs at bugzilla, at stackoverflow and here, and it
> didn't help me. All these problem was with native libraries, I had 3rd
> party
> library.
>  Problem is, when I bind my class IIViewDeckController, it's compiled,
> makes
> dll for me and it seems I can use it. But...
> When I try to use it, in Debug/iPhone mode, I have Error:
> * Wrapper type 'ViewDeckController.IIViewDeckController' is missing its
> native ObjectiveC class 'IIViewDeckController'.*
>
> When I am in iPhoneSimulator mode, there is no exception, but it does not
> works. all fields are either Null or NaN.
> Please help me with it.
> github project: https://github.com/livercool/ViewDeckMonoTouch
> Thank you!
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Again-about-binding-Wrapper-class-mising-tp4658118.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to