- Home /
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::CreateMainAppEXPECTED_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)
Answer by Charles-Van-Norman · Sep 03, 2017 at 09:00 PM
I am also having this issue XCode 9 Beta 5, unity 5.6.2. Cannot seem to find an answer anywhere.
Answer by unity_2KbCZPUE7Dsl8g · Sep 27, 2017 at 01:03 PM
same here. Xcode Version 9.0 (9A235)
@unity_2$$anonymous$$bCZPUE7Dsl8g did you solve this?
Answer by PEZO19 · Jul 16, 2019 at 06:38 PM
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.)
Answer by fd-software · Nov 21, 2019 at 07:19 AM
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.
Your answer
Follow this Question
Related Questions
anyone else having issues with 5.3 and xCode 7.2? 4 Answers
Xcode error when Archiving linker command failed with exit code 1 (use -v to see invocation) clang 1 Answer
Build errors : This function declaration is not a prototype. 2 Answers
"Call to unavailable function: 'system': not available on iOS 0 Answers
iOS Xcode LLVM error when team members try to build 0 Answers