关于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

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

上一篇:javascript中call,apply,bind的区别


下一篇:Leetcode 1791. 找出星型图的中心节点 (计算定点的度)