Questions tagged [notarize]

Notarizing Your App Before Distribution Give users even more confidence in your software by submitting it to Apple for notarization.

Notarization gives users more confidence that the Developer ID-signed software you distribute has been checked by Apple for malicious components. Notarization is not App Review. The Apple notary service is an automated system that scans your software for malicious content, checks for code-signing issues, and returns the results to you quickly. If there are no issues, the notary service generates a ticket for you to staple to your software; the notary service also publishes that ticket online where Gatekeeper can find it.

When the user first installs or runs your software, the presence of a ticket (either online or attached to the executable) tells Gatekeeper that Apple notarized the software. Gatekeeper then places descriptive information in the initial launch dialog to help the user make an informed choice about whether to launch the app.

93 questions
24
votes
3 answers

macOS: Notarize in Script?

Because the codesigning and archiving by Xcode is time-consuming, boring and problematic, I've always codesigned, archived and shipped my Developer ID signed macOS app using the command-line tools xcodebuild, codesign, etc. via my own script. …
Jerry Krinock
  • 4,399
  • 30
  • 36
18
votes
2 answers

Notarizing Electron apps throws - "You must first sign the relevant contracts online. (1048)" error

I am trying to Notarize an electron app to make it run on macOS Catalina. The packaging was successful but the xcrun altool command is throwing "You must first sign the relevant contracts online. (1048)" error. Electron app package.json…
Ganesh Rathinavel
  • 1,013
  • 3
  • 14
  • 33
18
votes
1 answer

How to upload dmg file for notarization in xcode

I am trying to upload our existing app to apple for notarization. According to the document https://help.apple.com/xcode/mac/current/#/dev88332a81e I have to open the app the xcode archive organizer. We have a dmg file generated from our jenkins…
laocius
  • 634
  • 1
  • 7
  • 18
14
votes
2 answers

How do I verify that a macOS pkg is notarized

How do I verify that a macOS installer pkg file has been notarized? Is there a command-line tool to do this?
craig65535
  • 3,106
  • 20
  • 46
9
votes
3 answers

Code signing + notarization using jpackage utility isn't working on macOS

For some context, I'm using the jpackage utility to try to create a signed DMG file to deliver to my users. The reason I need to sign this DMG is because I would like to notarize the software. By the way, I'm not sure if notarization is possible…
Soham
  • 532
  • 3
  • 12
8
votes
1 answer

Apple notarization lists dylib files as not signed

We distribute a Java application with a bundled JRE, 1.8.0_172. I sign the app using the flags -f --deep and --options runtime. Looking at the CodeResources file in the _CodeSignature directory of the bundled JRE, every file in the JRE is signed and…
7
votes
2 answers

Notarizing Mac OS app built with Corona SDK no longer working. Fails validation

These are the commands I'm running. This used to work for me every time but now it's failing. codesign -s "Developer ID Application: " --timestamp --options runtime -f --entitlements entitlements.plist --deep
hamobi
  • 7,353
  • 4
  • 31
  • 57
7
votes
4 answers

Notarize existing Java application for MacOS Catalina

I distribute a Java application for MacOS, it is developer signed but not notarized. Not really sure where to start with this since the documentation is so biased towards creating apps with Xcode that I do not use, but I just want the simplest way…
Paul Taylor
  • 12,050
  • 34
  • 149
  • 295
7
votes
3 answers

Do I need to notarize both the app and dmg image?

I have an app that is signed, notarized and stapled, then archived into a zip file which is used as the object for my Sparkle updater. I also distribute it on a DMG image for new users (and is the main download from my website). Can I just put the…
Trygve
  • 1,123
  • 8
  • 22
6
votes
1 answer

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…
rootusb
  • 131
  • 1
  • 6
6
votes
1 answer

macOS notarization: altool cannot be found

I wanted to start building a notarization automation script. However, when I try to use the 'xcrun altool' in Terminal, I get the following error: xcrun: error: unable to find utility "altool", not a developer tool or in PATH I'm on macOS 10.14.5,…
Leo Braun
  • 115
  • 5
5
votes
0 answers

Library not loaded after Runtime Hardened enabled

I am trying to notarize my macOS app. My app is embedded with some licensed libraries. I studied document about how to notarize an app and followed steps, my app can be uploaded to Apple notarize services and exported to use, but when I run my app…
Vannes Yang
  • 111
  • 5
5
votes
1 answer

macOS notarization error: "The signature algorithm used is too weak"

I wonder if anyone's familiar with this error which only happens when I upload my apps to Apple for notarization: "AppName.zip/AppName.app/Contents/Resources/EWSMacCompress.tar.gz/EWSMacCompress.tar/EWSMac.framework/Versions/A/EWSMac83886082" "The…
Leo Braun
  • 115
  • 5
4
votes
0 answers

why are executables installed with homebrew trusted on MacOS?

I have a stupid question about homebrew: Why are executables that I install via homebrew trusted by MacOS (gatekeeper)? i.e. after installation I can run an executable and don't get a security popup and don't have to allow an exception - why is…
Chris
  • 285
  • 4
  • 17
4
votes
2 answers

How to download notarized files from Apple?

I have successfully notarized a plugin via command line for a Mac application i'm developing plugins for. This plugin is intended for distribution outside of Mac appstore. xcrun altool --notarize-app --primary-bundle-id "com.demo.bundle.id"…
joke4me
  • 644
  • 1
  • 7
  • 19
1
2 3 4 5 6 7