Forum Discussion
136236
11 years agoHonored Guest
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'
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
- korinVRExpert ProtegeI 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 :)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 years agoAnonymous
- 8 months ago
- 3 years ago