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

猜你喜欢

转载自www.cnblogs.com/nightfallsad/p/11718873.html