lasersonic / google-api-objectivec-client

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

'GTMSessionFetcher.h' file not found #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Commit 455 has some macro changes in GTLService.h which breaks the compilation 
of GTLTouchStaticLib on iOS 9.

Original issue reported on code.google.com by an0...@gmail.com on 21 Jul 2015 at 10:58

GoogleCodeExporter commented 9 years ago
Unfortunately, this is due to some incomplete transitions of the library, 
including the move to support iOS 9 and OS X 10.11, which have deprecated 
NSURLConnection.

For now, if your project targets iOS 8 or OS X 10.10 or earlier, then define 
GTM_USE_SESSION_FETCHER to 0 for your targets. That will force the library to 
use the old GTMHTTPFetcher class.

If your minimum target is iOS 9 or OS X 10.11, you'll instead need to replace 
GTMHTTPFetcher with GTMSessionFetcher from 
https://code.google.com/p/gtm-session-fetcher/

Original comment by grobb...@google.com on 23 Jul 2015 at 10:48