SwiftPM binaryTarget dependency and code signing

Xcode is supposed to re-sign all of your libraries and frameworks upon export of the archive, or is that incorrect?