Ios 在XCode 12-only模拟器中找不到x86_64的获取符号

Ios 在XCode 12-only模拟器中找不到x86_64的获取符号,ios,swift,aws-amplify,xcode12,Ios,Swift,Aws Amplify,Xcode12,仅为模拟器构建时,Xcode 12出现以下错误。为真正的iphone构建工作正常 Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_AWSTask", referenced from: objc-class-ref in AWSCognitoUserPoolsSignInProvider.o "_OBJC_CLASS_$_AWSDDLog", referenced fro

仅为模拟器构建时,Xcode 12出现以下错误。为真正的iphone构建工作正常

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_AWSTask", referenced from:
      objc-class-ref in AWSCognitoUserPoolsSignInProvider.o
  "_OBJC_CLASS_$_AWSDDLog", referenced from:
      objc-class-ref in AWSUserPoolSignUpViewController.o
      objc-class-ref in AWSUserPoolsUIOperations.o
  "_OBJC_CLASS_$_AWSServiceConfiguration", referenced from:
      objc-class-ref in AWSCognitoUserPoolsSignInProvider.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
下面是我的播客文件

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

target 'chat' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  #inhibit_all_warnings!

  # Pods for chat
  pod 'AWSCore', '~> 2.9.10'
  pod 'AWSAppSync', '~> 2.10.4'
  pod 'AWSMobileClient', '~> 2.9.10'
  pod 'AWSAuthUI', '~> 2.9.10'
  pod 'AWSUserPoolsSignIn', '~> 2.9.10'
  pod 'AWSS3'
  pod 'SwiftKeychainWrapper'
  pod 'MBProgressHUD'
  pod 'Montserrat'
  pod 'SDWebImage', '~> 5.0'
  pod 'DKImagePickerController'
    #, '~> 4.1.4'
  pod 'SwipeCellKit'
  pod 'GoogleMaps'
  pod 'GooglePlaces'
end

有什么帮助吗?

升级到Xcode 12后,我在一个项目中遇到了同样的问题。解决这个问题的方法是运行
pod deintegrate
,然后
pod安装

在我们的例子中,我们有一个项目并将react native集成到其中。大约两周后(昨天),我开始遇到这种情况。所以为了解决这个问题…有点。我所做的就是按照这个指南安装了
CoCoCoapods fix react native
。按照说明将
插件'cocoapods fix react native'
添加到pod文件中非常重要

之后,我运行了
pod去集成
,然后是
pod安装

因此,现在当我在Xcode中构建时,所有内容都是文字,但如果我清理构建文件夹,我必须执行
pod反集成
,然后再次执行
pod安装


有时在构建时,Xcode会挂起,只需停止并再次构建即可。

使用
lipo
@iUrii检查Pod目录中x86_64 arch的AWS框架,您能给出更多细节吗?步骤是什么?这是做什么的?你是如何解决这个问题的?