On Sat, Apr 28, 2012 at 2:53 PM, slodge <[email protected]> wrote:
> I'm getting this error when rebuilding some mvvmcross samples after updating
> several things from the latest alpha channel.
>
> Error MT4105: The registrar cannot marshal the parameter of type
> `MonoTouch.Foundation.NSAction` in signature for method
> `Cirrious.MvvmCross.Touch.Views.MvxTouchViewController`1.DismissViewController`.
> (MT4105)
>
> The code in question is (I think) the anonymous empty method in:
> https://github.com/slodge/MvvmCross/blob/master/Cirrious/Cirrious.MvvmCross/Touch/Views/MvxTouchViewController.cs
>
> If I comment out that method then the native code gen then fails with the
> same problem in MvxTouchTableViewController instead
>
> I'm changing the code to ViewDidUnload instead... but don't understand the
> error message still
>
> Is this a known issue?

No

> Am I doing something wrong?

No.

>From the release notes [1]:

>> If you find a bug and need to disable the new trampolines, add --noregistrar 
>> to the additional mtouch arguments and file a bug

Sebastien

[1] 
http://docs.xamarin.com/ios/releases/MonoTouch_5/MonoTouch_5.3#MonoTouch_5.3.3

>
>
> My installed versions:
>
> MonoDevelop 2.9.5
> Runtime:
>        Mono 2.10.9 (tarball Tue Apr 17 18:59:12 EDT 2012)
>        GTK 2.24.10
>        GTK# (2.12.0.0)
> Apple Developer Tools:
>         Xcode 4.2 (828)
>         Build 4C199
> Monotouch: 5.3.3
> Mono for Android: 4.1.1.197158102 (Evaluation)
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/The-registrar-cannot-marshall-parameter-of-type-error-when-building-for-phone-with-latest-alpha-tp4595133p4595133.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