~ pod install
之后運(yùn)行項(xiàng)目提示,
File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
訪達(dá) -> 前往 -> 前往文件夾 ->?/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
在lib 之后的arc 文件夾以及下面的文件已經(jīng)不存在.
沒有親測(cè), 從網(wǎng)上找了下資料 arc 應(yīng)該是在14.2 還存在的,14.3 被移除了.
另外我去查看了一下有關(guān) Arc文件的信息,論壇上有一個(gè)靠譜的解釋, 因?yàn)锳RC已經(jīng)被內(nèi)置所以,額外的鏈接是沒有必要的,因此刪除.
如何解決,
項(xiàng)目中 Podfile 文件增加語句,
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
end
end
end
我的項(xiàng)目目標(biāo)是14.0, 你可以根據(jù)你的來設(shè)置比如 11.0.
記得更改后從新執(zhí)行
~ pod install
-----------
當(dāng)然你還有其他辦法可以解決,找到舊的Xcode 版本復(fù)制一份arc文件以及里面的內(nèi)容, 或者下載更低的Xcode版本.
不過, 我建議使用新版本并在?Podfile?文件中增加部署.?
感謝閱讀,文章來源:http://www.zghlxwxcb.cn/news/detail-470097.html
學(xué)以致用更感謝.文章來源地址http://www.zghlxwxcb.cn/news/detail-470097.html
到了這里,關(guān)于Xcode 14.3 崩潰 File not found: libarclite_iphonesimulator.a的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!