I'm trying to include GData framework in my project for hours now and I'm completely lost. I'm trying to follow instructions on gdata-objectivec-client's page (https://code.google.com/p/gdata-objectivec-client/), but they're very outdated.
If I try to link static library (using instructions from this site, which is referenced in installation guide -> https://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/) In the end I get those errors:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GDataServiceGoogleSpreadsheet", referenced from:
objc-class-ref in ViewController.o
"_kGDataGoogleSpreadsheetsPrivateFullFeed", referenced from:
-[ViewController fetchFeedOfSpreadsheets] in ViewController.o
ld: symbol(s) not found for architecture arm64
What I found out is that they might be caused by gdata-objectivec-client being not ARC compatible. It could be fixed by adding "-fno-objc-arc" flags in Build Phases -> Compile Sources if there have been gdata's files, but since I'm cross-referencing project there are not there.
Other method is compiling source files directly, but the method provided is very outdated. First step is to drag "Source" group from GData project to my project and that is not possible in Xcode for a long time now. For what I know, today I have to open project files in Finder and drag them to my project, but that way I'm importing whole project, not only source files. Also if I do it that way folder in Project Explorer is blue and I can't import any of GData's header files.
I'm out of ideas what should I do next to make this work with Xcode 6 and iOS8, any help will be very appreciated.