Open GoogleCodeExporter opened 9 years ago
I cannot reproduce a problem building the library's GDataTouchStaticLib target
with Xcode 4.4.1, and there is not enough detail in the issue report to know
what the build target is or what line of what file is causing the error.
Original comment by grobb...@google.com
on 14 Aug 2012 at 8:26
Same issue here, perhaps something specific to the way we're including the
library?
/gdata-objectivec-client-1/Source/XMLSupport/GDataXMLNode.m:771:15: Format
specifies type 'id' but the argument has type 'const xmlChar *' (aka 'const
unsigned char *')
NSCAssert1(result == 0, @"GDataXMLNode XPath namespace %@ issue",
prefix);
Fix-it (offered by xcode): Insert "%s"
Once I fix that I get a second one:
/gdata-objectivec-client-1/Source/HTTPFetcher/GTMHTTPFetcherLogging.m:574:6:
Data argument not used by format string
Then about 10 or 12 more all related to string formatting where the specifier
doesn't match the type.
Original comment by nickgei...@gmail.com
on 15 Aug 2012 at 5:58
That GDataXMLNode issue was fixed a few weeks ago:
https://code.google.com/p/gdata-objectivec-client/source/detail?r=726
Use "svn revert -R ." and "svn update" to be sure your library sources are
current.
Original comment by grobb...@google.com
on 15 Aug 2012 at 7:29
duplicate symbol _OBJC_IVAR_$_SBJsonBase.errorTrace in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonBase.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonBase.o)
duplicate symbol _SBJSONErrorDomain in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonBase.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonBase.o)
duplicate symbol _OBJC_IVAR_$_SBJsonBase.maxDepth in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonBase.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonBase.o)
duplicate symbol _OBJC_CLASS_$_SBJsonBase in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonBase.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonBase.o)
duplicate symbol _OBJC_METACLASS_$_SBJsonBase in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonBase.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonBase.o)
duplicate symbol _OBJC_IVAR_$_SBJsonBase.depth in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonBase.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonBase.o)
duplicate symbol _OBJC_IVAR_$_SBJsonParser.c in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonParser.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonParser.o)
duplicate symbol _OBJC_METACLASS_$_SBJsonParser in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonParser.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonParser.o)
duplicate symbol _OBJC_CLASS_$_SBJsonParser in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonParser.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonParser.o)
duplicate symbol _OBJC_IVAR_$_SBJsonWriter.sortKeys in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonWriter.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonWriter.o)
duplicate symbol _OBJC_IVAR_$_SBJsonWriter.humanReadable in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonWriter.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonWriter.o)
duplicate symbol _OBJC_METACLASS_$_SBJsonWriter in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonWriter.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonWriter.o)
duplicate symbol _OBJC_CLASS_$_SBJsonWriter in:
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/SBJsonWriter.o
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-ckcwzmwgquvfmudcwxfllgqtduei/Build/Products/Debug-iphonesimulator/libGDataTouchStaticLib.a(SBJsonWriter.o)
ld: 13 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This error is coming after revert and update of the gdata api
Original comment by tejaswin...@gmail.com
on 22 Aug 2012 at 7:26
The errors in the previous comment indicate the project has multiple copies of
SBJSON compiled into the application target.
Original comment by g...@coldnose.net
on 22 Aug 2012 at 11:47
//That GDataXMLNode issue was fixed a few weeks ago:
//https://code.google.com/p/gdata-objectivec-client/source/detail?r=726
//Use "svn revert -R ." and "svn update" to be sure your library sources are
current.
Query: I am not able to figure out what has to be done to get the latest
library. Can you please explain in detail?
Original comment by tejaswin...@gmail.com
on 29 Aug 2012 at 1:06
The command for checking out the current version of the library is at
http://code.google.com/p/gdata-objectivec-client/source/checkout
You can also use the subversion (svn) commands I gave about to update a
previously checked out library.
Original comment by grobb...@google.com
on 30 Aug 2012 at 10:32
It still says in new checkout code..
CompileC
/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrh
ffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EM
CWire_Pilot.build/Objects-normal/i386/NewsItemsDisplayController.o
NewsItemsDisplayController.m normal i386 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Tejaswini/Desktop/aug31_v1/EMCWire_Pilot
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -fvisibility=hidden -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 "-I/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/EMC Wire.hmap" -I/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Products/Debug-iphonesimulator/include -I/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Products/Debug-iphonesimulator/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/include/libxml2 -I/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/DerivedSources/i386 -I/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/DerivedSources -F/Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Products/Debug-iphonesimulator -DDEBUG=1 -include /Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/PrecompiledHeaders/EMCWire_Pilot_Prefix-dpkrrfgiwvgyjcgkdnhftddwiyrh/EMCWire_Pilot_Prefix.pch -MMD -MT dependencies -MF /Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/NewsItemsDisplayController.d --serialize-diagnostics /Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/NewsItemsDisplayController.dia -c /Users/Tejaswini/Desktop/aug31_v1/EMCWire_Pilot/NewsItemsDisplayController.m -o /Users/Tejaswini/Library/Developer/Xcode/DerivedData/EMCWire_Pilot-bxbmnqbfrsyrhffoctzdxfcqygcr/Build/Intermediates/EMCWire_Pilot.build/Debug-iphonesimulator/EMCWire_Pilot.build/Objects-normal/i386/NewsItemsDisplayController.o
In file included from
/Users/Tejaswini/Desktop/aug31_v1/EMCWire_Pilot/NewsItemsDisplayController.m:19:
In file included from
/Users/Tejaswini/Desktop/aug31_v1/EMCWire_Pilot/Classes/EMCVideoDataSource.h:10:
In file included from
/Users/Tejaswini/Desktop/aug31_v1/EMCWire_Pilot/Classes/YTDataSource.h:11:
/Users/Tejaswini/Desktop/aug31_v1/EMCWire_Pilot/Classes/YoutubeFeedsInterface.h:
30:9: fatal error: 'GDataYouTube.h' file not found
#import "GDataYouTube.h"
^
1 error generated.
Original comment by tejaswin...@gmail.com
on 3 Sep 2012 at 4:46
Compiling doesnt give headers folder in the intermediate library built.
Original comment by tejaswin...@gmail.com
on 6 Sep 2012 at 12:02
Original issue reported on code.google.com by
tejaswin...@gmail.com
on 14 Aug 2012 at 3:52