unity-game-engineartoolkitmach

Getting Apple Mach-O Linker (Id) Error on iOS app with ar6unity


I have the exact same issue as this; Apple Mach-O Linker (Id) Error on ar6unity iOS

Unfortunately the link to the accepted answer in that post is broken.

I've been trying all sorts of other Mach-O linker error solutions;

Nothing works.

Anybody have any idea on how to solve this?


Solution

  • I ended up having to rebuild the boost libraries for IOS, and make sure to include the 'serialization' library when building.

    I used https://github.com/danoli3/ofxiOSBoost and customized the build scripts to include support for armv7s and added the serialization library.

    Then I had to include the built files in my XCode project and add the library to Library Search Path and the headers to Header Search Paths.