Ask Different Asked by chitharthan on November 6, 2021
I’m trying to notarise my app from apple using xcrun altool, the documentation shows the following :
xcrun altool –notarize-app
–primary-bundle-id "com.example.ote.zip"
–username "AC_USERNAME"
–password "@keychain:AC_PASSWORD"
–asc-provider <ProviderShortname>
–file OvernightTextEditor_11.6.8.zip
but I couldn’t find the parameter to provide to the –asc-provider can any one let me know what it is and where to search for that parameter. All other parameters I have found and fine. Help me out I’m new to mac.
The provider is nothing but the membership account that you use. This is apple developer account.
In the developer account there can be different membership account inside that and that account is the provider for the certificates or profiles or identifiers you create
Provider short name can be known from the membership account page for reference see the image below
Answered by chitharthan on November 6, 2021
altool
manual pageThe manual for altool
can be viewed by running the command man altool
. The manual states:
--asc-provider provider_shortname
Required with
--notarize-app
and--notarization-history
when a user account is associated with multiple providers.
Without your knowing, it is unlikely that your account is associated with multiple providers.
If you believe you need a provider, see Apple's Customizing the Notarization Workflow:
You can omit the asc-provider option for the notarization call if your credentials are associated with only a single team. Otherwise, use the option to indicate the provider short name for the appropriate team. Starting in Xcode 11, you can use
altool
to get a table of providers, provider short names, and team IDs associated with a given username and password using the list-providers option:xcrun altool --list-providers -u "AC_USERNAME" -p "@keychain:AC_PASSWORD"
Answered by Graham Miln on November 6, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP