iOS Xcode Question Collection

1. The libarclite_iphoneos.a file could not be found

Environment
XCode 14.3

Problem description
The Xcode 14.2 version runs the project normally, but after upgrading to 14.3 version, an error is reported.

error message
insert image description here

Solution
Add to the Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
    end
  end
end

Reference material
iOS problem record - Xcode 14.3 version running project error report_crasowas' blog-CSDN blog

2. Archive failed

Environment
XCode 14.3

Problem description
The Xcode 14.2 version runs the project and everything is normal. After upgrading to the 14.3 version, it can run, but the package reports an error.

error message
insert image description here

Solution Find the file
in and change it to .Pods/Target Support Files/Pods-xxxxPods-xxxx-frameworks.shsource="$(readlink "${source}")"source="$(readlink -f "${source}")"

Reference
Xcode 14.3 Archive failed - Tencent Cloud Developer Community - Tencent Cloud

Guess you like

Origin blog.csdn.net/chennai1101/article/details/130088418