xcode14.3
编译报错
ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 将
arc
文件夹
链接: https://pan.baidu.com/s/1WJIvp3fazl64whyBvZ9vHg?pwd=1111
提取码: 1111
放到
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
或者
- 在
Podfile
加上,重新pod install
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
报错
building file list ... rsync: link_stat "/xxx/AFNetworking.framework" failed: No such file or directory
在Xcode
中全局替换,pod install
之后也需要重新替换
source="$(readlink "${source}")"
-->
source="$(readlink -f "${source}")"
网友评论