I'm facing the same issue for macOS. Setting to "For install builds only" works for building, but not for archiving.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: