Packaging and notarizing a macOS app only works exporting through Xcode first #21823
Unanswered
LucasVanDongen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a macOS app that I distribute as an installer package outside of the Mac App Store.
I have a manual flow that works, where I archive then export MyApp.app, followed by executing the following scripts manually:
All fine, but I would like to automate everything with a single line of code, updating the version number and so on. Fastlane is the most logical choice. My configuration looks something like this:
It all executes, but the
notarytool
step fails. When I inspect the error, it complains that none of the binaries are signed, no timestamp, etcetera.When I use
codesign -d -vvv ClockAssist.app
on the .app that doesn't work, I see the followingAuthority=Apple Development: Main Developer (12345678EE)
When I use the same command on the .app that I use in the manual flow, I see the following:
Authority=Developer ID Application: MyApp Inc (12345678EE)
When I add
codesigning_identity: "Developer ID Application: MyApp Inc (12345678EE)"
tobuild_app
I get a plethora of different errors, like:Also it doesn't have the key in the Keychain.
So I must be missing something really simple here, but I don't know what?
Beta Was this translation helpful? Give feedback.
All reactions