Due to a limitation in a dependency project, the UnityUtils.mm is sometimes not properly added to the generated iOS project.
A fix is being worked on in the dependency and UBK will be updated when ready.
Symptoms of this issue:
When building your iOS project, we may encounter an error for a missing method: _unity_init.
Current workaround:
In Xcode, find the UnityUtils.mm file in the Project Navigator and select it. Open the File Inspector side bar, uncheck the target link, then re-check the target link. This should update the .xcodeproj file to include UnityUtils.mm in the build sources.
Due to a limitation in a dependency project, the
UnityUtils.mm
is sometimes not properly added to the generated iOS project.A fix is being worked on in the dependency and UBK will be updated when ready.
Symptoms of this issue: When building your iOS project, we may encounter an error for a missing method:
_unity_init
.Current workaround: In Xcode, find the
UnityUtils.mm
file in the Project Navigator and select it. Open the File Inspector side bar, uncheck the target link, then re-check the target link. This should update the.xcodeproj
file to includeUnityUtils.mm
in the build sources.