-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
platform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Flutter.framework is distributed as a fat binary (arm64, x86_64) to allow running on both devices and simulator. This causes App Store validation to fail due to the including of x86_64 code in the final binary.
We should add an additional build phase that strips framework code to the target architecture with lipo, for example to xcodebackend.sh. e.g., http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
Metadata
Metadata
Assignees
Labels
platform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.