azubala / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Apache License 2.0
0 stars 0 forks source link

Trouble building the gdata-objectivec-client with Xcode 4 (release) and iPhone (using compiled in code method) #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am having a terrible time getting this integrated into my iPhone app. I was 
using the old GData client without a lot of issue. Unfortunately that no longer 
works.

I tried to follow the directions that are posted on this site for using the 
compiled library--the instructions are extremely vague for Xcode 4 particularly 
the drag this to that place instructions. 

I decided to by pass this and go with the code method where I include the GData 
sources group into my project. This was also a nightmare to accomplish as the 
instructions again tell you to drag the Gdata sources group from one project 
into mine. This does not work at all--instead you have to create a workspace 
and then you can include the project and then you can drag the Gdata Sources 
program group into the project.

Once I did that--I closed the workspace and opened the project directly (as I 
don't use the workspace feature in Xcode) everything was mostly good. I made 
the changes C Language dialect and already had included the XML feature.

Here is the problem--the code compiles but refuses to link. Worse I get this:

CompileC 
/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqb
bnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/Objects
-normal/i386/GDataEntryACL.o 
../Google/gdata-objectivec-client-read-only/Source/ACL/GDataEntryACL.m normal 
i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd "/Users/MarkM/Desktop/Projects/JetSet - RC 2 - 2.0 (tag)"
    setenv LANG en_US.US-ASCII
    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/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -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=50000 -iquote /Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/jetset-generated-files.hmap -I/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/jetset-own-target-headers.hmap -I/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/jetset-all-target-headers.hmap -iquote /Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/jetset-project-headers.hmap -I/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Products/Debug-iphonesimulator/include -I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/include/libxml2 -I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/include/libxml2/libxml -I/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/DerivedSources/i386 -I/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/DerivedSources -F/Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Products/Debug-iphonesimulator -DGTM_INCLUDE_OAUTH2=1 -include /Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/PrecompiledHeaders/JetSet_Prefix-dxkdehcjccusyibmlysfxufwprph/JetSet_Prefix.pch -MMD -MT dependencies -MF /Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/Objects-normal/i386/GDataEntryACL.d -c "/Users/MarkM/Desktop/Projects/JetSet - RC 2 - 2.0 (tag)/../Google/gdata-objectivec-client-read-only/Source/ACL/GDataEntryACL.m" -o /Users/MarkM/Library/Developer/Xcode/DerivedData/JetSet-dwaokovdaoxgyvgytaihdrqbbnlt/Build/Intermediates/JetSet.build/Debug-iphonesimulator/JetSet.build/Objects-normal/i386/GDataEntryACL.o

clang: error: no such file or directory: '/Users/MarkM/Desktop/Projects/JetSet 
- RC 2 - 2.0 
(tag)/../Google/gdata-objectivec-client-read-only/Source/ACL/GDataEntryACL.m'
clang: error: no input files
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang 
failed with exit code 1

Verify exit code of build task 'CompileC GDataFeedACL.m'

Build task failed without generating error messages.

I'd appreciate any help.. I am stuck and I have found nothing like this by 
googling to death that is helping me.

Original issue reported on code.google.com by markman...@gmail.com on 20 Oct 2011 at 9:19

GoogleCodeExporter commented 9 years ago
The issue tracker is for bugs and feature requests, not for individual build 
problems.

Original comment by gregrobbins on 20 Oct 2011 at 10:35