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.

111 questions
26
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,243
  • 4
  • 17
  • 38
26
votes
4 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,860
  • 33
  • 39
19
votes
2 answers

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
  • 772
  • 1
  • 8
  • 21
18
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,439
  • 1
  • 23
  • 49
17
votes
3 answers

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
  • 324
  • 2
  • 9
13
votes
4 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
  • 762
  • 1
  • 5
  • 14
10
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,317
  • 10
  • 27
8
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,940
  • 4
  • 35
  • 64
8
votes
2 answers

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
  • 161
  • 1
  • 6
8
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
  • 13,411
  • 42
  • 184
  • 351
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
1 answer

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
  • 567
  • 6
  • 24
6
votes
0 answers

macOS Catalina Notarization: "failed strict validation" error while code-signing executable created using pkg npm module

I have packaged a Node.js script into an executable using pkg. With the macOS catalina release, all software should be notarized by Apple. As Apple only allows .dmg, .pkg or .app files for distribution. I used pkgbuild to create an OS X installer…
5
votes
2 answers

Uploading MacOS app to Apple Notary Services gives altool deprecation warning

I am building and distributing my MacOS app through XCode the same way I have for years. However I noticed recently when I upload the app to Apple for notarization it comes back successfully and says "Ready to distribute" in the Archives window, but…
DrRocket
  • 215
  • 2
  • 14
5
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
  • 812
  • 1
  • 10
  • 29
1
2 3 4 5 6 7 8