Arm 64 function not 4-byte aligned build failed!!!

Hi people, how can resolve this issues ? Thanks!!!

ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Volumes/Cenografia_SERVER/DOC IMPORTANTES/UDACITY PROJECTS/TESTES/Tutorial_cardboard/build/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Volumes/Cenografia_SERVER/DOC IMPORTANTES/UDACITY PROJECTS/TESTES/Tutorial_cardboard/build/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
Undefined symbols for architecture arm64:
“_kSecValueData”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecAttrKeyClassPublic”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecAttrKeyClass”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecAttrCanDecrypt”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecClass”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_SecItemCopyMatching”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecReturnPersistentRef”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecReturnRef”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_SecKeyDecrypt”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecClassKey”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecAttrApplicationTag”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_kSecAttrKeyType”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_SecItemAdd”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
“_SecKeyGetBlockSize”, referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
SecItemDelete", referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
"kSecAttrKeyTypeRSA", referenced from:
l6305 in libVuforia.a(libVuforia.a-arm64-master.o)
"gvr::CreateMainApp__EXPECTED_EXACTLY_ONE_VR_MAIN_APP_STATEMENT
(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&)”, referenced from:
l001 in libplatform.a(vr_ios.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

+1 – I am also having this issue XCode 9 Beta 5, unity 5.6.2. Cannot seem to find an answer anywhere.

same here. Xcode Version 9.0 (9A235)

Anybody who have found the solution ?

Same happened to me. I set the checked the “Symlink Unity libraries” in the Build settings and the problem went away.

The interesting thing is, that

  1. I had an earlier build (which might have been built with the “Symlink Unity libraries” checked)
  2. when I APPENDED to that build (without checked box) the error did not came up.

I also read somewhere, that builds submitted to the App Store shall not use this box checked, but I don’t get really why. (I think it’s been working for me for a while, but maybe I don’t remember properly.)

I had this issue after updated GoogleMobileAds SDK.

And then I solve it by changing the file: GoogleMobileAdsDependencies.xml

from
<iosPod name="Google-Mobile-Ads-SDK" version="~> 7.41">

to
<iosPod name="Google-Mobile-Ads-SDK" version="7.49.0">

Maybe you can try to lock the Vuforia pod version.