GoogleAPIClientForRest classes not found

I am trying to connect to a google worksheet with a service account and have added the GoogleAPIClientForRest (Drive and Sheets) and GTMSessionFetcher (Core) dependencies to my project. However, this code

import GoogleAPIClientForRESTCore import GTMSessionFetcherCore

func test() { let x = GTLRServiceAccountCredentials.self let y = GTLRAuthorizer.self print("Classes Found") }

I get the the following errors: Cannot find "GTLRServiceCredentials' in scope and Cannot find 'GTLRAuthorizer' in scope.

The dependencies are listed in the Link Binary with Libraries section.

I have am using the latest versions of OS and Xocod and have reinstalled both to try and resolve this issue with no luck.

While someone here may have a suggestion for you, you should also consult with Google's support resources for how to configure your project to use their libraries without error.

GoogleAPIClientForRest classes not found
 
 
Q