I've been having problems trying to compile the static library or
adding references to my project using the most current Google Code in
SVN. The YouTube example provided also has issues with its references
to the GData project and does not compile despite my efforts to relink
the project prior to compiling and/or allowing it to use the dynamic
references and copy scripts it includes by default.
The static library is preferred but the steps provided in the Wiki to
create it are a bit unclear. If there are better steps or screenshots,
that would be preferred.
http://code.google.com/p/gdata-objectivec-client/wiki/BuildingTheLibrary
In trying to add the resources directly to my project I get a
duplicate symbol error for main at compile-time. If I remove the GData
resources, the error disappears ( see below ).
If there is a better example of a functional project with the GData
static library that would be great. Otherwise, if there are steps to
resolve the compile-time errors for the YouTube example within the
GData project, that would also be great. However, that example doesn't
appear to be using the static library.
Any help to get this code to compile would be greatly appreciated.
And, if JSON is anywhere in the foreseeable future, I would love to
know. XML is less than optimal for mobile development.
Thanks in advance!
Jane
Ld "/Users/seejaneworkit/Library/Developer/Xcode/DerivedData/
Drive_Me_Crazy-adfsjujimcorzheiaqddfrkfuodf/Build/Products/Debug-
iphonesimulator/DMC Dev.app/DMC Dev" normal i386
cd /Users/seejaneworkit/Sites/iPhone/DriveMeCrazy/trunk
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/
Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/
Users/seejaneworkit/Library/Developer/Xcode/DerivedData/Drive_Me_Crazy-
adfsjujimcorzheiaqddfrkfuodf/Build/Products/Debug-iphonesimulator -L/
Users/seejaneworkit/Sites/iPhone/DriveMeCrazy/trunk/Libraries/Flurry -
L/Users/seejaneworkit/Sites/iPhone/DriveMeCrazy/trunk -F/Users/
seejaneworkit/Library/Developer/Xcode/DerivedData/Drive_Me_Crazy-
adfsjujimcorzheiaqddfrkfuodf/Build/Products/Debug-iphonesimulator -F/
Users/seejaneworkit/Sites/iPhone/DriveMeCrazy/trunk -filelist "/Users/
seejaneworkit/Library/Developer/Xcode/DerivedData/Drive_Me_Crazy-
adfsjujimcorzheiaqddfrkfuodf/Build/Intermediates/Drive Me Crazy.build/
Debug-iphonesimulator/DMCDev.build/Objects-normal/i386/DMC
Dev.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version
-Xlinker 2 -lxml2 -framework MobileCoreServices -lFlurryWithLocation -
framework Foundation -weak_framework UIKit -framework CoreGraphics -
framework MapKit -framework CoreLocation -framework
SystemConfiguration -lz.1.2.3 -framework AVFoundation -framework
CoreAudio -framework CFNetwork -framework Security -framework
AudioToolbox -o "/Users/seejaneworkit/Library/Developer/Xcode/
DerivedData/Drive_Me_Crazy-adfsjujimcorzheiaqddfrkfuodf/Build/Products/
Debug-iphonesimulator/DMC Dev.app/DMC Dev"
ld: duplicate symbol _main in /Users/seejaneworkit/Library/Developer/
Xcode/DerivedData/Drive_Me_Crazy-adfsjujimcorzheiaqddfrkfuodf/Build/
Intermediates/Drive Me Crazy.build/Debug-iphonesimulator/DMCDev.build/
Objects-normal/i386/GenerateTargetNamespaceMacros.o and /Users/
seejaneworkit/Library/Developer/Xcode/DerivedData/Drive_Me_Crazy-
adfsjujimcorzheiaqddfrkfuodf/Build/Intermediates/Drive Me Crazy.build/
Debug-iphonesimulator/DMCDev.build/Objects-normal/i386/main.o for
architecture i386
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
bin/llvm-gcc-4.2 failed with exit code 1