Xcode升級到12.x后郁竟,運行低版本RN項目到模擬器中時出現以下報錯
building for iOS Simulator, but linking in object file built for iOS
用到其中的解決方案:
第一步
VALID_ARCHS
加上x86_64
QQ20201105-141803@2x.png
第二步
Excluded Architecture
加上arm64
Build Active Architecture Only
設置為NO
QQ20201105-141843@2x.png
QQ20201105-141909@2x.png
注意:真機運行和打包時叔收,要去掉VALID_ARCHS
中的x86_64
和Excluded Architecture
中的arm64
有需要開發(fā)項目的可以聯系我
(原文鏈接:http://www.reibang.com/p/55d290a204e7)