Closed GoogleCodeExporter closed 9 years ago
I'm also seeing this issue, which seems pretty important since to use Swift
with Cocoapods, you need to import as frameworks.
http://blog.cocoapods.org/CocoaPods-0.36/
Original comment by joeboysc...@gmail.com
on 6 Jul 2015 at 3:50
I am seeing the same issue here. In order to resolve it, I had to comment out
re-declaration code and fully qualify GTMHTTP* imports from framework, like
this:
#if GTL_USE_SESSION_FETCHER
// ...
#else
// ...
#import <gtm_http_fetcher/GTMHTTPFetcher.h>
#import <gtm_http_fetcher/GTMHTTPUploadFetcher.h>
#import <gtm_http_fetcher/GTMHTTPFetcherService.h>
#endif
Original comment by mzara...@gmail.com
on 29 Jul 2015 at 3:35
GTMHTTPFetcher won't work for builds targeting iOS 9/OS X 10.11 and up. If your
minimum target is below iOS 9/OS X 10.11, you can set the target to build with
GTM_USE_SESSION_FETCHER=0
The library can be built with the newer fetcher class as well; that's available
at https://code.google.com/p/gtm-session-fetcher/
This unfortunate mess will be cleaned up as we migrate the project away from
Google Code in upcoming weeks.
Original comment by grobb...@google.com
on 29 Jul 2015 at 9:45
It's strange to say it won't work for builds targeting iOS 9 when the issue was
added Mar 4, 2015 -> there was no iOS 9 == the issue had nothing in common with
iOS 9.
The issue was with your old podfile, where `google-api-objectivec-client`
required `gtm-http-fetcher` but one of `google-api-objectivec-client`
dependiences still required `GTMHTTPFetcher`. As a result both frameworks were
fetched.
Anyway, the issue is already fixed in version 1.0:
`pod 'Google-API-Client', '~> 1.0'`
The status should be "Fixed".
Original comment by Osieck...@gmail.com
on 30 Jul 2015 at 10:12
Original issue reported on code.google.com by
serg.f...@gmail.com
on 4 Mar 2015 at 2:34Attachments: