Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
136236's avatar
136236
Honored Guest
11 years ago

Cross compilation job Assembly-CSharp.dll failed for iOS

In addition to Direct to Rift - iOS build gives error when 0.4.2 tool is implemented. (I may open a new thread)
Open a new - empty project. Integrate OVR 0.4.2 tool and build for iOS gives that error (given below). It means that the tool uses something that Unity can't convert for iOS which can be solved by Platform Dependent Compilation (I guess.)

PS. I am integrating tool and building for iOS because I am using oculus on windows /mac build and I don't want to add/ delete each time to switch to iOS mode. The tool should just work :P

Error on building for iOS platform (from Unity 4.5.4f1 pro)

Cross compilation job Assembly-CSharp.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/Unity.app/Contents/PlaybackEngines/iOSSupport/Tools/OSX/mono-xcompiler --aot=full,asmonly,nodebug,static,outfile="Assembly-CSharp.dll.s" "Assembly-CSharp.dll" current dir : /Users/dogukan/Documents/TempToDelete/Oculus042/Temp/StagingArea/Data/Managed
Env: Apple_PubSub_Socket_Render = '/tmp/launch-Dq8kGl/Render'

1 Reply

Replies have been turned off for this discussion
  • korinVR's avatar
    korinVR
    Expert Protege
    I enclosed all OVR/Scripts/*.cs and OVR/Editor/*.cs with "#if !UNITY_IOS" to work around this issue.
    Looks like 0.4.3 does not have this problem :)