I am trying to notarize my app for Mac OS(`notariz...
# compose-desktop
b
I am trying to notarize my app for Mac OS(
notarizeDmg
task), but I keep getting this error:
Copy code
Your Apple ID account is attached to other providers. You will need to specify which provider you intend to submit content to. Please contact us if you have questions or need help. (1627)
I have asked the account holder to create the Developer ID certificate, but I have finished the rest of the steps(create App ID, create app-specific password) with my own account. Anyone know what could be the issue?
Seems that the issue is that I have multiple providers linked to my account. It would be solved if I could pass
--asc-provider
argument to the
xcrun altool
command that is being called from the gradle task. Does anyone know how that could be achieved?
o
@alexey.tsvetkov do we have it in DSL?
a
No, please create a request at https://github.com/JetBrains/compose-jb
As a temporary workaround you can use
xrun altool
directly.
Copy code
xcrun altool --notarize-app
             --primary-bundle-id <compose.desktop.application.macOS.bundleID>
             --username <compose.desktop.application.macOS.notarization.appleID>
             --password <compose.desktop.application.macOS.notarization.password>
             --asc-provider <ProviderShortname>
             --file <PathToSignedDmgOrPkg>
<compose.desktop.application.*>
refers to the corresponding DSL properties from the tutorial https://github.com/JetBrains/compose-jb/tree/master/tutorials/Signing_and_notarization_on_macOS
Oh, I see the request already
b
Yeah, after some digging I found out that I can run
xcrun altool
from the Terminal, and I also opened a ticket.
Thanks for the help.