Building a Unity Project as a Static Library in XCode

Hello,

For a project I am working on, I would like to take a Unity project that has been published to XCode, and build it from XCode as a static library that can then be easily imported into an existing XCode project.

I found this blog post, but had difficulty following the sparse instructions: http://matthewhx.blogspot.com/2013/11/unity3d-xcode-project-integrates-with.html

Simply adding everything from the Unity project to both the “Compile Sources” and “Link Binary With Libraries” section, as seems to be indicated from the above tutorial, resulted in a ton of errors.

If anyone has experience with something like this, I would greatly appreciate any pointers. Thanks!

bump