![](/img/trans.png)
[英]Transfer to Apple M1 Xcode shows an error "'FirebaseCore/FirebaseCore.h' file not found" and "Could not build Objective-C module 'Firebase'"
[英]No such module error in Xcode 12.4 Apple M1
在我的 Xcode 12.4 中,我無法再構建我的項目了。 每次我這樣做時,我都會為每個 Pod 得到“沒有這樣的模塊......”。 我沒有對項目進行任何其他更改。 我已清理、刪除派生數據、重新啟動計算機、刪除並重新安裝 Pod、更新 Cocoapods、在排除架構中添加 arm64 等。
我可以在我的設備上運行,但不能在模擬器上運行
其他人遇到過這個問題嗎?
將此添加到 podfile 對我有幫助
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
對於帶有新 M1 芯片的 Mac:
Get Info
Open with Rosetta
的盒子
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.