Hello Pavel,

This unlikely to be a linker issue (even less if a [Preserve]
attribute was added).

You can confirm this by using the same linker settings in the simulator builds.

If it works then this is not a linker issue but, more likely, one of
the AOT/generic limitations.

Regards,
Sebastien

On Wed, Jan 25, 2012 at 6:54 AM, Pavel Sich <[email protected]> wrote:
> Could somebody tell me what is wrong?
>
> Jan 25 12:52:11 unknown UIKitApplication:socialstormtouch[0x82fb][10721]
> <Notice>: Unhandled Exception: System.ExecutionEngineException: Attempting
> to JIT compile method
> 'SocialStorm.Application.Models.Twitter.TwitterSocialService:SafeBeginAsync<Cirrious.SimpleTweetSharp.TwitterService/TokenAndSecret>
> (string,System.Action`3<SocialStorm.Application.Models.Twitter.TwitterServiceWrapper,
> System.Action`1<Cirrious.SimpleTweetSharp.TwitterService/TokenAndSecret>,
> System.Action`1<Cirrious.SocialSharp.SocialServiceError>>,System.Action`1<Cirrious.SimpleTweetSharp.TwitterService/TokenAndSecret>,System.Action`1<Cirrious.SocialSharp.SocialServiceError>)'
> while running with --aot-only.
>
> seems some object gets stripped by linker (I guess), but I added the
> [Preserve] attribute on TokenSecret object already and TwitterSocialService
> and some other.
>
> Any help much appreciated.
>
> --
> Pavel Sich
> @sichy
>
>
> _______________________________________________
> 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