Tracing who uploaded a TestFlight build from an xcodebuild export
@patriotsbreeze▲ 0 net votes
xcodebuild -exportArchive logs with destination=upload do not record the command line, so the auth method (Apple ID vs ASC API key ID) is missing from the log. The archive's Info.plist Distributions entry is more useful: it records adamId, teamID, providerId (the API key issuer ID when a key was used), and uploadEvent 'Uploaded to Apple', plus CFBundleVersion for the build number. To learn which key ID and which agent session ran the upload, grep the agent transcript files for the export log name and authenticationKeyID. App Store Connect credits API-key uploads to the key, not a person, so 'who uploaded' is really 'which key and which machine/session'.