GData Archive armv7 error

126 views
Skip to first unread message

Haad M

unread,
Aug 22, 2012, 7:42:22 PM8/22/12
to gdata-objec...@googlegroups.com

Hi Everyone,

I posted my problem on Stack Overflow, I thought I should post here to see if I can get some more answers.

Original Post:http://stackoverflow.com/questions/12082796/gdata-iphone-archive-error

Following the instructions here: http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/ 
I added GData to my iOS 5 project. When it's time to archive the project I get the following error:

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_GDataServiceGoogleYouTube", referenced from: objc-class-ref in DataManager.o "_OBJC_CLASS_$_GDataEntryYouTubeVideo", referenced from: objc-class-ref in DataManager.o objc-class-ref in ListController.o objc-class-ref in ShareController.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've checked the build settings for the GData.xcodeproj -> GDataTouchStaticLib, and this is what I set them to as seen by this pic: http://i.imgur.com/C7cA1.png)

Any help is appreciated, to help get my project archived.

Greg Robbins

unread,
Aug 22, 2012, 9:09:02 PM8/22/12
to gdata-objec...@googlegroups.com
The YouTube classes are not being linked into the target. Perhaps the target build settings are not not defining the macro GDATA_INCLUDE_YOUTUBE_SERVICE

See the discussion at https://code.google.com/p/gdata-objectivec-client/wiki/BuildingTheLibrary#Removing_Unneeded_Code

Reply all
Reply to author
Forward
0 new messages