0
Answered

Building Issue with IOS?

Jayasurya A 2 years ago updated 2 years ago 6

I Build a 360 image viewer completely using bolt. It works in Android but doesn't work for IOS? I have no clue. 

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
GOOD, I'M SATISFIED

The support is very helpful. Thank you.

Satisfaction mark by Jayasurya A 2 years ago

You have to give us a little bit more details. 

I assume you made an AOT pre-built? 

Sorry about not providing enough info. I have very knowledge in IOS. I have no idea whats going wrong.

Pending Review

Hi Jayasura,

Do you have error logs from your build or the XCode console?

I don't get any error messages. I'm able to build the project to my ipad. 

This is what i get repeatedly in the console

(Filename: currently not available on il2cpp Line: -1)

ExecutionEngineException: Attempting to call method 'Ludiq.InstanceActionInvoker`2[[UnityEngine.GameObject, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]::.ctor' for which no ahead of time (AOT) code was generated.

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

  at Ludiq.OptimizedReflection.GetMethodInvoker (System.Reflection.MethodInfo methodInfo) [0x00000] in <filename unknown>:0 

  at Ludiq.Member.Prewarm () [0x00000] in <filename unknown>:0 

  at Ludiq.Graph.Prewarm () [0x00000] in <filename unknown>:0 

  at Ludiq.GraphNest`2[TGraph,TMacro].Instantiate (System.Collections.Generic.Dictionary`2 parentInstantiations) [0x00000] in <filename unknown>:0 

  at Ludiq.GraphNest`2[TGraph,TMacro].Instantiate () [0x00000] in <filename unknown>:0 

  at Bolt.FlowMachine.Awake () [0x00000] in <filename unknown>:0 

Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

  at Ludiq.OptimizedReflection.GetMethodInvoker (System.Reflection.MethodInfo methodInfo) [0x00000] in <filename unknown>:0 

  at Ludiq.Member.Prewarm () [0x00000] in <filename unknown>:0 

  at Ludiq.Graph.Prewarm () [0x00000] in <filename unknown>:0 

  at Ludiq.GraphNest`2[TGraph,TMacro].Instantiate (System.Collections.Generic.Dictionary`2 parentInstantiations) [0x00000] in <filename unknown>:0 

  at Ludiq.GraphNest`2[TGraph,TMacro].Instantiate () [0x00000] in <filename unknown>:0 

  at Bolt.FlowMachine.Awake () [0x00000] in <filename unknown>:0 


+1
Answered

It seems like you have not run AOT Pre-Build. Please follow the instructions on this page:

https://support.ludiq.io/knowledge-bases/4/articles/161-building-for-aot-platforms

Thanks its working Now!