tianshanxuester / gdata-objectivec-client

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

GDataTouchStaticLib cannot compiled on iOS 5 #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a project with GData with XCode, targetting iOS 5 
2. Build the project

What is the expected output? What do you see instead?
The build should complete without error. Instead the compiler failed at 
GDataHTTPFetcher

What version of the product are you using? On what operating system?

XCode 4, iOS 5

Please provide any additional information below.

/gdoc/Networking/GDataHTTPFetcher.m:738: warning: 'GDataHTTPFetcher' may not 
respond to '-connection:didFailWithError:'
/gdoc/Networking/GDataHTTPFetcher.m: error: Semantic Issue: Instance method 
'-connection:didFailWithError:' not found (return type defaults to 'id')

Reference: 

iOS 4.3 to 5.0 API Changes
http://developer.apple.com/library/prerelease/ios/#releasenotes/General/iOS50API
Diff/index.html

Search for "NSURLConnection.h"
Removed -[NSObject connection:didFailWithError:] 
Added NSURLConnectionDelegate
Added -[NSURLConnectionDelegate connection:didFailWithError:] 

Original issue reported on code.google.com by siu.y...@gmail.com on 9 Jun 2011 at 9:09

GoogleCodeExporter commented 9 years ago
The top-of-trunk sources for the library should compile without warning. Check 
that out from the repository using the command shown at 

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

Original comment by grobb...@google.com on 9 Jun 2011 at 4:22