Log in or register to post comments

Video texture playback iOS 9.2 fix ("libVuforiaMedia.a" ignored

February 8, 2016 - 7:17am #1

Hello:

Notice we use Unity and stream video when markers are viewed. 

We noticed a bug that sounds very much like this issue: 

https://developer.vuforia.com/forum/unity-extension-technical-discussion/video-texture-playback-ios-92  ,

in which our video based Vuforia app loses sync between the audio and video (we have yet to separate them), then basically stops playing any video (but doesn't crash to a black screen or anything).

*Interestingly, we tested on two devices (OS 9.2.1) had no problem with iPhone 6s, but this issue is seen consistently on iPhone 6.

We implemented the above recommended fix, adding the few lines of code to VideoPlayHelper.m, compile to xcode, take the "libVuforiaMedia.a" and replace it in the plug ins folder (removing the old one), and renaming the VidePlayerHelper.mm to txt,  etc. (including all of the other steps for the sake of not spelling out the previous thread).  

After compiling to xcode (7.2.1 to be exact) we get this error mesage saying that xCode is ignoring "libVuforiaMedia.a". (see below)

"ld: warning: ignoring file /Users/M...../Desktop/l..../Libraries/libVuforiaMedia.a, file was built for unsupported file format ( 0x62 0x6F 0x6F 0x6B 0x00 0x00 0x00 0x00 0x6D 0x61 0x72 0x6B 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (arm64): /Users/MichaelDykierGrislyManor/Desktop/PF Mic 2.7.16/Libraries/libVuforiaMedia.a"

Any insights on what we might have done wrong; assuming that this fix isn't even applicable to my issues, it shouldn't break my project.

 

Thanks,

Michael

Video texture playback iOS 9.2 fix ("libVuforiaMedia.a" ignored

February 10, 2016 - 1:24am #5

Make sure that both the libVuforiaMedia and your Unity Xcode projects are built with the same version Xcode 7.2.1.

You may want to delete the Xcode projects, restart and do the steps here one more time:

https://developer.vuforia.com/forum/unity-extension-technical-discussion/video-texture-playback-ios-92

 

Video texture playback iOS 9.2 fix ("libVuforiaMedia.a" ignored

February 9, 2016 - 3:38pm #4

FYI: Prior to building the video sample, I compiled with Xcode 6.4 and the video issues stopped.  It returned again when I compiled same project with 7.2.1.  In both cases I tested on a device with the problem operating system 9.2.1.

Video texture playback iOS 9.2 fix ("libVuforiaMedia.a" ignored

February 9, 2016 - 3:36pm #3

It was because the library wasn't fully integrated into Unity Project.  I tried again noticing a Unity warning that went away after closing Unity and restarting.  Xcode compiled without errors, but problem persists.  It might have to do with how we handle playing video on texture; I will test on sample video and let you know.

 

Video texture playback iOS 9.2 fix ("libVuforiaMedia.a" ignored

February 8, 2016 - 8:03am #2

Hi,

I think the error message "...which is not the architecture being linked (arm64): ..."  is quite self-explanatory:

it seems that you have not built it for the right platform;  connect your iOS device to your Mac, run Xcode, select the iOS device from the targte list, and rebuild the project;

also, make sure that the architecture is set to arm64 and armv7

 

Log in or register to post comments