{"id":36158,"date":"2022-06-09T16:06:09","date_gmt":"2022-06-09T20:06:09","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=36158"},"modified":"2023-04-21T20:50:14","modified_gmt":"2023-04-22T00:50:14","slug":"mac-app-notarization-at-wwdc-2022","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/06\/09\/mac-app-notarization-at-wwdc-2022\/","title":{"rendered":"Mac App Notarization at WWDC 2022"},"content":{"rendered":"<p><a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2022\/10109\/\">Apple<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2022\/10109\/\"><p>Notarization works in tandem with macOS to help people safely download software for their Mac outside of the App Store. Learn about the required transition from <code>altool<\/code> to <code>notarytool<\/code> and how the Xcode GUI can help you achieve better overall performance when notarizing your app. We&rsquo;ll also share information about APIs for interacting with the Notary service from any internet-connected machine.<\/p><\/blockquote>\n\n<p><code>altool<\/code> is going away in fall 2023.<\/p>\n\n<p><a href=\"https:\/\/twitter.com\/rosyna\/status\/1534213560602988544\">Rosyna Keller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/rosyna\/status\/1534213560602988544\"><p>The other huge change is the Apple notary service now has a public <a href=\"https:\/\/developer.apple.com\/documentation\/notaryapi\">REST API<\/a>. Now you can avoid notarytool and Xcode for notarization if that&rsquo;s how you prefer to roll. Note that stapling isn&rsquo;t part of this new API and still has to be done from a Mac.<\/p><p>[&#8230;]<\/p><p>You can pull notarytool and stapler from the <a href=\"https:\/\/developer.apple.com\/download\/all\/?q=Command%20line\">Xcode command line tools<\/a> and use them on Macs not running the latest Xcode builds.<\/p><p>[&#8230;]<\/p><p>[All] versions of <code>notarytool<\/code> support a <code>--webhook &lt;URL&gt;<\/code> on the submit command.<\/p><p>[&#8230;]<\/p><p>Because <code>spctl<\/code> tests the certificate chain against the current machine&rsquo;s policies and your own dev certs are trusted, you may have to move the thing you&rsquo;re testing to a VM or another Mac to see any errors a typical user would see when running your generally untrusted signature.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/06\/09\/xcode-14-announced\/\">Xcode 14 Announced<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/06\/21\/altool-update-and-notarytool\/\">altool Update and notarytool<\/a><\/li>\n<\/ul>\n\n<p id=\"mac-app-notarization-at-wwdc-2022-update-2023-04-21\">Update (2023-04-21): <a href=\"https:\/\/developer.apple.com\/documentation\/technotes\/tn3147-migrating-to-the-latest-notarization-tool\">TN3147<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/documentation\/technotes\/tn3147-migrating-to-the-latest-notarization-tool\">\n<p>Migrate your notarization workflows to <code>notarytool<\/code> from the deprecated <code>altool<\/code>.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Apple: Notarization works in tandem with macOS to help people safely download software for their Mac outside of the App Store. Learn about the required transition from altool to notarytool and how the Xcode GUI can help you achieve better overall performance when notarizing your app. We&rsquo;ll also share information about APIs for interacting with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-06-09T20:06:13Z","apple_news_api_id":"dc04ad11-93c3-44f6-8530-73b914661dae","apple_news_api_modified_at":"2023-04-22T00:50:18Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/A3AStEZPDRPaFMHO5FGYdrg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[466,30,2223,1842,71,1451,50,226],"class_list":["post-36158","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-codesigning","tag-mac","tag-macos-13-ventura","tag-notarization","tag-programming","tag-sunset","tag-webapi","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=36158"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36158\/revisions"}],"predecessor-version":[{"id":39113,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36158\/revisions\/39113"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=36158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=36158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=36158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}