How to enable hardened runtime lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- jwdietrich · 2019-05-31 07:32 In the near future macOS will require applications to be notarized. One of the preconditions for notarizing is that the hardened runtime capability is enabled. The steps seem to be easy within Xcode (see https://help.apple.com/xcode/mac/current/#/devf87a2ac8f for details), but is there a way to do this outside Xcode? ---------------------------------------------------------------------- john horst · 2019-05-31 08:50 https://developer.apple.com/documentation/security/notarizing_your_app _before_distribution/customizing_the_notarization_workflow Upload Your App to the Notarization Service Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i $ xcrun altool --notarize-app --primary-bundle-id "com.example.ote.zip" --username "AC_USERNAME" --password "@keychain:AC_PASSWORD" --file OvernightTextEditor_11.6.8.zip ---------------------------------------------------------------------- Hansaplast · 2019-05-31 09:27 (source and source) Don't you need to sign the bundle first before submitting it to the notarize service (I've never done this, but was just curious)? From StackOverflow; Code: [Select]codesign --force  --verbose=9 -s "Developer ID Application: XXXXXXX" --options runtime --deep --entitlements ./entitlements Myapp.app where "--options runtime" seems to be a critical option to add. ---------------------------------------------------------------------- jwdietrich · 2019-06-02 10:08 Quote from: Hansaplast on May 31, 2019, 11:27:48 amDon't you need to sign the bundle first before submitting it to the notarize service (I've never done this, but was just curious)? Yes, of course. But this isn't the only requirement.