我正在使用来自https://github.com/ServiceStack/ServiceStack/tree/master/release/latest/MonoTouch的服务堆栈的 MonoTouch 构建
在 iPad 上运行时,我收到JIT错误。我认为 MonoTouch 在构建中解决了这个问题?
Attempting to JIT compile method
'ServiceStack.Text.Json.JsonReader`1<Common.AppCategoryEnum>:GetParseFn ()' while running
with --aot-only.
我使用 DLLS:
- ServiceStack.Common.dll
- 服务栈接口.dll
- ServiceStack.Text.dll
只有这个单一的电话:
new JsonServiceClient ().GetAsync<MyResponse> (url, Success, Failure);