title: Undefined symbols for architecture x86_64 Swift Xcode
body: <p>The error code from my compiler</p>
  <pre><code>Undefined symbols for architecture x86_64:
  &quot;_OBJC_CLASS_$_GTMOAuth2KeychainCompatibility&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDAuthStateMigration_bdf842e92d17b12b5f020e0e721bd017.o)
  &quot;_OBJC_CLASS_$_OIDServiceConfiguration&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDSignIn_f05654be6d1b2af59ab6df426a0c4eb9.o)
  &quot;_OIDResponseTypeCode&quot;, referenced from:
    -[GIDSignIn authenticateInteractivelyWithOptions:] in GoogleSignIn(GIDSignIn_f05654be6d1b2af59ab6df426a0c4eb9.o)
  &quot;_OBJC_CLASS_$_OIDAuthorizationService&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
  &quot;_OBJC_CLASS_$_OIDURLQueryComponent&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDSignIn_f05654be6d1b2af59ab6df426a0c4eb9.o)
  &quot;_OBJC_CLASS_$_OIDAuthorizationRequest&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDSignIn_f05654be6d1b2af59ab6df426a0c4eb9.o)
  &quot;_OBJC_CLASS_$_GTMAppAuthFetcherAuthorization&quot;, referenced from:
    _OBJC_CLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
    objc-class-ref in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
   (maybe you meant: _OBJC_CLASS_$_GTMAppAuthFetcherAuthorizationEMMChainedDelegate, _OBJC_CLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport )
  &quot;_OIDOAuthTokenErrorDomain&quot;, referenced from:
    ___46-[GIDAuthentication refreshTokensWithHandler:]_block_invoke in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
  &quot;_OBJC_CLASS_$_OIDIDToken&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDGoogleUser_2bdd4a676c033bc6ca21970e75d9159c.o)
  &quot;_OBJC_METACLASS_$_GTMAppAuthFetcherAuthorization&quot;, referenced from:
    _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
   (maybe you meant: _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport, _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorizationEMMChainedDelegate )
  &quot;_OIDOAuthErrorResponseErrorKey&quot;, referenced from:
    +[GIDAuthentication handleTokenFetchEMMError:completion:] in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
  &quot;_OBJC_CLASS_$_GTMKeychain&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDAuthStateMigration_bdf842e92d17b12b5f020e0e721bd017.o)
  &quot;_OBJC_CLASS_$_OIDAuthState&quot;, referenced from:
    objc-class-ref in GoogleSignIn(GIDAuthentication_7b83cc27af8929ec7e4c9760d73a0f31.o)
  </code></pre>
  <p>ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)</p>
  <p>I have already tried everything to make It work again and everything I read on stack overflow from other posts who face a similar issue</p>
  <p>-reinstall pod
  -update pod
  -new podifle
  -removing target
  -deleting derived data
  -cleaning project
  -restarting simulator
  -restarting Xcode</p>
  <p>i don't even know what I have changed to make this problem appear, never faces this issue before</p>
  <p>any help is appreciated!</p>