Ios 命令PhaseScriptExecution失败,退出代码为非零Xcode v12.0.1

Ios 命令PhaseScriptExecution失败,退出代码为非零Xcode v12.0.1,ios,dependencies,cocoapods,swift5,xcode12,Ios,Dependencies,Cocoapods,Swift5,Xcode12,我正在使用 Xcode v12.0.1 可可荚1.10.0版 这是我的pod文件 # Uncomment the next line to define a global platform for your project plugin 'cocoapods-binary' platform :ios, '8.0' all_binary! target 'Food' do # Comment the next line if you're not using Swift and don

我正在使用

Xcode v12.0.1 可可荚1.10.0版

这是我的pod文件

# Uncomment the next line to define a global platform for your project
plugin 'cocoapods-binary'

platform :ios, '8.0'

all_binary!

target 'Food' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks

  use_frameworks!

  # Pods for Food

    

pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage'
pod 'Firebase/Messaging', :binary => false
pod 'FirebaseMessaging', :binary => false
pod 'Firebase/DynamicLinks'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Firestore'
pod 'Firebase/Analytics'
pod 'EasyTipView'
pod 'Hero'
pod 'SwiftLint'
pod 'ReachabilitySwift'
pod 'Koloda'
pod 'UIColor+FlatColors'
pod 'SDWebImage'
pod 'Stripe'
pod 'GoogleSignIn'
pod 'Alamofire', '~> 4.7.3'
pod 'JGProgressHUD'
pod 'Fabric'
pod 'Crashlytics'
pod 'DTButtonMenuController'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'ActiveLabel', :binary => false
pod 'Intercom', '~> 5.4.1'
pod 'AWSS3'
pod 'GooglePlacesSearchController', :binary => false
pod 'GooglePlaces', :binary => false
pod 'GooglePlacePicker',:binary => false
pod 'GoogleMaps',:binary => false
pod 'AMPopTip'

end
所有依赖项都已成功安装,并且所有依赖项的预构建过程也已完成

我的项目和pod项目的部署目标是相同的-

建造阶段:

我在iPhone 7设备上运行应用程序时遇到此错误

我尝试的是:

  • 我已删除派生数据和缓存,并重新启动Xcode和Mac
  • 我还删除了所有pods podlock文件、.workspace,然后重新安装依赖项
  • 我已经试过很多次了

  • 在做了以上几点之后,我的问题没有得到解决。

    pods部署版本可能是。 在我的例子中,当我将pods更新到建议的目标版本时,我的应用程序开始出现很多警告和错误

    但是你可以试着回答这个问题,这是一个类似的问题


    所有真实设备都会发生这种情况吗?或者仅仅是iPhone7(请提及它的操作系统细节)?你有定制的.swiftlint.yml吗?如果是,请尝试删除.swiftlint.yml文件并按照上面的步骤2进行操作。由于iOS部署目标是:13.0,因此您似乎应该将
    platform:iOS,'8.0'更改为13.0