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
1
vote
1 answer

Why does my macOS notarization example not work?

I signed and exported my test application for the macOS notarization process. I can validate the ticket by using xcrun stapler validate $ xcrun stapler validate /Users/user/Downloads/Test.app Processing: /Users/user/Downloads/Test.app The validate…
HelloWorld
  • 2,392
  • 3
  • 31
  • 68
1
vote
2 answers

Notarization over ssh fails: User interaction is not allowed

Connected via ssh and executing: xcrun altool --notarize-app --primary-bundle-id com.example.app --username exam@ple.com --password @keychain:AC_PASSWORD --file app.dmg results in: 2019-04-17 16:06:53.146 altool[4331:55219] *** Error: User…
Macintron
  • 97
  • 1
  • 10
0
votes
1 answer

Distribute app with Developer ID with Hardened Runtime and 3rd party CLI-executable - Code sign Error

While I tried to distribute my app with Developer ID from Xcode Organizer, I got this error: Hardened Runtime is not enabled. "ffmpeg" must be rebuilt with support for the Hardened Runtime. Enable the Hardened Runtime capability in the project…
soundflix
  • 928
  • 9
  • 22
0
votes
0 answers

Fastlane when updated FL_NOTARIZE_USE_NOTARYTOOL to true, failing with error as password missing

I have a working Faslane setup. Till date, I was using FL_NOTARIZE_USE_NOTARYTOOL = false, so far so good. I try to move from altool to notarytool by updating the FL_NOTARIZE_USE_NOTARYTOOL = true, but I get the below error: Shell command exited…
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
0
votes
2 answers

jpackage is not finding certificates when using --mac- flags to sign before notarization on MacOS

I'm trying to build an app-image for macos with the following jpackage version: openjdk 17.0.2 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-86) OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) I'm using a bash file to…
boolean
  • 119
  • 7
0
votes
1 answer

MacOS codesignature invalid after adding entitlements

I'm signing a small command line TCP listener for Mac M1 which usually signs and notarizes correctly using the following command: codesign --sign $IDENTITY --options runtime --timestamp server/executable In order to enrich the features of our…
ss900ie
  • 71
  • 6
0
votes
1 answer

Mac app cannot run due to gatekeeper block jna*.tmp file generated at launch time

My app has already been signed and notarized successfully, but I got this error while trying to launch the app: "jna7223640233751603426.tmp" cannot be opened because the developer cannot be verified Does anybody have the solution for this? How…
0
votes
1 answer

How do I find why Xcode no longer notarizes my app?

I have a MacOS app that I last notarized about a year ago with no issues. This time, however, when I created the initial Archive, the Organizer put it into a section called 'Other Items' instead of in the 'macOS Apps' section with all of the…
latkin
  • 11
  • 1
  • 2
0
votes
1 answer

alltool: The provided entity includes a relationship with an invalid value

I'm trying to upload an .ipa with altool, but it doesn't accept the apple-id argument --apple-id id. xcrun altool --upload-package \ MyApp.ipa \ --type ios \ --asc-public-id $ASC_PUBLIC_ID \ --apple-id me@gmail.com \ …
alekop
  • 2,838
  • 2
  • 29
  • 47
0
votes
1 answer

Electron-builder macOS notarization problem with puppeteer library: Not all binaries are signed

I am currently struggling with notarizing my app with electron builder for macOS! The app uses puppeteer which causes the error that the ".localChromium" folder does not get signed! I already tried a lot of things but I was not able to fix this…
0
votes
1 answer

What are the precise steps for notarizing an .app file created using pyinstaller?

I have a simple app named determinant_calculator.app that was created using Python 3.9 along with pyinstaller. It functions fine on my own Mac running OS 11.3.1. I want to share it with others outside the App Store. I have an Apple Developer account…
fishbacp
  • 1,123
  • 3
  • 14
  • 29
0
votes
0 answers

How can I stop Xcode crashing when notarising an application?

My application works. It passes its unit tests, it passes its user acceptance tests, it doesn't even have too many warnings about deprecations (just one or two). So now I'd like to release it - and I want to have it notarised. Unfortunately, when…
headbanger
  • 1,038
  • 1
  • 11
  • 32
0
votes
3 answers

Codesigning and notarizing executable file for OSX

I'm trying to codesign + notarize from the command line a small executable file generated out of a javascript file without success. This file is a very simple CLI tool, aimed to be used through the mac's terminal. downloading the file and attempting…
0
votes
0 answers

GateKeeper refues to allow execution of notarized and stapled app on MacOS

We have developed a small test .app with C code that loads (dlopen()) a simple one function dylib library (the dylib file is included in the app Contents under /Contents/Frameworks/), which printf's two text lines to a text file in /tmp/ using xcode…
0
votes
1 answer

Error loading python lib after notarizing MacOS application

My compiled python pyqt5 application does not work after being notarized by Apple systems. I am running Big Sur 11.4. [8181] Error loading Python lib '/var/folders/v4/55fs66d13_zgjry5v8vpbbb40000gn/T/_MEIchDPs9/Python': dlopen:…
Rokas1369
  • 11
  • 3