Log in or register to post comments

Linker Errors on Vuforia 8.1 Unity 2018.3.0f2

May 8, 2019 - 8:08pm #1

Hello,

 

I have a vuforia project that's already in the app store (testflight). I needed to make an update to it and vuforia asked me to upgrade so i did. I re-built the project to generate a new xcode project. When In go to xcode and try to build an archive, i get some linker errors. I would appreciate any help. Here is the top of my stack trace: 

 

 

 

Undefined symbols for architecture armv7:
  "_UnityPluginUnload", referenced from:
      -[VuforiaNativeRendererController shouldAttachRenderDelegate] in VuforiaNativeRendererController.o
  "_UnityPluginLoad", referenced from:
      -[VuforiaNativeRendererController shouldAttachRenderDelegate] in VuforiaNativeRendererController.o
  "_setSurfaceRecreated", referenced from:
      -[VuforiaRenderDelegate onAfterMainDisplaySurfaceRecreate] in VuforiaRenderDelegate.o
  "_vuMarkTemplateGetOrigin", referenced from:
      _VuforiaNativeWrapper_VuMarkTemplateGetOrigin_m28CC7848E16BCA3A506E2D37240BF53628F18B40 in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_vuMarkTemplateGetOrigin_mFB35302F02FE52E99032CA09AEB5DBFE56B1B4D0 in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_vuMarkTemplateGetOrigin_mFB35302F02FE52E99032CA09AEB5DBFE56B1B4D0)
  "_vuMarkTargetGetInstanceImage", referenced from:
      _VuforiaNativeWrapper_VuMarkTargetGetInstanceImage_m09AA860B6D5B6F634C9476A32B988A43B6C52F39 in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_vuMarkTargetGetInstanceImage_m86744291A44C2097C02FE50842DF3661D94D410E in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_vuMarkTargetGetInstanceImage_m86744291A44C2097C02FE50842DF3661D94D410E)
  "_virtualButtonGetId", referenced from:
      _VuforiaNativeWrapper_virtualButtonGetId_m20433C19A2D462100D0C00BD72074CFC695F41C6 in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_virtualButtonGetId_m20433C19A2D462100D0C00BD72074CFC695F41C6)
  "_viewerParametersList_Size", referenced from:
      _VuforiaNativeWrapper_ViewerParametersList_Size_m268E66B9733609BA3864F20AA4A0891AF5C64C1A in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_viewerParametersList_Size_mE86B8C6D6544C65C95156C01FE26CEA8083A4759 in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_viewerParametersList_Size_mE86B8C6D6544C65C95156C01FE26CEA8083A4759)
  "_viewerParametersList_SetSDKFilter", referenced from:
      _VuforiaNativeWrapper_ViewerParametersList_SetSDKFilter_m39DA34523045532FF8670A39CEFAD80634520494 in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_viewerParametersList_SetSDKFilter_mCF0A834EF5019B098BF1B25BF59D331356A8238C in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_viewerParametersList_SetSDKFilter_mCF0A834EF5019B098BF1B25BF59D331356A8238C)
  "_viewerParametersList_GetListForAuthoringTools", referenced from:
      _VuforiaNativeWrapper_ViewerParametersList_GetListForAuthoringTools_mC7A2E51DA340EBA1E16E7AB85D509D7DEFF46763 in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_viewerParametersList_GetListForAuthoringTools_mE92599FCC9353173ADDA996C6F5BFC67033E0C02 in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_viewerParametersList_GetListForAuthoringTools_mE92599FCC9353173ADDA996C6F5BFC67033E0C02)
  "_viewerParametersList_GetByIndex", referenced from:
      _VuforiaNativeWrapper_ViewerParametersList_GetByIndex_m95BCD89ECBD833496F2149D7B9630A60EA8D0121 in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_viewerParametersList_GetByIndex_m99CF3E10EAA6ADA290157E624981FCE5948FB76D in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_viewerParametersList_GetByIndex_m99CF3E10EAA6ADA290157E624981FCE5948FB76D)
  "_viewerParametersList_Begin", referenced from:
      _VuforiaNativeWrapper_ViewerParametersList_Begin_mE437F25AD671E902CE0F7299F3EBACDBFC0F0860 in Bulk_Vuforia.UnityExtensions_3.o
      _VuforiaNativeWrapper_viewerParametersList_Begin_mE12FBA501ED80554D964DCE4D4603678C2AC26E5 in Bulk_Vuforia.UnityExtensions_3.o
     (maybe you meant: _VuforiaNativeWrapper_viewerParametersList_Begin_mE12FBA501ED80554D964DCE4D4603678C2AC26E5)
  "_viewerParameters_GetScreenToLensDistance", referenced from:

Linker Errors on Vuforia 8.1 Unity 2018.3.0f2

May 10, 2019 - 3:59pm #3

This indeed allowed the build to run. Thank you so friggin much. I've never been this satisfied with the level of support from a company like this one. Usually the answer is little more than "sorry, figure it out"

Linker Errors on Vuforia 8.1 Unity 2018.3.0f2

May 9, 2019 - 2:23pm #2

Hello,

I believe this may be related to support for 32-bit iOS devices being removed from 8.1.7 Engine SDK: https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Quote: "Support for iOS 9, iOS 10 and 32-bit iOS devices has been removed. Developers should update their builds to target a minimum release of iOS 11 and remove references to 32-bit architectures (armv7, armv7s)."

As a workaround, you can set the architecture in Unity to compile only for ARM64, in player settings, as attached in the screenshot.

Thanks,

Vuforia Engine Support

AttachmentSize
Image icon player_settings_arch.png1.63 KB
Log in or register to post comments