Don’t know if a relevant option was added later or maybe it’s not considered supported, but I’ve found a way to skip copying the libraries.
Define a custom build setting for a target: OTHER_SWIFT_STDLIB_TOOL_FLAGS
Set it to:
--source-libraries /dev/null
This will effectively disable copying the Swift libraries.
I’ve found the option by running this in Terminal:
xcrun swift-stdlib-tool --help
Topic:
Programming Languages
SubTopic:
Swift
Tags: