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.
Selecting any option will automatically load the page