MacOS Notarization on command line unable to create authentication session
Asked Answered
T

2

8

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.
Teerell answered 28/10, 2019 at 7:7 Comment(0)
T
8

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)

Teerell answered 28/10, 2019 at 10:19 Comment(0)
I
0

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)

Irate answered 13/8, 2021 at 7:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.