rootusb
rootusb

Reputation: 161

MacOS Notarization on command line unable to create authentication session

Unable to validate your application. We are unable to create an authentication session

MacOS notarization on command line returning 'unsupported url' when getting status

xcrun altool --notarize-app --primary-bundle-id "com.xx" --username “[email protected]” --password "xxx" --asc-provider "xx" --file xxx.kext.zip

The above command giving me below error, if anybody faced similar issue please let me know how to resolve the issue

altool[4753:1282542] *** Error: Unable to validate your application. We are unable to create an authentication session.

Upvotes: 8

Views: 5025

Answers (2)

David Dehghan
David Dehghan

Reputation: 24775

First try to run this command to make sure your user name and password are correct.

xcrun altool --list-providers -u [email protected] -p aaaaaaaaaa

the user name for the account is the apple id username that created the app specific password. (it is not the name of app specific password created. that is just for housekeeping)

Upvotes: 0

rootusb
rootusb

Reputation: 161

couple of things need to be done.

1) manage app specific password(https://appleid.apple.com/account/manage) https://github.com/expo/expo-cli/issues/927

2) try to type all commands manually so that command line should not have escape character(before I tried to copy paste commands)

Upvotes: 8

Related Questions