environment
Unity 5.6.3f1 Vuforia 5.5.9
xcode build error log
ld: warning: arm64 function not 4-byte aligned: ltmp 0 from /Users/mino_kenji/ UnityProject / CARMtemplate_U5_V5_W1 / xcode / Libraries / libiPhone- lib.a (unwind_test_arm64.o) ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/mino_kenji/UnityProject/CARMtemplate_U5_V5_W1 / xcode / Libraries / libiPhone- lib.a (unwind_test_arm64.o) ld: warning: object file (/Users/mino_kenji/UnityProject / CARMtemplate_U5_V5_W1 / xcode / Libraries / Plugins / iOS / libVuforiaMedia.a (VideoPlayerHelper.o)) was built for newer than not linked (7.0) ld: warning: object file (/Users/mino_kenji/UnityProject / CARMtemplate_U5_V5_W1 / xcode / Libraries / Plugins / iOS / libVuforiaMedia.a (VideoPlayerWrapper.o)) was built for newer than being linked (7.0) Undefined symbols for architecture arm 64: "_UnityRenderBufferMTLTexture", referenced from: PlatformiOS :: setRenderBuffers (void *) in libVuforiaUnityPlayer.a (PlatformiOS.o) "_UnityCurrentMTLCommandEncoder", referenced from: PlatformiOS :: setRenderBuffers (void *) in libVuforiaUnityPlayer.a (PlatformiOS.o) ld: symbol (s) not found for architecture arm 64 clang: error: linker command failed with exit code 1 (use - v to see invocation)
I think it is because the following method does not exist in Unity 5.6.3f1 (it was deleted because it became an unsupported function).
_UnityRenderBufferMTLTexture _UnityCurrentMTLCommandEncoder
Instead, it may be necessary to use the following method.
TextureFromRenderBuffer CurrentCommandEncoder
However, we can not fix libVuforiaUnityPlayer.a, so what do we do? (For example, to make wrappers of two methods.)
Hello wiz,
Hello wiz,
You'll need to use Vuforia 6.2.10 if you want to use Unity 5.6.X. Or alternatively, update to Unity 2017.2 with Vuforia 6.5.
Thanks,