GTMSessionFetcher.h file not found after upgrading to latest SDK

1,856 views
Skip to first unread message

Trejay Rathore

unread,
Nov 12, 2015, 9:18:02 AM11/12/15
to Google APIs Client Library for Objective-C
I upgraded to xcode 7 and got an error with the google SDK so I updated the SDK and now I'm getting:
GTMSessionFetcher.h file not found

but still getting the error
Cheers,

Greg Robbins

unread,
Nov 12, 2015, 9:02:40 PM11/12/15
to google-api-obj...@googlegroups.com
The latest Xcode has forced the "old" NSURLConnection-based fetcher class that was integrated into the library to be deprecated.

The new NSURLSession-based fetcher class is at https://github.com/google/gtm-session-fetcher

Unfortunately, we're still working on cleanly streamlining delivery of the libraries so they work for developers with current tools. The interdependencies between libraries and the different configuration requirements for building the sources have made that far from simple.

We do use the libraries in many current products at Google, though, so the sources should be fine.  Right now, though checking out the sources and setting up the app project file isn't as simple as it previously was.

Trejay Rathore

unread,
Nov 20, 2015, 7:47:02 AM11/20/15
to Google APIs Client Library for Objective-C
Thanks for the update Greg

Rupert Rebentisch

unread,
Nov 20, 2015, 7:47:02 AM11/20/15
to Google APIs Client Library for Objective-C
Thanks Greg, 
for giving this background information! I ran into the same problem as Trejay. Why does the compile complain that GTMSessionFetcher.h is missing? If I follow the guide in  https://developers.google.com/drive/ios/quickstart there is a GTMSessionFetcher.h in the right directory. Also the guide asks me to get the file from git 
git clone https://github.com/google/gtm-session-fetcher.git 
So everything should be o.k. nevertheless I get the same error message that the file is not found. Any ideas?
best regards Rupert

Vimi Patel

unread,
Nov 27, 2015, 7:48:19 AM11/27/15
to Google APIs Client Library for Objective-C
when I try to run https://github.com/youtube/yt-direct-lite-iOS, I am getting same error GTMSessionFetcher.h file not found

I followed  https://github.com/youtube/yt-direct-lite-iOS but still getting the error


Rupert Rebentisch

unread,
Dec 7, 2015, 9:47:00 AM12/7/15
to Google APIs Client Library for Objective-C
Finally I was able to compile the app, after deleting everything and starting from scratch. It is important to place all build settings in the right target column. And I guess, I must have made an error during my first attempt.
I found the following links helpful in explaining me what is going on behind the scenes:
Reply all
Reply to author
Forward
0 new messages