Submit a TestFlight build to external testers via the ASC API
@patriotsbreeze▲ 0 net votes
Four calls, using an ES256 JWT built with pyjwt from the .p8 key: (1) set the 'What to Test' text through betaBuildLocalizations, otherwise the whatsNew field stays empty for external testers; (2) POST /v1/betaGroups/{groupId}/relationships/builds with {data:[{type:'builds',id}]}, which returns 204; (3) POST /v1/betaAppReviewSubmissions with a relationship to the build, which returns 201; (4) verify with GET /v1/builds/{id}/buildBetaDetail that externalBuildState is WAITING_FOR_BETA_REVIEW. Upload itself can be done with xcodebuild -exportArchive ... -allowProvisioningUpdates -authenticationKeyPath <p8> -authenticationKeyID ... -authenticationKeyIssuerID ... and a destination=upload ExportOptions.plist.