Log in or register to post comments

problems with ios6 fix

September 13, 2012 - 11:49pm #1

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.

problems with ios6 fix

June 24, 2014 - 4:16am #14

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.

 

ld: warning: ignoring file ../../build/lib/arm/libQCAR.a, missing required architecture i386 in file ../../build/lib/arm/libQCAR.a (2 slices)

Undefined symbols for architecture i386:

  "QCAR::ImageTarget::getClassType()", referenced from:

      -[QCARutils findImageTarget:] in QCARutils.o

      -[QCARutils getImageTarget:] in QCARutils.o

  "QCAR::MultiTarget::getClassType()", referenced from:

      -[QCARutils findMultiTarget] in QCARutils.o

  "QCAR::CameraDevice::getInstance()", referenced from:

      -[QCARutils cameraSetTorchMode:] in QCARutils.o

      -[QCARutils cameraSetContinuousAFMode:] in QCARutils.o

      -[QCARutils cameraPerformAF] in QCARutils.o

      -[QCARutils startCamera] in QCARutils.o

      -[QCARutils stopCamera] in QCARutils.o

      -[QCARutils configureVideoBackground] in QCARutils.o

  "QCAR::ImageTracker::getClassType()", referenced from:

      -[QCARutils initTracker] in QCARutils.o

      -[QCARutils startCamera] in QCARutils.o

      -[QCARutils stopCamera] in QCARutils.o

      -[QCARutils unloadDataSet:] in QCARutils.o

      -[QCARutils loadDataSet:] in QCARutils.o

      -[QCARutils deactivateDataSet:] in QCARutils.o

      -[QCARutils activateDataSet:] in QCARutils.o

      ...

  "QCAR::MarkerTracker::getClassType()", referenced from:

      -[QCARutils stopCamera] in QCARutils.o

  "QCAR::getBufferSize(int, int, QCAR::PIXEL_FORMAT)", referenced from:

      -[ARCALView createCGImage:] in ARCALView.o

  "QCAR::requiresAlpha()", referenced from:

      -[AR_EAGLView initRendering] in AR_EAGLView.o

  "QCAR::TrackerManager::getInstance()", referenced from:

      -[QCARutils initTracker] in QCARutils.o

      -[QCARutils startCamera] in QCARutils.o

      -[QCARutils stopCamera] in QCARutils.o

      -[QCARutils unloadDataSet:] in QCARutils.o

      -[QCARutils loadDataSet:] in QCARutils.o

      -[QCARutils deactivateDataSet:] in QCARutils.o

      -[QCARutils activateDataSet:] in QCARutils.o

problems with ios6 fix

November 29, 2012 - 1:26am #13

You need to add the Security framework, and then all should be fine :)

N

problems with ios6 fix

November 28, 2012 - 1:14pm #12

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:

Undefined symbols for architecture armv7:

  "_SecItemAdd", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecReturnRef", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecValueData", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_SecItemDelete", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_SecKeyDecrypt", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecAttrKeyClass", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecAttrKeyClassPublic", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecClassKey", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_SecItemCopyMatching", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecClass", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_SecKeyGetBlockSize", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecAttrKeyTypeRSA", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecReturnPersistentRef", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecAttrCanDecrypt", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecAttrKeyType", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

  "_kSecAttrApplicationTag", referenced from:

      l2920 in libQCAR.a(libQCAR.a-armv7-master.o)

ld: symbol(s) not found for architecture armv7

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

 

Any help would be appreciated. By the way, I'm still using Unity 3.5.6.

problems with ios6 fix

November 28, 2012 - 10:49am #11

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:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarSetFrameFormat", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererGetVideoBackgroundCfg", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerDestroyDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerActivateDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_cameraDeviceSetFlashTorchMode", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTargetCreateVirtualButton", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_getProjectionGL", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_dataSetGetTrackablesOfType", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_trackerManagerDeinitTracker", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

 

I have set the Architectures to armv6 armv7 and BUild Active Architecture Only to No. The project file does not have any spaces in its name.

problems with ios6 fix

November 20, 2012 - 4:13am #10

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

problems with ios6 fix

November 19, 2012 - 7:21pm #9

Here is the latest info I can provide to best help you solve issue:

Unity 4

- I have pro version of both Unity and the iOS extension

Vuforia ios 1.5.10 unity extension

XCode 4.5.2

- Architectures and Valid Architectures all set to armv7 under Build Settings (Resolved, Unity-Iphone, Unity-Iphone). However, iOS Default is      grayed out and I cannot change. It is set to Standard (armv7, armv7s)

 - Keep receiving "Apple Mach-O Linker Errors" with regard to Vuforia features

ex: 

Undefined symbols for architecture armv7:

  "_markerGetId", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarSetFrameFormat", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererGetVideoBackgroundCfg", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerDestroyDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerActivateDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_cameraDeviceSetFlashTorchMode", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTargetCreateVirtualButton", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_getProjectionGL", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_dataSetGetTrackablesOfType", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_trackerManagerDeinitTracker", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_trackerManagerInitTracker", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererSetVideoBackgroundCfg", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarRequiresAlpha", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_cameraDeviceStartCamera", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererIsVideoBackgroundTextureInfoAvailable", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_dataSetGetNumTrackableType", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_virtualButtonIsEnabled", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_isRendererDirty", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererGetVideoBackgroundTextureInfo", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_updateQCAR", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerCreateDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_markerSetSize", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererSetVideoBackgroundTextureID", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTargetGetVirtualButtons", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_virtualButtonSetEnabled", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarGetBufferSize", referenced from:

(there are 62 errors total... Ive only provided some of them)

 

 

problems with ios6 fix

November 19, 2012 - 8:40am #8

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

problems with ios6 fix

November 19, 2012 - 8:39am #7

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.

problems with ios6 fix

September 24, 2012 - 12:41am #6

hi tgotzsche,

Many thanks for this.

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

 
Basically in Xcode go to Valid Architectures in Build Settings where it says armv7 armv7s and change it to armv7 only, and then compile and run.
 
FYI we will investigate the full support of the armv7s architecture for the next version of the SDK.
 
thanks
 
N

problems with ios6 fix

September 22, 2012 - 12:05pm #5

problems with ios6 fix

September 22, 2012 - 11:39am #4

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

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

 

Phone: 4S running iOS

XCode: 4.5

SDK  : 1.5.9

 

I cant compile any of the samples or my own projects.....

 

 

 

 

problems with ios6 fix

September 14, 2012 - 3:31am #3

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.

problems with ios6 fix

September 14, 2012 - 1:02am #2

Hi Darkmax,

 i update the unity package with the new version,

..you mean you updated the libQCAR.a in the Unity project - as we did not release any new unity package

You seem to be using XCode 4.4.1 ?

My understanding from iOS6 was that it used 4.5.3 (preview) which is required to build iOS6.

If you are not using this could you please try with this?

The other thing I have seen sometimes is problems with spaces in file names - make sure you have none of these in your build directory path.

 

thanks

N

 

Log in or register to post comments