{"id":42361,"date":"2024-03-06T16:28:08","date_gmt":"2024-03-06T21:28:08","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=42361"},"modified":"2024-05-07T13:41:34","modified_gmt":"2024-05-07T17:41:34","slug":"xcode-15-3","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2024\/03\/06\/xcode-15-3\/","title":{"rendered":"Xcode 15.3"},"content":{"rendered":"<p><a href=\"https:\/\/developer.apple.com\/documentation\/xcode-release-notes\/xcode-15_3-release-notes\">Apple<\/a> (<a href=\"https:\/\/developer.apple.com\/services-account\/download?path=\/Developer_Tools\/Xcode_15.3\/Xcode_15.3.xip\">direct download<\/a>):<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/documentation\/xcode-release-notes\/xcode-15_3-release-notes\">\n<p>Xcode 15.3 includes SDKs for iOS 17.4, iPadOS 17.4, tvOS 17.4, watchOS 10.4, macOS Sonoma 14.4, and visionOS 1.1. The Xcode 15.3 release supports on-device debugging in iOS 12 and later, tvOS 12 and later, watchOS 4 and later, and visionOS. Xcode 15.3 requires a Mac running macOS Sonoma 14 or later.<\/p>\n<p>[&#8230;]<\/p>\n<p>You can now use API Notes to add attributes to C++ APIs declared in a C++ namespace.<\/p>\n<p>[&#8230;]<\/p>\n<p>Schemes provide a new &ldquo;Override Architectures&rdquo; build option, which controls the set of architectures that will be built for all targets in the workspace, including Swift packages. The recommended option (and default for new schemes) is &ldquo;Match Run Destination&rdquo;. Full details are available by clicking the information icon next to the &ldquo;Override Architectures&rdquo; setting on the scheme build options sheet in Xcode.<\/p>\n<p>[&#8230;]<\/p>\n<p>If an Objective-C or C++ exception is thrown on a background thread, including those owned by the Swift runtime, it will now be recorded as a test failure before the test process terminates.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2024\/03\/06\/swift-5-10\/\">Swift 5.10<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2024\/01\/08\/xcode-15-2\/\">Xcode 15.2<\/a><\/li>\n<\/ul>\n\n<p id=\"xcode-15-3-update-2024-03-08\">Update (2024-03-08): <a href=\"https:\/\/iosdev.space\/@sanguish\/112061357665869736\">Scott Anguish<\/a>:<\/p>\n<blockquote cite=\"https:\/\/iosdev.space\/@sanguish\/112061357665869736\">\n<p>Xcode 15.3 seems like a backslide in a bunch of cases.<\/p>\n<p>I&rsquo;m seeing lots of &ldquo;Build service could not create build operation: unknown error while handling message: unknownSession(handle: \"S0\")&rdquo; failures that require closing and reopening the project.<\/p>\n<p>And Previews in SPMs no longer actually preview (Update Failed)<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@schwa\/112061415495652430\">Jonathan Wight<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@schwa\/112061415495652430\">\n<p>Yeah I am getting a ton of random failures (\"please try compiling again) with 15.3 too.<\/p>\n<\/blockquote>\n\n<p id=\"xcode-15-3-update-2024-03-15\">Update (2024-03-15): <a href=\"https:\/\/twitter.com\/DamienPetrilli\/status\/1767445262576890127\">Damien Petrilli<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/DamienPetrilli\/status\/1767445262576890127\">\n<p>March 2024 and the replace container feature of Xcode 15 which has been broken since the first beta is still NOT fixed despite being <a href=\"https:\/\/forums.developer.apple.com\/forums\/thread\/738489?page=2\">acknowledged by Apple<\/a>.<\/p>\n<\/blockquote>\n\n<p id=\"xcode-15-3-update-2024-03-20\">Update (2024-03-20): <a href=\"https:\/\/iosdev.space\/@cdf1982\/112058975066584630\">Cesare Forelli<\/a>:<\/p>\n<blockquote cite=\"https:\/\/iosdev.space\/@cdf1982\/112058975066584630\">\n<p>In GlanceCam for iOS beta, if I start VLCKit playback of a camera in the simulator running iOS 17.4, I consistently get the attached crash.<\/p>\n<p>Xcode 15.2, iOS 17.2 sim -&gt; no crash<br \/>\nXcode 15.2, iOS 17.4 sim -&gt; &#x1F4A5;<\/p>\n<p>Xcode 15.3, iOS 17.2 sim -&gt; no crash<br \/>\nXcode 15.3, iOS 17.4 sim -&gt; &#x1F4A5;<\/p>\n<\/blockquote>\n\n<p id=\"xcode-15-3-update-2024-03-25\">Update (2024-03-25): <a href=\"https:\/\/twitter.com\/praeclarum\/status\/1771258921811886309\">Frank A. Krueger<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/praeclarum\/status\/1771258921811886309\">\n<p>Xcode 15.3 broke* a feature I rely on daily** and I really want it fixed.<\/p>\n<p>* Dear Apple devs: asserts are not the right way to do error checking\/handling.<\/p>\n<p>** CoreML performance reports<\/p>\n<\/blockquote>\n\n<p id=\"xcode-15-3-update-2024-04-12\">Update (2024-04-12): <a href=\"https:\/\/github.com\/apple\/swift\/issues\/68163#issuecomment-2051779019\">jayMcBee<\/a>:<\/p>\n<blockquote cite=\"https:\/\/github.com\/apple\/swift\/issues\/68163#issuecomment-2051779019\"><p>Same bug here with Xcode 15.2\/15.3 -\napp crashing on customer systems with 10.13 and 10.14 due to SwiftUI being referenced.<\/p><p>The app uses AppKit, Obj-C, and Swift.\nNo SwiftUI whatsoever. Referenced nowhere, imported nowhere, nothing in the build log&#8230;\nStill it&rsquo;s randomly referenced in the binary according to otool -L<\/p><p>The asset symbol workaround appears to work - so far&#8230;<\/p><\/blockquote>\n<p>I don&rsquo;t understand why this widely publicized bug that dates back to August isn&rsquo;t fixed yet.<\/p>\n\n<p id=\"xcode-15-3-update-2024-04-29\">Update (2024-04-29): <a href=\"https:\/\/techhub.social\/@cdfinder\/112353404046661898\">Norbert Doerner<\/a>:<\/p>\n<blockquote cite=\"https:\/\/techhub.social\/@cdfinder\/112353404046661898\">\n<p>Wow, #Xcode 15.3 and #macOS 14.4.1 are such a weird dumpster fire of strange bugs and problems.<\/p>\n<p>Merging the AppKit and UIKit low-level system frameworks is not going all too well, obviously.<\/p>\n<p>That error message in Xcode is catastrophically ridiculous, really.<\/p>\n<p>It indicates yet another serious bug in Apples own private frameworks.<\/p>\n<\/blockquote>\n<p>I have been seeing errors like that for several releases now.<\/p>\n\n<p id=\"xcode-15-3-update-2024-05-07\">Update (2024-05-07): See also: <a href=\"https:\/\/layer8.space\/@teilweise\/112377178888750475\">Der Teilweise<\/a>.<\/p>\n\n<p><a href=\"https:\/\/forums.developer.apple.com\/forums\/thread\/747920\">Scorpius<\/a>:<\/p>\n<blockquote cite=\"https:\/\/forums.developer.apple.com\/forums\/thread\/747920\">\n<p>After some more testing XCode seems to be gagging on my SVG files now, SVGs had been working well up to 15.3!<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Apple (direct download): Xcode 15.3 includes SDKs for iOS 17.4, iPadOS 17.4, tvOS 17.4, watchOS 10.4, macOS Sonoma 14.4, and visionOS 1.1. The Xcode 15.3 release supports on-device debugging in iOS 12 and later, tvOS 12 and later, watchOS 4 and later, and visionOS. Xcode 15.3 requires a Mac running macOS Sonoma 14 or later. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2024-03-06T21:28:11Z","apple_news_api_id":"630bc357-018f-4aec-ba5c-aaaad6c02695","apple_news_api_modified_at":"2024-05-07T17:41:23Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAACA==","apple_news_api_share_url":"https:\/\/apple.news\/AYwvDVwGPSuy6XKqq1sAmlQ","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,2385,71,1959,586,226],"class_list":["post-42361","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-mac","tag-macos-14-sonoma","tag-programming","tag-simulator","tag-svg","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/42361","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=42361"}],"version-history":[{"count":10,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/42361\/revisions"}],"predecessor-version":[{"id":43128,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/42361\/revisions\/43128"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=42361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=42361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=42361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}