Log in or register to post comments

Xcode 7 iOS 9

September 19, 2015 - 3:43pm #1

Hi to all,

I am using the latest vuforia library for Unity (5.0.5), when I export the project with Unity to XCode everything goes witout a hitch But when I try to compile the generated XCode project I get a lot of errors:

Undefined symbols for architecture arm64:

  "_videoPlayerGetCurrentBufferingPercentageIOS", referenced from:

      _VideoPlayerHelper_videoPlayerGetCurrentBufferingPercentageIOS_m889 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerGetCurrentBufferingPercentageIOS_m889)

  "_videoPlayerSeekToIOS", referenced from:

      _VideoPlayerHelper_videoPlayerSeekToIOS_m886 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerSeekToIOS_m886)

  "_videoPlayerOnPauseIOS", referenced from:

      _VideoPlayerHelper_videoPlayerOnPauseIOS_m890 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerOnPauseIOS_m890)

  "_videoPlayerSetVolumeIOS", referenced from:

      _VideoPlayerHelper_videoPlayerSetVolumeIOS_m888 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerSetVolumeIOS_m888)

  "_videoPlayerPauseIOS", referenced from:

      _VideoPlayerHelper_videoPlayerPauseIOS_m883 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerPauseIOS_m883)

  "_videoPlayerPlayIOS", referenced from:

      _VideoPlayerHelper_videoPlayerPlayIOS_m882 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerPlayIOS_m882)

  "_videoPlayerGetVideoHeightIOS", referenced from:

      _VideoPlayerHelper_videoPlayerGetVideoHeightIOS_m880 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerGetVideoHeightIOS_m880)

  "_videoPlayerDeinitIOS", referenced from:

      _VideoPlayerHelper_videoPlayerDeinitIOS_m872 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerDeinitIOS_m872)

  "_videoPlayerGetVideoWidthIOS", referenced from:

      _VideoPlayerHelper_videoPlayerGetVideoWidthIOS_m879 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerGetVideoWidthIOS_m879)

  "_videoPlayerUpdateVideoDataIOS", referenced from:

      _VideoPlayerHelper_videoPlayerUpdateVideoDataIOS_m885 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerUpdateVideoDataIOS_m885)

  "_videoPlayerGetLengthIOS", referenced from:

      _VideoPlayerHelper_videoPlayerGetLengthIOS_m881 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerGetLengthIOS_m881)

  "_videoPlayerSetVideoTextureIDIOS", referenced from:

      _VideoPlayerHelper_videoPlayerSetVideoTextureIDIOS_m877 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerSetVideoTextureIDIOS_m877)

  "_videoPlayerStopIOS", referenced from:

      _VideoPlayerHelper_videoPlayerStopIOS_m884 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerStopIOS_m884)

  "_videoPlayerInitIOS", referenced from:

      _VideoPlayerHelper_videoPlayerInitIOS_m871 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerInitIOS_m871)

  "_videoPlayerGetCurrentPositionIOS", referenced from:

      _VideoPlayerHelper_videoPlayerGetCurrentPositionIOS_m887 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerGetCurrentPositionIOS_m887)

  "_videoPlayerIsPlayableOnTextureIOS", referenced from:

      _VideoPlayerHelper_videoPlayerIsPlayableOnTextureIOS_m875 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerIsPlayableOnTextureIOS_m875)

  "_videoPlayerIsPlayableFullscreenIOS", referenced from:

      _VideoPlayerHelper_videoPlayerIsPlayableFullscreenIOS_m876 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerIsPlayableFullscreenIOS_m876)

  "_videoPlayerUnloadIOS", referenced from:

      _VideoPlayerHelper_videoPlayerUnloadIOS_m874 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerUnloadIOS_m874)

  "_videoPlayerGetStatusIOS", referenced from:

      _VideoPlayerHelper_videoPlayerGetStatusIOS_m878 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerGetStatusIOS_m878)

  "_videoPlayerLoadIOS", referenced from:

      _VideoPlayerHelper_videoPlayerLoadIOS_m873 in Bulk_Assembly-CSharp_1.o

     (maybe you meant: _VideoPlayerHelper_videoPlayerLoadIOS_m873)

ld: symbol(s) not found for architecture arm64

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

 

Does anyone know how to fix this errors or if this errors are related to the latest XCode (Xcode 7 at the time of this writing) and iOS 9?

 

Any help would be appreciated.

Thanks

Xcode 7 iOS 9

September 22, 2015 - 8:53am #3

As an additional note, it looks like the Vuforia Media plugin does not support the 64bit arm architecture, so perhaps something is misconfigured or you are perhaps using an old version of such plugin.

You can try the VideoPlayback sample (which includes the Vuforia Media plugin); if you are building with Unity 5.2, this should compile, link and run fine with Xcode 7 and iOS9.

If you are using a version of Unity 5.x older than 5.2, you should upgrade to the latest 5.2.x.

 

If you are building with Unity 4.6.8, you will need to select the Build Settings tab of your build target in Xcode 7, go to Build Options and disable the "ENABLE BITCODE" option; then it will compile and run OK.

If you are using a version of Unity 4.6.x prior to 4.6.8 you should upgrade to 4.6.8 or newer.

 

 

Xcode 7 iOS 9

September 21, 2015 - 5:07pm #2

Are you using the same Unity Player Settings as shown in this FAQ:

https://developer.vuforia.com/forum/faq/unity-player-settings

 

Log in or register to post comments