關於flutter mac catalina arch: posix_spawnp: ...flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot: Bad CPU type in executable


參考https://github.com/flutter/flutter/issues/33909

Xcode 10 SDK seems not to include i386 architecture.

Can't build Flutter engine with Xcode 10 because it removed i386 support 

Xcode 10 removed 32-bit stubs for linking against the macOS SDK.

temporary solution for iOS is to remove armv7 and armv7s from Valid architectures in Build Settings section. It drops support for iPhone 5, iPhone 5C, iPad 4 and older devices


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM