You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a test case like this. Test.cs.zip
This it what i got:
Unhandled Exception: System.InvalidOperationException: An AOT error is occurred. MessagePackSerializer.PrepareType<System.Int32> is should be called in advance. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: An AOT error is occurred. MessagePackSerializer.PrepareType<System.Int32> is should be called in advance. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ExecutionEngineException: Attempting to call method 'MsgPack.Serialization.SerializationContext::GetSerializer' for which no ahead of time (AOT) code was generated.
I couldn't get it run on iOS device.
Do you have any suggestions? Thank you in advance!
Activity
yfakariya commentedon Sep 23, 2016
Sorry for delay.
Unfortunately, you must prepare all types you used except you use pre-generated serializers (which can do with
mpu.exe).I reproduced and then put following code, it worked well:
o0160o commentedon Sep 23, 2016
Thank you very much!
On Friday, September 23, 2016, Yusuke Fujiwara notifications@github.com
wrote:
yfakariya commentedon Sep 24, 2016
No problem!
I close this because it looks solved.
Fix UAP build setting. #186
Fix UAP build setting. #186
Fix UAP build setting. #186
Merge pull request #259 from msgpack/fix/uap-packaging
Fix UAP build setting. #186
Fix UAP build setting. #186