trungtoanit / gdata-objectivec-client

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

Incompatibility with iPhone OS Beta 4.0 #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build compile error: class 'GDataGatherInputStream' does not implement the 
'NSStreamDelegate' protocol

What is the expected output? What do you see instead?
CompileC 
build/GDataTemplate.build/Debug-iphonesimulator/GDataTemplate.build/Objects-
normal/i386/GDataGatherInputStream.o ../../../gdata-objectivec-client-read-
only/Source/Networking/GDataGatherInputStream.m normal i386 objective-c 
com.apple.compilers.gcc.4_2
cd "/Users/jsoryu/Documents/Xcode Documents/GDataTemplate"
setenv LANG en_US.US-ASCII
setenv PATH 
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/
bin:/usr/bi
n:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x 
objective-c -
arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings 
-fasm-blocks 
-O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -
isysroot 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.
sdk -
fvisibility=hidden -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 
-fobjc-
legacy-dispatch -iquote "/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/GDataTemplate-generated-files.hmap" "-
I/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/GDataTemplate-own-target-headers.hmap" "-
I/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/GDataTemplate-all-target-headers.hmap" 
-iquote 
"/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/GDataTemplate-project-headers.hmap" "-
F/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/Debug-iphonesimulator" 
"-I/Users/jsoryu/Documents/Xcode Documents/GDataTemplate/build/Debug-
iphonesimulator/include" -
I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0
.sdk/usr/i
nclude/libxml2 "-I/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/DerivedSources/i386" "-
I/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/DerivedSources" -DDEBUG=1 -include 
/var/folders/xg/xgid935HGMaTYLo9RK8XM++++TI/-Caches-
/com.apple.Xcode.501/SharedPrecompiledHeaders/GDataTemplate_Prefix-
cdyzvnafoxzjtuhbxnknzvcmstoi/GDataTemplate_Prefix.pch -c 
"/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/../../../gdata-objectivec-client-read-
only/Source/Networking/GDataGatherInputStream.m" -o 
"/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/Objects-normal/i386/GDataGatherInputStream.o
"

/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/../../../gdata-objectivec-client-
read-only/Source/Networking/GDataGatherInputStream.m: In function '-
[GDataGatherInputStream initWithArray:]':
/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/../../../gdata-objectivec-client-
read-only/Source/Networking/GDataGatherInputStream.m:31: warning: class 
'GDataGatherInputStream' does not implement the 'NSStreamDelegate' protocol
/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/../../../gdata-objectivec-client-
read-only/Source/Networking/GDataGatherInputStream.m: In function '-
[GDataGatherInputStream setDelegate:]':
/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/../../../gdata-objectivec-client-
read-only/Source/Networking/GDataGatherInputStream.m:135: warning: class 
'GDataGatherInputStream' does not implement the 'NSStreamDelegate' protocol

What version of the product are you using? On what operating system?
iPhone OS 4.x Beta
Latest trunk as of May 17 2010
OS X 10.6.3
XCode 3.2.3

Please provide any additional information below.
Observed when adding both Directly and by Static to Projects

Original issue reported on code.google.com by jonathan...@gmail.com on 18 May 2010 at 2:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Added frameworks Security and SystemConfiguration.

Original comment by jonathan...@gmail.com on 18 May 2010 at 10:34

GoogleCodeExporter commented 9 years ago
NSStreamDelegate builds should work now with the top-of-trunk library sources 
from svn.

Security.framework and SystemConfiguration.framework are now mentioned in the 
OAuthSignInController wiki 
page. They are not required for building the library without the OAuth code; be 
sure 
GDATA_REQUIRE_SERVICE_INCLUDES is defined for your debug and release targets.

Original comment by gregrobbins on 18 May 2010 at 11:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just installed xCode 3.2.3 and set the base SDK to 4.0

I am getting the above message: class 'GDataGatherInputStream' does not 
implement the 
'NSStreamDelegate' protocol

But as a warning and not an error. I added the SystemConfiguration.framework 
and Security.framework but that didn't fix the warning...

Any suggestions please?

Original comment by yoa...@gmail.com on 24 Jul 2010 at 12:38

GoogleCodeExporter commented 9 years ago
NSStreamDelegate builds should work now with the top-of-trunk library sources 
from svn.

Original comment by gregrobbins on 24 Jul 2010 at 11:35

GoogleCodeExporter commented 9 years ago
Hi Greg,

It might be a novice question... but I don't really understand what means 
"top-of-trunk library sources from svn" ?

I am using latest sources of "gdata-objectivec-client" version 1.10.0 updated 
Mar 31 taken from 
http://code.google.com/p/gdata-objectivec-client/downloads/list

Isn't this the latest source?

Original comment by yoa...@gmail.com on 25 Jul 2010 at 7:29

GoogleCodeExporter commented 9 years ago
"top-of-trunk" means using the latest version of the library, checked out from 
the trunk of the source repository. The command for checking out the latest 
project sources is shown on this page,

http://code.google.com/p/gdata-objectivec-client/source/checkout

Original comment by gregrobbins on 25 Jul 2010 at 4:44

GoogleCodeExporter commented 9 years ago
Greg,
I pulled the top-of-trunk.
After I build an test with my sample iPhone app, I get the following error:
GDataYouTubeRating.h: No such file or directory

In the header directory I see a GDataEntryYoutubeRating.h but no 
GDataYouTubeRating.h.

What did I do wrong?

Best Regards, Somnath

Original comment by sbanerje...@gmail.com on 5 Sep 2010 at 10:32

GoogleCodeExporter commented 9 years ago
I am getting the above message: class 'GDataGatherInputStream' does not 
implement the 
'NSStreamDelegate' protocol

--> Open the GDataGatherInputStream.h file and hardcode the protocol by hand, 
the upper code with define things is flanky ... 

Original comment by cybercow...@gmail.com on 5 Dec 2010 at 7:30