Command CompileSwiftSources failed with a nonzero exit code

Command CompileSwiftSources failed with a nonzero exit code

I've already done the following:

  1. Updated minimum iOS deployment to iOS 12.0 for project and pods
  2. Updated my podfile:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
    # some older pods don't support some architectures, anything over iOS 11 resolves that
     config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
    end
  end
end
  1. Updated Compilation Mode to for RELEASE = INCREMENTAL
  2. Updated pod
  3. Clean build and remove derived data

Any help at this point would be appreciated.

参考链接

使用Xcode13.2.1打包