File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

解决方案:

添加

post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
               end
          end
   end
end

在打包的时候可能会报以下错误:

rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots

解决方案:Pods文件下面,找到Pods-工程名-frameworks.sh(注意,后续pod install之后,都要再进行修改)

source="$(readlink "${source}")"

修改为:

source="$(readlink -f "${source}")"