使用swift在我的应用程序中集成gmail时显示链接器错误

Shi*_*pta 6 ios swift2 xcode7.3

我已经按照此链接将gmail登录集成到我的项目中

https://developers.google.com/identity/sign-in/ios/sign-in?ver=swift#enable_sign-in

但它显示下面的链接器错误

Undefined symbols for architecture x86_64:
  "_GSDK_NSClassFromString", referenced from:
      l010 in GoogleSignIn(GIDSignIn.o)
      l059 in GoogleSignIn(GIDSignIn.o)
  "_OBJC_CLASS_$_GSDK_GTMOAuth2Authentication", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
      objc-class-ref in GoogleSignIn(GIDAuthentication.o)
  "_OBJC_CLASS_$_GSDK_GTMOAuth2Keychain", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
  "_OBJC_CLASS_$_GSDK_GTMOAuth2SignIn", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
      objc-class-ref in GoogleSignIn(GIDAuthentication.o)
  "_OBJC_CLASS_$_GSDK_GTMOAuth2ViewControllerTouch", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
  "_OBJC_CLASS_$_GSDK_GTMSessionFetcher", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
      objc-class-ref in GoogleSignIn(GIDRuntimeConfigFetcher.o)
  "_OBJC_CLASS_$_GSDK_GTMSessionFetcherService", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
  "_OBJC_CLASS_$_GSDK_OpenInChromeController", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

提前致谢