Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

can't get Xcode not to build x86_64 for Swift Packages

I'm trying to improve my build time on macOS by not building for x86_64. I've got the following settings:

This gets Xcode not to build x86_64 for my app, but not all the package dependencies.

I've updated most of the packages to swift-tools-version: 6.0 but FlatBuffers is still on 5.8 and .macOS(.v10_14). GPT claims:

If your deployment target is set to macOS 10.15 or earlier, Xcode may force x86_64 support for compatibility reasons.

But Xcode is building x86_64 for ALL my packages, even the ones that don't depend on FlatBuffers.

When I open a package in Xcode that depends on FlatBuffers, then it builds arm only, so that may be a red herring.

Not sure what else to try.

There isn't much more than you can do here to limit you package dependencies from building x86_64. Would you mind filing a bug report with a small test project project attached? Once you do so, please post the FB number here for my reference.

— Ed Ford,  DTS Engineer

can't get Xcode not to build x86_64 for Swift Packages
 
 
Q