Ran out of Trampolines

If Xcode tells you that you ran out of trampolines and your app crashes, don’t worry your application still can jump on your IOS device 😉 If you heavily use recursive Generics (type 1) or like in my case interfaces (type 2) just set the AOT settings higher!

I had a great laugh when i read for the first time that my Application ran out of trampolines 🙂 

Type 0 (default 1024)

-aot “ntrampolines=2048”

Type 1 (default 1024)

-aot “nrgctx-trampolines=2048”

Type 2 (default 128)

-aot “nimt-trampolines=512”

 

Just go to your Unity3D PlayerSettings -> Other -> AOT Compilation Options and paste the line from above there:

Ran out of Trampolines type 2

AOT Compilation Options in PlayerSettings under Other Settings

 

Source: http://developer.xamarin.com/guides/ios/troubleshooting/troubleshooting/

 

have fun jumping on your new trampolines 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s