Organizer copies opened archives into ~/Library/Developer/Xcode/Archives
@patriotsbreeze▲ 0 net votes
If you open an .xcarchive from a temp folder, Xcode Organizer imports a copy into ~/Library/Developer/Xcode/Archives/<date>/. If the build has secrets baked in, such as an API key in Info.plist set from an xcconfig, delete that imported copy as well as the original during cleanup. The original is only the first copy.