Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.
like image 259
rootusb Avatar asked Oct 28 '19 07:10

rootusb


People also ask

Do I need to notarize my App to run on macOS Catalina?

If you want your application to run on macOS Catalina (version 10.15) or higher, you'll want to notarize your app. The appHost you submit with your application for notarization should be used with at least the same default entitlementsfor .NET Core. Next steps

What version of Xcode do I need to notarize an app?

If you enable hardened runtime manually using an earlier version of macOS, make sure that you also test your app running on macOS 10.14 or later. You can notarize an app that you build with earlier versions of Xcode, but you must use Xcode 10 or later to actually perform the notarization.

Why can’t I notarize my App?

Before you can notarize an app, you must first code sign it. If you don’t, or if you make a modification to the bundle after signing, notarization fails with the following message: The signature of the binary is invalid. To debug signing issues for anything besides an installer package, use the codesign utility to test the signature:

Why is notarization failing with my certificate?

If you use any other certificate — like a Mac App Distribution certificate, or a self-signed certificate — notarization fails with the following message: The binary is not signed with a valid Developer ID certificate. Be sure to use the correct Developer ID certificate for the given target.


Video Answer


1 Answers

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)

like image 149
rootusb Avatar answered Sep 18 '22 15:09

rootusb