Post

Replies

Boosts

Views

Activity

Reply to Xcode Beta 5 Metal toolchain download issue
Same issue here. I'm unable to do anything with beta 5. Failed fetching catalog for assetType (com.apple.MobileAsset.MetalToolchain), serverParameters ({ RequestedBuild = 17A5295f; }) Domain: DVTDownloadsUtilitiesErrorDomain Code: -1 User Info: { DVTErrorCreationDateKey = "2025-08-07 13:49:59 +0000"; } -- Failed fetching catalog for assetType (com.apple.MobileAsset.MetalToolchain), serverParameters ({ RequestedBuild = 17A5295f; }) Domain: DVTDownloadsUtilitiesErrorDomain Code: -1 -- Download failed due to not being able to find the host. (Catalog download for com.apple.MobileAsset.MetalToolchain) Domain: com.apple.MobileAssetError.Download Code: 59 User Info: { checkConfiguration = 1; } -- System Information macOS Version 15.5 (Build 24F74) Xcode 26.0 (24198.5) (Build 17A5295f) Timestamp: 2025-08-07T15:49:59+02:00
1w
Reply to Xcode 16 & Package load failure
None of the solutions outlined here worked for me. The only way I got it to work was closing Xcode, deleting all the caches, then when adding my package: instead of choosing "Up to Next Major Version" as the dependency rule, I chose "Exact Version" and typed in the latest version number. After that I could navigate to my top-level project, then on the "Package Dependencies" tab, change it to "Up to Next Major Version". That seems to work, at least for now.
Mar ’25
Reply to iOS 18.1 and SeiftData
Thank you all for posting this and the solution. This is literally the only resource about this on the internet. It helped me with a resolution. My app was working fine for iOS 17, but for iOS 18 would silently fail with the mentioned error b/c I didn't explicitly define the relationships and set the corresponding objects before insertion. I really can't believe Apple just made breaking changes to SwiftData, a supposedly stable framework, without any communication or documentation thereof. Very unprofessional. Never again will I be an early adopter of any of Apple's developer technologies.
Oct ’24
Reply to SwiftData Array in random order?
I came up with the most elegant workaround I could and posted it as a small sample app here: https://github.com/hekuli/swiftdata-test The gist is that I make the model's array private, and have a corresponding public computed property that always sorts the array when accessed. I also use a Factory pattern for higher-level orchestration to manipulate the models b/c I encountered too many SwiftData crashes if model operations were not performed in exact order it likes. I'm still not sure if this is the best approach, so I'd love to hear any suggestions on how it could be improved.
Feb ’24