I use Cocoapods to install the latest GPG and used the latest Xcode 7.3 and iOS SDK 9.3, but I was unable to build my project and get stuck with these 5 linker errors that I could not solve:
"_OBJC_CLASS_$_GSDK_GTMSessionFetcherService", referenced from: objc-class-ref in gpg(GIPNetworkImage.o) objc-class-ref in libSignIn_external.a(GIDSignIn.o) "_GSDK_kGTMSessionFetcherStatusDomain", referenced from: -[GSDK_GTMOAuth2SignIn authCodeObtained] in libGTMOAuth2_external_external.a(GTMOAuth2SignIn.o) "_GSDK_GTMSessionFetcherAssertValidSelector", referenced from: -[GSDK_GTMOAuth2Authentication authorizeRequest:delegate:didFinishSelector:] in libGTMOAuth2_external_external.a(GTMOAuth2Authentication.o) -[GSDK_GTMOAuth2SignIn initWithAuthentication:authorizationURL:delegate:webRequestSelector:finishedSelector:] in libGTMOAuth2_external_external.a(GTMOAuth2SignIn.o) "_OBJC_CLASS_$_GSDK_GTMSessionFetcher", referenced from: objc-class-ref in libGTMOAuth2_internal_external.a(GTMOAuth2SignInInternal.o) objc-class-ref in libGTMOAuth2_external_external.a(GTMOAuth2Authentication.o) objc-class-ref in libGTMOAuth2_external_external.a(GTMOAuth2SignIn.o) objc-class-ref in gpg(GPGClearcutLogger.o) objc-class-ref in libSignIn_external.a(GIDSignIn.o) objc-class-ref in libSignIn_external.a(GIDRuntimeConfigFetcher.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I even tried adding the GTMSessionFetcherService source to my project, but can't fix it. Any idea?
thanks
source share