We need to archive and export our apps for InHouse distribution utilizing the Enterprise API, however we get an error. We use an Enterprise Program-API key with Administrator privileges.
We archive our app with the next command:
xcodebuild clear archive
-allowProvisioningUpdates
-archivePath Archive.xcarchive
-authenticationKeyPath {PATH}/AuthKey_SOMEID.p8
-authenticationKeyID {OUR_KEY_ID}
-authenticationKeyIssuerID {OUR_ISSUER_ID}
-verbose
DEVELOPMENT_TEAM={OUR_TEAM_ID}
-scheme {SCHEME_NAME}
We geht the next error
xcodebuild[20788:6204602] DVTServices: Obtained response for D61802AS-41BD-4103-8372-5AC3470B60B0 @ <https://appstoreconnect.apple.com/xcbuild/QH65B2/listTeams.motion?clientId=XABBG36SBB>. Error = Error Area=DVTPortalResponseErrorDomain Code=0 "Communication with Apple failed" UserInfo={NSLocalizedDescription=Communication with Apple failed, NSLocalizedRecoverySuggestion=A non-HTTP 200 response was obtained (401) for URL https://appstoreconnect.apple.com/xcbuild/QH65B2/listTeams.motion?clientId=XABBG36SBB}
Anybody right here can verify this needs to be working and would possibly see some lacking data?
As written within the Apple Developer Discussion board and confirmed by Apple Developer Assist (however with out a answer till now) this needs to be attainable (https://boards.developer.apple.com/boards/thread/763225)