Hi Guys, I am facing a problem I find difficult to debug.
I had a company Apple ID, member of team, that I used for notaryzation of an app via:
res=$(xcrun notarytool submit ${file_to_notarize} --apple-id stepan.svoboda@memsource.com --password ${password} --team-id PK8H4S4HPF --wait 2>&1)
But I will be leaving the company soon so we created new apple ID.
desktop@phrase.com
We invited this ID to team.
And assigned it admin role.
I generated app specific password and I am using it with this new apple ID
But then running:
res=$(xcrun notarytool submit ${file_to_notarize} --apple-id desktop@phrase.com --password ${password} --team-id PK8H4S4HPF --wait 2>&1)
Fails with:
Error: HTTP status code: 401. Unable to authenticate. Invalid session. Ensure that all authentication arguments are correct.
And I run out of ideas what to check, what could be wrong.