React native 未找到体系结构armv7的react本机google登录:ld:符号

React native 未找到体系结构armv7的react本机google登录:ld:符号,react-native,google-signin,React Native,Google Signin,使用react native google signin时出现以下错误: Undefined symbols for architecture armv7: "_OBJC_CLASS_$_GTMOAuth2KeychainCompatibility", referenced from: objc-class-ref in GoogleSignIn(GIDAuthStateMigration_f5d85d20e1ceca211a3509d6af841694.o)

使用
react native google signin
时出现以下错误:

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_GTMOAuth2KeychainCompatibility", referenced from:
      objc-class-ref in GoogleSignIn(GIDAuthStateMigration_f5d85d20e1ceca211a3509d6af841694.o)
  "_OIDOAuthErrorResponseErrorKey", referenced from:
      +[GIDAuthentication handleTokenFetchEMMError:completion:] in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
  "_OIDResponseTypeCode", referenced from:
      -[GIDSignIn authenticateInteractivelyWithOptions:] in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
  "_OBJC_CLASS_$_OIDServiceConfiguration", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
  "_OBJC_CLASS_$_OIDAuthorizationService", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
      objc-class-ref in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
  "_OBJC_CLASS_$_OIDIDToken", referenced from:
      objc-class-ref in GoogleSignIn(GIDGoogleUser_a65e0aec435b57b8925a7d1102d4e0e2.o)
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
      objc-class-ref in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
  "_OBJC_METACLASS_$_GTMAppAuthFetcherAuthorization", referenced from:
      _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
     (maybe you meant: _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorizationEMMChainedDelegate, _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport )
  "_OBJC_CLASS_$_OIDURLQueryComponent", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
  "_OBJC_CLASS_$_GTMSessionFetcher", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
  "_OBJC_CLASS_$_OIDAuthorizationRequest", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
  "_OIDOAuthTokenErrorDomain", referenced from:
      ___46-[GIDAuthentication refreshTokensWithHandler:]_block_invoke in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
  "_OBJC_CLASS_$_GTMAppAuthFetcherAuthorization", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
      _OBJC_CLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
      objc-class-ref in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
      objc-class-ref in GoogleSignIn(GIDAuthStateMigration_f5d85d20e1ceca211a3509d6af841694.o)
     (maybe you meant: _OBJC_CLASS_$_GTMAppAuthFetcherAuthorizationEMMChainedDelegate, _OBJC_CLASS_$_GTMAppAuthFetcherAuthorizationWithEMMSupport )
  "_OBJC_CLASS_$_GTMKeychain", referenced from:
      objc-class-ref in GoogleSignIn(GIDAuthStateMigration_f5d85d20e1ceca211a3509d6af841694.o)
  "_OBJC_CLASS_$_OIDAuthState", referenced from:
      objc-class-ref in GoogleSignIn(GIDSignIn_76a4a36db543f5cda1002c777e31bf97.o)
      objc-class-ref in GoogleSignIn(GIDAuthentication_84410ee0a66211678402e090dffa70b3.o)
ld: symbol(s) not found for architecture armv7
依赖项使用CocoaPods进行管理,这是我的Podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'

target 'namastemd' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!
    pod 'AppCenterReactNativeShared', '~> 1.5.0'
    pod 'React', :path => '../node_modules/react-native'
    pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
    pod 'TwilioVideo', '~> 2.2.2'

    #pod 'react-native-keep-awake', :path => '../node_modules/react-native-keep-awake'

    pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'

    pod 'react-native-camera', :path => '../node_modules/react-native-camera'

    pod 'react-native-mixpanel', :path => '../node_modules/react-native-mixpanel'

    pod 'RNSound', :path => '../node_modules/react-native-sound'

    pod 'react-native-appsflyer', :path => '../node_modules/react-native-appsflyer'

    # pod 'react-native-branch', :path => '../node_modules/react-native-branch'
    # pod 'Branch-SDK', path: '../node_modules/react-native-branch/ios'

    # pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

    pod 'react-native-add-calendar-event', :path => '../node_modules/react-native-add-calendar-event'

    pod 'RNSecureStorage', :path => '../node_modules/react-native-secure-storage'

    pod 'react-native-netinfo', :path => '../node_modules/@react-native-community/netinfo'

    pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'

    pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'

    pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'

    pod 'RNAnalytics', :path => '../node_modules/@segment/analytics-react-native'

    pod 'react-native-twilio-video-webrtc', path: '../node_modules/@namastetechnologies/react-native-video'


    pod 'RNGoogleSignin', :path => '../node_modules/react-native-google-signin'

    pod 'GoogleSignIn', '~> 5.0.2'

    post_install do |installer|
        installer.pods_project.targets.each do |target|
          if target.name == "React"
            target.remove_from_project
          end
        end
    end

end
图书馆版本: “本机反应”:“0.59.9” “react原生谷歌登录”:“2.1.0”

这个问题只发生在为发布而构建时,至于调试,我已经将Build only Active Architecture设置为Yes。我按照安装指南搜索了他们的问题,但没有发现类似的问题。有人能提出为什么会发生这个问题吗?谢谢