{"id":37093,"date":"2022-09-21T15:54:07","date_gmt":"2022-09-21T19:54:07","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=37093"},"modified":"2022-12-02T15:52:24","modified_gmt":"2022-12-02T20:52:24","slug":"how-to-reinstall-safari-for-mac","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/09\/21\/how-to-reinstall-safari-for-mac\/","title":{"rendered":"How to Reinstall Safari for Mac"},"content":{"rendered":"<p>On one of my Macs running macOS 12.6, the Safari 16 update said that it had succeeded but actually left me with a zero-byte executable that wouldn&rsquo;t launch. This had never happened to me before in all my years of using Macs.<\/p>\n<p>You might think this should be impossible because macOS now uses a <a href=\"https:\/\/support.apple.com\/en-gb\/guide\/security\/secd698747c9\/\">Signed System Volume (SSV)<\/a> that&rsquo;s supposed to make sure that the system files are correct. However, Safari is updated separately from the rest of macOS, and so it is actually stored on the Data volume rather than on the SSV.<\/p>\n<p>I had other Web browsers installed, so my first thought was to simply download the Safari 16 installer and run it again. However, Apple <a href=\"https:\/\/support.apple.com\/downloads\/safari\">no longer offers<\/a> downloads of the Safari installer. Apple&rsquo;s supported solution, I assume, is to use macOS Recovery to reinstall all of macOS (<a href=\"https:\/\/twitter.com\/ClassicII_MrMac\/status\/1570813969379774464\">and then<\/a> update to Safari 16) or perhaps to restore from a Time Machine backup. But those remedies are quite disruptive.<\/p>\n<p>Of course, the Safari 16 installer must be available from Apple&rsquo;s servers since macOS&rsquo;s software update can download it. Unfortunately, I wasn&rsquo;t able to find the link via Web searches, instead finding lots of SEO pages that didn&rsquo;t actually offer the solution.<\/p>\n<p><a href=\"https:\/\/twitter.com\/ClassicII_MrMac\/status\/1570234703340339201\">Mr. Macintosh<\/a> rescued me, providing a mysterious link to the <a href=\"https:\/\/swcdn.apple.com\/content\/downloads\/49\/34\/012-49737-A_TV65K25K9P\/dsiabz7qsxmiou7oyqkriliuc0yx5tctlm\/Safari16.0MontereyAuto.pkg\">Safari 16 installer package<\/a>. But how can you find such links yourself? First, open this file:<\/p>\n<pre>\/System\/Library\/PrivateFrameworks\/Seeding.framework\/Versions\/A\/Resources\/SeedCatalogs.plist<\/pre>\n<p>Inside are URLs for the current macOS software update catalogs. (Old catalog URLs are listed <a href=\"https:\/\/gist.github.com\/meyer\/b14c87d162366f0428a99cd2ff0d0b8b\">here<\/a>.) Right now, the current non-beta one is:<\/p>\n<pre>https:\/\/swscan.apple.com\/content\/catalogs\/others\/index-12customerseed-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz<\/pre>\n<p>I like to paste paths and URLs like this into BBEdit&rsquo;s <strong>Open File by Name<\/strong> window. It will both download the URL and decompress the file for viewing.<\/p>\n<p>Once you&rsquo;re viewing the catalog of installer packages, you can search around to find the one that you need.<\/p>\n<p>Alternatively, you can use the <a href=\"https:\/\/github.com\/hjuutilainen\/sus-inspector\">SUS Inspector<\/a> app to download and view macOS software update catalogs. And Mr. Macintosh now has a page that lists all the <a href=\"https:\/\/mrmacintosh.com\/macos-safari-full-installer-database-download-directly-from-apple\/\">Safari installer packages<\/a> (to go along with his lists of <a href=\"https:\/\/mrmacintosh.com\/apple-silicon-m1-full-macos-restore-ipsw-firmware-files-database\/\">IPWS<\/a> files and installers for <a href=\"https:\/\/mrmacintosh.com\/macos-ventura-13-full-installer-database-download-directly-from-apple\/\">Ventura<\/a>, <a href=\"https:\/\/mrmacintosh.com\/macos-12-monterey-full-installer-database-download-directly-from-apple\/\">Monterey<\/a>, and <a href=\"https:\/\/mrmacintosh.com\/macos-big-sur-full-installer-database-download-directly-from-apple\/\">Big Sur<\/a>).<\/p>\n\n<p><a href=\"https:\/\/twitter.com\/eternalstorms\/status\/1570679715115028481\">Matthias Gansrigler<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/eternalstorms\/status\/1570679715115028481\">\n<p>Had the same issue where it would crash at launch, and then no longer launch at all.\nRe-installed macOS from Recovery, and now I&rsquo;m scared to install the Safari 16 update &#x1F937;&#x200D;&#x2642;&#xFE0F;<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/09\/13\/safari-16\/\">Safari 16<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/09\/12\/macos-12-6-and-macos-11-7\/\">macOS 12.6 and macOS 11.7<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/03\/09\/apple-platform-security-february-2021\/\">Apple Platform Security Guide (February 2021)<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/12\/02\/is-big-surs-system-volume-sealed\/\">Is Big Sur&rsquo;s System Volume Sealed?<\/a><\/li>\n<\/ul>\n\n<p id=\"how-to-reinstall-safari-for-mac-update-2022-09-23\">Update (2022-09-23): <a href=\"https:\/\/twitter.com\/Gummibando\/status\/1572682378912333824\">Oliver Busch<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Gummibando\/status\/1572682378912333824\">\n<p>Even simpler: <a href=\"https:\/\/www.charlessoft.com\">Pacifist<\/a>.<\/p>\n<\/blockquote>\n\n<p id=\"how-to-reinstall-safari-for-mac-update-2022-12-02\">Update (2022-12-02): <a href=\"https:\/\/twitter.com\/Dieulot\/status\/1588346905440161792\">Alexandre Dieulot<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Dieulot\/status\/1588346905440161792\">\n<p>The catalog file used in practice is slightly different than those &ldquo;seeds&rdquo;. This might be a more future-proof way to get its URL:<\/p>\n<pre>softwareupdate --dump-state; grep -Eo 'https.+catalog\\S+' \/var\/log\/install.log<\/pre>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>On one of my Macs running macOS 12.6, the Safari 16 update said that it had succeeded but actually left me with a zero-byte executable that wouldn&rsquo;t launch. This had never happened to me before in all my years of using Macs. You might think this should be impossible because macOS now uses a Signed [&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-09-21T19:54:10Z","apple_news_api_id":"94756b32-a4ae-4127-a27d-1f492244ef93","apple_news_api_modified_at":"2022-12-02T20:52:26Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AlHVrMqSuQSeifR9JIkTvkw","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":[2],"tags":[154,131,30,32,2077,2088,74,1145,103,343,2277,2087,2276,96],"class_list":["post-37093","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bbedit","tag-bug","tag-mac","tag-macapp","tag-macos-12","tag-macos-recovery","tag-opensource","tag-pacifist","tag-safari","tag-search","tag-signed-system-volume-ssv","tag-software-update","tag-sus-inspector","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37093","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=37093"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37093\/revisions"}],"predecessor-version":[{"id":37813,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37093\/revisions\/37813"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=37093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=37093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=37093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}