By deleurapps
on Mon, 03/16/2015 - 00:22
Hello!
I've been trying to integrate the Vuforia SDK into a preexisting iOS app, but I keep getting errors that seem to be related to the 64-bit architecture. Here is what I'm getting (also attached a screenshot):
Undefined symbols for architecture arm64: "_fcvV5w_1", referenced from: l6862 in libVuforia.a(libVuforia.a-arm64-master.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Also, if I remove arm64 from "Valid Architectures" the app seems to compile. However, arm64 is now required so I can't do that.
Thanks
arm64 linker error
Make sure your Deployment Target is set to iOS 7.0 or higher (in Xcode > Build Settings ...)
arm64 linker error
I tried doing that, but it still does not work. I attached a new screenshot where you can see
and It still gives an error. Any other ideas?
arm64 linker error
OK, that seems correct.
arm64 linker error
I've probably went through the build settings 5 times now, but nothing seems to do it :(
also, I'm not using Unity, if that's what you're refering to as plugins.
arm64 linker error
I was not referring to Unity, just meant "libraries" for "plugins"
I'm attaching some screenshots that show the most important settings of a Vuforia Sample;
arm64 linker error
Yep, checked all of these and they seem to match.
arm64 linker error
Have you selected your USB-connected device as the target device ? (i.e. make sure not to build for the "iOS Simulator")
see screenshot.
arm64 linker error
Everything seems correct there as well.
And I only started developing with Vuforia a week ago, so I wouldn't have 2.x or 3.x
arm64 linker error
Is there any way I can download an older version of Vuforia 4.0? Maybe its just a problem in this build..?
arm64 linker error
If you have downloaded Vuforia 4.0 (not the Beta), that should be fine; for example, you should be able to verify that the Vuforia Samples project can be built and run without problems.
arm64 linker error
Yes the sample works for me.
I am just running out of possible reasons for why it's not working. Is there anything else that could be causing this? It's just a single error, which is weird.
arm64 linker error
Does you project use some 3rd party libraries that do not support 64bit ?
If so, you may want to check if by removing / disabling some of those libs, things start to work.
arm64 linker error
The project works perfectly before I add Vuforia, so it can't be any other library
arm64 linker error
Hello,
I got same error.
So,i can't settle a problem yet, either.
Can someone have an opinion?
thank you.
arm64 linker error
Hello,
I probably found the cause...
xcode -> Build Setting -> dead code stripping -> NO to change YES
So, "_fcvV5w_1" is dead part?
But my project doesn't build without "dead code stripping->NO" setting...
arm64 linker error
Hi,
I'm getting the same problem, and I also can't seem to use the dead code stripping flag as it breaks other parts of my build.
arm64 linker error
Vuforia 4.x and 5.x do support arm64 on iOS; you can verify that this is the case with a very simple test, i.e.
arm64 linker error
Hi Alessandro,
arm64 linker error
It may be useful to know that I am also getting a similar error:
arm64 linker error
arm64 linker error
Hi Eiyo,
Thanks for the suggestion. Unfortunately the libVuforia.a file only contains one objfile.
Do you know how I could split the symbol out, or perhaps use the strip command on the .a file for only that symbol?
Cheers
Indigo