【发布时间】:2013-02-23 00:09:31
【问题描述】:
我正在使用来自 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
- ServiceStack.Interface.dll
- ServiceStack.Text.dll
而且只有这一次调用:
new JsonServiceClient ().GetAsync<MyResponse> (url, Success, Failure);
【问题讨论】:
-
您使用的是 MonoTouch 5.2.x 还是 5.3.x ?
-
MonoDevelop 2.8.8.4 安装 UUID: 438ac2b5-07c9-45e7-a8ce-eac5ad86371d 运行时: Mono 2.10.9 (tarball Tue Mar 20 15:31:37 EDT 2012) GTK 2.24.10 GTK# ( 2.12.0.0) Apple 开发者工具:Xcode 4.3.1 (1176) Build 4E1019 Monotouch:5.2.10
-
错误报告中的更多详细信息填写为bugzilla.xamarin.com/show_bug.cgi?id=4381
标签: c# xamarin.ios monodevelop jit servicestack