handsomecode / UnityBuildKit

A command line tool that generates an iOS application with an embedded Unity scene
MIT License
29 stars 0 forks source link

UnityUtils.mm not properly added to project #7

Closed enmiller closed 6 years ago

enmiller commented 6 years ago

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.

enmiller commented 6 years ago

Fixed in v1.1.0 Requires Unity 2017.1.2+