Ran out of trampolines of type 0

前端 未结 2 772
渐次进展
渐次进展 2021-01-15 06:12

I\'m writing an app for the Iphone using Monotouch. When I deploy the application on my iphone I get the error at runtime Thu Mar 10 23:38:36 unknown UIKitApplication:com.xx

2条回答
  •  臣服心动
    2021-01-15 06:38

    Type 0 are method trampolines. The parameter you want is

    -aot "ntrampolines=4048"
    

    From the mono man pages:

    ntrampolines=[number] When compiling in full aot mode, the method trampolines must be precreated in the AOT image. You can add additional method trampolines with this argument. Defaults to 1024.

提交回复
热议问题