yagiee-jorte / google-api-objectivec-client

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

Library can't compile on new checkout due to changes in json-framework #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout latest revision from the source (currently r144)
2. Download the source code from the three required libraries, GTM HTTP 
Fetcher, GTM OAuth 2, and json-framework (latter has moved to github: 
https://github.com/stig/json-framework)
3. Find & Copy the required files from those libraries to the Xcode project.

What is the expected output? 
To have a project that can be built.

What do you see instead?
The file structure of the json-framework has changed, the files therein no 
longer match this project. Thus, this project is not compilable.

Request:
Please update the google-api-objectivec-client project to mirror the latest 
changes in the json-framework, or be specific about a certain revision to check 
out for each of the libraries.

Original issue reported on code.google.com by epolo...@gmail.com on 6 Mar 2012 at 12:51

GoogleCodeExporter commented 9 years ago
The library project builds with the old version of SBJSON available via 
subversion.

Apps are free to use the newer SBJSON, but should adjust their project files 
appropriately to exclude the older version.

Apps targeting iOS 5 and Mac OS X 10.7 and later do not need SBJSON.

Original comment by grobb...@google.com on 8 Mar 2012 at 2:07

GoogleCodeExporter commented 9 years ago
My app targets Mac 10.7 so that's good. How does it work then? The project 
still imports SBJSON.h here and there. Shouldn't that be updated to reflect? 
Just deleting the imports won't solve it, will it?

The 'old' SVN files of the json-framework are no longer available for download, 
or I can't find the location at http://code.google.com/p/json-framework

Thanks for your assistance.

Original comment by epolo...@gmail.com on 8 Mar 2012 at 10:59

GoogleCodeExporter commented 9 years ago
You can find the source of the externals with svn propget:
$ cd google-api-objectivec-client-read-only/Source
$ svn propget svn:externals

The project does still refer to the old SBJSON sources via subversion.

Take a look at the file GTLJSONParser.m to see how the library chooses the JSON 
library to use.

You can just delete the SBJSON file references from your copy of the project. 
None of the library sources include SBJSON.h; it is referred to only by class 
name.

Original comment by grobb...@google.com on 8 Mar 2012 at 4:55

GoogleCodeExporter commented 9 years ago
Thanks for clarifying. I was using git-svn to checkout the project and that one 
doesn't understand svn:externals, who knew :S. Any other regular SVN client 
does so I have the complete project now. Thanks for pointing out the 10.7 json 
features, works flawlessly. Thanks!

Original comment by epolo...@gmail.com on 13 Mar 2012 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by grobb...@google.com on 14 Mar 2012 at 9:38