handsomecode/UnityBuildKit

UnityUtils.mm not properly added to project

Closed this issue · 1 comments

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.

Fixed in v1.1.0
Requires Unity 2017.1.2+