Gdata-objectivec architecture armv7 error sharing video on youtube with iphone sdk

I use the gdata-objectivec library to share videos on Youtube from my application. For this, I use xcode 4.6 and iOS 6.0, but the compiled static library libGDataTouchStaticLib.a does not support the armv7 and armv7s architectures.

Can someone help me compile libGDataTouchStaticLib.a for armv7 architecture? I also posted this in google group.

I also saw this sample code, and it successfully downloaded the video from the iPhone simulator, but gave an error on the device.

I also tried installing it on the device using xcode 4.3, but did not get any success. I also changed some flags in target> build, like the header search path, another C linker flag, etc., and also after this tutorial

I also downloaded the gdata-objectivec library from the svn server using a terminal window, but I do not know how to compile libGDataTouchStaticLib.a using the command from the mac os terminal for armv7 architecture (xcode 4.5 or 4.6).

If someone used the gdata-objectivec library to upload videos to Youtube from the latest xcode or successfully compiled libGDataTouchStaticLib.a to get the latest xcode, then please help me?

+4
source share
2 answers

Do not forget to add below the three elements in other linker flags in the project build settings: -ObjC, -lxml2, -all_load. It worked for me.

+1
source

Just remove arv7s from valid architectures in the build settings section and compile it for you.

0
source

All Articles