關於M1 電腦Xcode13
1.報錯日誌
'ld: in /Users/linhao.cui/Documents/NIO_Project/nio_app/NextevCar/Pods/NIOAppKit/Frameworks/openssl.framework/openssl(bio_lib.o),
building for iOS Simulator, but linking in object file built for iOS, for architecture arm64'
- 解決方式:
應用程序 -> Xcode顯示簡介 -> 使用Rosetta打開 前面打勾
Xcode 清除緩存, 路徑: ~/Library/Developer/Xcode/DerivedData
Xcode clean Cmd + Shift + K
build 項目