DaylnM / gdata-objectivec-client

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

GDataObject.m won't build with iOS 6 SDK #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tryin to build this with iOS 6 SDK and getting 7 errors on GDataObject.m all of 
the same kind:

<Some Directory>/gdata-objectivec-client/BaseClasses/GDataObject.m:1745:65: 
Incompatible pointer types sending 'Class' to parameter of type 'id<NSCopying>'

For instance on the line that goes like:

[extensionDeclarationsCache setObject:extensionDecls forKey:currClass];

... where NSMutableDictionary will complain about currClass of type "Class".

A workaround and a fix is needed...

Thank you.

Original issue reported on code.google.com by a.don...@apexnet.it on 5 Jul 2012 at 8:46

GoogleCodeExporter commented 9 years ago
A patch is attached

Original comment by a.don...@apexnet.it on 5 Jul 2012 at 9:44

Attachments:

GoogleCodeExporter commented 9 years ago
We had a variety of small updates which I had neglected to push to subversion. 
Thanks for the reminder.

http://code.google.com/p/gdata-objectivec-client/source/detail?r=726

Original comment by grobb...@google.com on 12 Jul 2012 at 1:57

GoogleCodeExporter commented 9 years ago
I'm getting the same errors.  And once again, I've run the svn checkout code 
from the terminal and it appears to checkout all the revisions but I still get 
all the errors in XCode (4.5.1) w/ iOS6 SDK.  I even cleaned the project, 
closed and reopened XCode and still got the errors.  I'm not very versed in 
svn; am I doing something wrong?  Here's the code from my terminal sessions.  
(I ran the checkout again, after it didn't work the first time, just to be 
sure.)  Thanks for the help!

svn checkout http://gdata-objectivec-client.googlecode.com/svn/trunk/ 
gdata-objectivec-client-read-only
U    gdata-objectivec-client-read-only/Source/BaseClasses/GDataServiceBase.h
U    gdata-objectivec-client-read-only/Source/BaseClasses/GDataObject.m
U    gdata-objectivec-client-read-only/Source/BaseClasses/GDataServiceGoogle.h
U    gdata-objectivec-client-read-only/Source/BaseClasses/GDataServiceBase.m
U    gdata-objectivec-client-read-only/Source/BaseClasses/GDataServiceGoogle.m
U    gdata-objectivec-client-read-only/Source/XMLSupport/GDataXMLNode.m
U    
gdata-objectivec-client-read-only/Source/Clients/Spreadsheets/GDataEntryWorkshee
t.m
U    
gdata-objectivec-client-read-only/Source/Clients/Spreadsheets/GDataFeedSpreadshe
etCell.m
U    gdata-objectivec-client-read-only/Source/GDataUtilities.h
U    gdata-objectivec-client-read-only/Source/Tests/GDataServiceTest.m
U    gdata-objectivec-client-read-only/Source/Tests/GDataUtilitiesTest.m
U    gdata-objectivec-client-read-only/Source/Tests/GDataFeedTest.m
U    gdata-objectivec-client-read-only/Source/Tests/GDataElementsTest.m
U    gdata-objectivec-client-read-only/Source/GDataUtilities.m
U    gdata-objectivec-client-read-only/Source/ReleaseNotes.txt
U    
gdata-objectivec-client-read-only/Examples/BooksSample/BooksSampleWindowControll
er.h
U    
gdata-objectivec-client-read-only/Examples/BooksSample/BooksSampleWindowControll
er.m
U    
gdata-objectivec-client-read-only/Examples/ContactsSample/ContactsSampleWindowCo
ntroller.m
U    
gdata-objectivec-client-read-only/Examples/BloggerSample/BloggerSampleWindowCont
roller.h
U    
gdata-objectivec-client-read-only/Examples/BloggerSample/BloggerSampleWindowCont
roller.m
U    
gdata-objectivec-client-read-only/Examples/AnalyticsSample/AnalyticsSampleWindow
Controller.m
U    
gdata-objectivec-client-read-only/Examples/AnalyticsSample/AnalyticsSampleWindow
Controller.h
U    
gdata-objectivec-client-read-only/Examples/DocsSample/DocsSampleWindowController
.m
U    
gdata-objectivec-client-read-only/Examples/DocsSample/DocsSampleWindowController
.h
U    
gdata-objectivec-client-read-only/Examples/CalendarSample/CalendarSampleWindowCo
ntroller.h
U    
gdata-objectivec-client-read-only/Examples/CalendarSample/CalendarSampleWindowCo
ntroller.m
U    
gdata-objectivec-client-read-only/Examples/YouTubeSample/YouTubeSampleWindowCont
roller.m

Fetching external item into 
'gdata-objectivec-client-read-only/Source/HTTPFetcher'
U    gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPFetcher.m
U    gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPUploadFetcher.m
U    gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMMIMEDocument.m
U    
gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPFetcherLogging.m
U    
gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPFetcherService.h
U    
gdata-objectivec-client-read-only/Source/HTTPFetcher/Tests/GTMHTTPFetcherService
Test.m
U    
gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPFetcherService.m
U    gdata-objectivec-client-read-only/Source/HTTPFetcher/ReleaseNotes.txt
U    gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPFetcher.h
U    gdata-objectivec-client-read-only/Source/HTTPFetcher/GTMHTTPFetchHistory.m
Checked out external at revision 109.

Fetching external item into 'gdata-objectivec-client-read-only/Source/OAuth2'
U    
gdata-objectivec-client-read-only/Source/OAuth2/Touch/GTMOAuth2ViewControllerTou
ch.h
U    
gdata-objectivec-client-read-only/Source/OAuth2/Touch/GTMOAuth2ViewControllerTou
ch.m
U    gdata-objectivec-client-read-only/Source/OAuth2/GTMOAuth2Authentication.m
U    gdata-objectivec-client-read-only/Source/OAuth2/ReleaseNotes.txt
U    gdata-objectivec-client-read-only/Source/OAuth2/GTMOAuth2SignIn.h
U    gdata-objectivec-client-read-only/Source/OAuth2/GTMOAuth2SignIn.m
Checked out external at revision 95.

Fetching external item into 'gdata-objectivec-client-read-only/Source/JSON'
Checked out external at revision 1370.

Checked out revision 730.
David-Lowes-MacBook-Pro:~ dmlowe$ svn checkout 
http://gdata-objectivec-client.googlecode.com/svn/trunk/ 
gdata-objectivec-client-read-only

Fetching external item into 
'gdata-objectivec-client-read-only/Source/HTTPFetcher'
Checked out external at revision 109.

Fetching external item into 'gdata-objectivec-client-read-only/Source/OAuth2'
Checked out external at revision 95.

Fetching external item into 'gdata-objectivec-client-read-only/Source/JSON'
Checked out external at revision 1370.

Checked out revision 730.

Original comment by dml...@gmail.com on 8 Oct 2012 at 3:43

GoogleCodeExporter commented 9 years ago
I'm not seeing any errors compiling the current sources from svn. If you do see 
errors, please open a new issue for them, and include a copy of the errors, and 
details about what version of Xcode you're using and what the deployment target 
and base SDK settings are for your project.

Original comment by grobb...@google.com on 8 Oct 2012 at 5:48