简体   繁体   中英

Xamarion IOS LexDB Save - exception attempting to JIT compile (wrapper delegate-invoke)

I'm using LexDb.iOS 1.2 in a xamarin ios application.

If i Execute in the emulator evrithings goes perfectly, but if I debug in a ios phone then:

When I try to do the

db.Save(item);

throws this exception:

Attemptin to JIT compile method '(wrapper delegate-invoke):invoke_callvirt_Nullable'1_User(Entities)' while running with --aot only. See http://xamarinsupport for more information.)

I have to do somthing different when I execute in the phone?

Thanks.

It was all a problem with the Profile of the PCL that I used in the xamarin.

I changed all the PCL to use Profile78 and then all worked so far.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM