{"id":53733,"date":"2026-11-02T16:52:08","date_gmt":"2026-11-02T21:52:08","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=53733"},"modified":"2026-11-02T16:52:08","modified_gmt":"2026-11-02T21:52:08","slug":"missing-logger-symbol-on-macos-15","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2026\/11\/02\/missing-logger-symbol-on-macos-15\/","title":{"rendered":"Missing Logger Symbol on macOS 15"},"content":{"rendered":"<p><a href=\"https:\/\/yardlet.app\/blog\/logger-isenabled-macos-15.html\">Jeongki Park<\/a>:<\/p>\n<blockquote cite=\"https:\/\/yardlet.app\/blog\/logger-isenabled-macos-15.html\">\n<p>The SDK marks <code>Logger.isEnabled(type:)<\/code> as available since macOS 11, but macOS 15.6.1&rsquo;s libswiftos doesn&rsquo;t have it.<\/p>\n<p>[&#8230;]<\/p>\n<p>For four days [my app] quit at launch on macOS 15, and I didn&rsquo;t know.<\/p>\n<p>[&#8230;]<\/p>\n<p><code>OSLog<\/code> has its own <code>isEnabled(type:)<\/code>, which goes to the C function <code>os_log_type_enabled<\/code>, there since macOS 10.12. So I keep an <code>OSLog<\/code> handle, make the <code>Logger<\/code> from it, and ask the handle[&#8230;]<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2026\/09\/01\/ending-the-golden-era-for-backward-compatible-apps\/\">Ending the Golden Era for Backward-Compatible Apps<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Jeongki Park: The SDK marks Logger.isEnabled(type:) as available since macOS 11, but macOS 15.6.1&rsquo;s libswiftos doesn&rsquo;t have it. [&#8230;] For four days [my app] quit at launch on macOS 15, and I didn&rsquo;t know. [&#8230;] OSLog has its own isEnabled(type:), which goes to the C function os_log_type_enabled, there since macOS 10.12. So I keep an [&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":"2026-11-02T21:52:11Z","apple_news_api_id":"30caaf8f-59e5-47f0-be32-71c6b2c146a3","apple_news_api_modified_at":"2026-11-02T21:52:12Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AMMqvj1nlR_C-MnHGssFGow","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":[30,2598,1504,71,901],"class_list":["post-53733","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-mac","tag-macos-15-sequoia","tag-os_log","tag-programming","tag-swift-programming-language"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/53733","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=53733"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/53733\/revisions"}],"predecessor-version":[{"id":53734,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/53733\/revisions\/53734"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=53733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=53733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=53733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}