-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
What happened?
More a heads up than a bug, don't know if it's the right place (Unity 2021.2.0b13)
Can't build iOS with unity realm dependency installed as described here
Repro steps
Create Unity project
Add Realm dependency
Select iOS target
Unity Build
Version
Unity Realm package 10.6.0
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
What type of application is this?
Unity
Client OS and version
Unity 2021.2.0b13
Code snippets
No response
Stacktrace of the exception/crash you're getting
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 1 failed ones Annotation: IL2CPP_CodeGen /Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/buildstate/artifacts/il2cpp_conv_hn6f.traceevents Cmdline: "/Applications/Unity/Hub/Editor/2021.2.0b13/Unity.app/Contents/il2cpp/build/deploy/il2cpp" --convert-to-cpp --directory="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Temp/StagingArea/Data/Managed" --data-folder="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/il2cppOutput/Data" --generatedcppdir="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/il2cppOutput" --symbols-folder="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/il2cppOutput/Symbols" --additional-cpp="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/additionalCppFiles/UnityClassRegistration.cpp" --additional-cpp="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/additionalCppFiles/UnityICallRegistration.cpp" --emit-null-checks --enable-array-bounds-check --code-generation-option=EnableInlining --stats-output-dir="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/il2cppOutput" --dotnetprofile=unityaot-macos --cachedirectory="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS" --profiler-report --profiler-output-file="/Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/buildstate/artifacts/il2cpp_conv_hn6f.traceevents" ExitCode: 1 Stdout: Failed because this command failed to write the following output files: /Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/buildstate/artifacts/il2cpp_conv_hn6f.traceevents /Users/jonathan/Documents/Dev/realm/RealmBetaTest/Library/Il2cppBuildCache/iOS/buildstate/artifacts/il2cpp_conv_hn6f.traceevents
Relevant log output
No response