Command CompileSwiftSources failed with a nonzero exit code - pods and dependancies

I'm getting "Command CompileSwiftSources failed with a nonzero exit code" on Xcode 13.3 for some of my pods. This is the remark: " Incremental compilation has been disabled: is not currently compatible with embedding LLVM IR bitcode"

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.

Post not yet marked as solved Up vote post of Samatron Down vote post of Samatron
1.9k views
Add a Comment