"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

problems with ios6 fix

Hi im having some prolems with the ios 6 fix, i update the unity package with the new version, im when im compiling the project it show 1 error that qcarunitplayer.h was not found, so i just drage it form the plugins folder from the unity project to the classes folder of the xcode project, and i hit compile again and then 15 errors it shows:

----------------------------------

Undefined symbols for architecture armv7:

  "_GetNextFrameTime", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetYHeight", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetUVStride", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_DecodeFrame", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_CloseStream", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_ReAllocTexture", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_OpenStream", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_DecodeAndUpload", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetPicWidth", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetYStride", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetUVHeight", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetPicHeight", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetPlane", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_GetAspectRatio", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

----------------------------------------------

 

Im using 1.5.9 ios version of vuforia

mac osx 10.7.4

xcode 4.4.1

testing my app on a device iphone 4 with ios 5.1.1

i need to set to arm7, because i use some shaders that only works on arm7

 

please i need some help.

when i mean is that i update the vuforia package with that, i will download the new xcode, but made some others tests and a clean project works greate, so i conclude that something happen with my project.

But i will tried update the xcode.

tgotzsche

Sat, 09/22/2012 - 18:39

I also have this problem since upgrading to iOS6 and XCode 4.5

ld: file is universal (2 slices) but does not contain a(n) armv7s slice: ../../build/lib/arm/libQCAR.a for architecture armv7s

tgotzsche

Sat, 09/22/2012 - 19:05

found workaround

 

http://stackoverflow.com/questions/12534334/linker-command-failed-with-exit-code-1-xcode4-5

hi tgotzsche,

Many thanks for this.

Another developer did report this earlier and I did respond here.

Using armv7 only in XCode 4.5.2 > Build Settings > Architectures and still have Apple Mach-O Linker Errors.

Again, here is workflow:

Vuforia 1.5.9

Unity 4 beta

XCode 4.5.2 (compiling for iPhone 3GS)

I can compile for Android with no problem.

It could be because you are using Unity 4 which is not yet supported by Vuforia

Unity 4 Update

..though it is hard to say as you have not posted any details of what these errors are ;)

N

Have you checked you have no spaces in your filenames or directory names at all?

What happens when you create a sample from scratch using ImageTargets?

N

I was wondering if you found how to fix this as I am also experiencing 60 erros when try to build the xcode project.

The erros look like this:

Undefined symbols for architecture armv7:

  "_markerGetId", referenced from:

Well, I noticed something stupid on my part. I was doing the development on my pc wich has the android plug-in and when I opened it on the mac it still had the android version of the plug-in. So I fixed that and it got rid of a lot of errors, but not all of them. I'm down to only 17 errors:

somasundaram

Tue, 06/24/2014 - 11:16

I had used  Vuforia sdk iOS 2.8.7 IN xcode 5.1, have some issue are found in my code, cou;ld you suggest me to slove this issue.