Post

Replies

Boosts

Views

Activity

Reply to Importing Data into SwiftData in the Background Using ModelActor and @Query
Glad there is a fix coming - let's hope it makes it in time. This is still broken in iOS 18 / Xcode 16 beta 5. I'm going to hold off on the "workaround" as it is very heavy handed and inefficient. Any single change to the main context will cause all views driven by Query to redraw, regardless if they need to. Not sure how this one got past QA...
Aug ’24
Reply to Importing Data into SwiftData in the Background Using ModelActor and @Query
I’m seeing some differences in iOS 18 beta 6 (but still using Xcode 16 beta 5). I won’t call them “improvements” as the feature is still not reliable, but I do see changes propagating to the main context sometimes. There hasn’t been a single mention of SwiftData in any of the release notes so far: no known issues, nothing fixed. And that’s concerning, as I am seeing plenty of issues in addition to this one.
Aug ’24
Reply to Xcode 26 running Mac catalyst app crashes on dynamic loading with failure to find _LocationEssentials framework
Thank you for letting me know. I'm just assuming it is perhaps related to CoreLocation or MapKit. The underscore in _LocationEssentials indicates private or pre-release perhaps? Using OTool, here's the list of framework dependencies my app has: Line 20 has the _LocationEssentials framework @rpath/SuperToDos.debug.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/CloudKit.framework/Versions/A/CloudKit (compatibility version 1.0.0, current version 2300.141.0) /System/iOSSupport/System/Library/Frameworks/MapKit.framework/Versions/A/MapKit (compatibility version 1.0.0, current version 14.0.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 4032.1.0) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0) /System/Library/Frameworks/AppIntents.framework/Versions/A/AppIntents (compatibility version 0.0.0, current version 254.0.255) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2670.3.0) /System/Library/Frameworks/Combine.framework/Versions/A/Combine (compatibility version 1.0.0, current version 3023.0.0) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData (compatibility version 1.0.0, current version 1510.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 4032.1.0) /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1948.0.0) /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation (compatibility version 1.0.0, current version 3055.0.0) /System/Library/Frameworks/CoreTransferable.framework/Versions/A/CoreTransferable (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/DeveloperToolsSupport.framework/Versions/A/DeveloperToolsSupport (compatibility version 1.0.0, current version 23.0.4) /System/Library/Frameworks/Intents.framework/Versions/A/Intents (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/Photos.framework/Versions/A/Photos (compatibility version 1.0.0, current version 800.19.240) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1192.2.0) /System/Library/Frameworks/UserNotifications.framework/Versions/A/UserNotifications (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/_LocationEssentials.framework/Versions/A/_LocationEssentials (compatibility version 1.0.0, current version 1.0.0) /System/iOSSupport/System/Library/Frameworks/LinkPresentation.framework/Versions/A/LinkPresentation (compatibility version 1.0.0, current version 285.0.0) /System/iOSSupport/System/Library/Frameworks/MessageUI.framework/Versions/A/MessageUI (compatibility version 1.0.0, current version 3856.100.4) /System/iOSSupport/System/Library/Frameworks/PhotosUI.framework/Versions/A/PhotosUI (compatibility version 1.0.0, current version 800.19.240) /System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook (compatibility version 1.0.0, current version 1011.0.0) /System/iOSSupport/System/Library/Frameworks/SafariServices.framework/Versions/A/SafariServices (compatibility version 1.0.0, current version 1.0.0) /System/iOSSupport/System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit (compatibility version 1.0.0, current version 1.0.0) /System/iOSSupport/System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI (compatibility version 1.0.0, current version 7.0.71) /System/iOSSupport/System/Library/Frameworks/UIKit.framework/Versions/A/UIKit (compatibility version 1.0.0, current version 9075.0.0) /System/iOSSupport/System/Library/Frameworks/WatchConnectivity.framework/Versions/A/WatchConnectivity (compatibility version 1.0.0, current version 221.0.0) /System/iOSSupport/System/Library/Frameworks/WidgetKit.framework/Versions/A/WidgetKit (compatibility version 1.0.0, current version 642.0.0) /System/iOSSupport/usr/lib/swift/libswiftMapKit.dylib (compatibility version 1.0.0, current version 13.20.5, weak) /usr/lib/swift/libswiftAVFoundation.dylib (compatibility version 1.0.0, current version 2360.66.3, weak) /usr/lib/swift/libswiftAccelerate.dylib (compatibility version 1.0.0, current version 74.0.0, weak) /usr/lib/swift/libswiftCore.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/swift/libswiftCoreAudio.dylib (compatibility version 1.0.0, current version 407.0.0, weak) /usr/lib/swift/libswiftCoreFoundation.dylib (compatibility version 1.0.0, current version 120.100.0) /usr/lib/swift/libswiftCoreImage.dylib (compatibility version 1.0.0, current version 2.2.0, weak) /usr/lib/swift/libswiftCoreLocation.dylib (compatibility version 1.0.0, current version 51.0.0, weak) /usr/lib/swift/libswiftCoreMIDI.dylib (compatibility version 1.0.0, current version 6.0.0, weak) /usr/lib/swift/libswiftCoreMedia.dylib (compatibility version 1.0.0, current version 3255.66.6, weak) /usr/lib/swift/libswiftDarwin.dylib (compatibility version 1.0.0, current version 347.0.3, weak) /usr/lib/swift/libswiftDispatch.dylib (compatibility version 1.0.0, current version 56.0.0) /usr/lib/swift/libswiftIOKit.dylib (compatibility version 1.0.0, current version 1.0.0, weak) /usr/lib/swift/libswiftIntents.dylib (compatibility version 1.0.0, current version 12.0.0) /usr/lib/swift/libswiftMetal.dylib (compatibility version 1.0.0, current version 370.54.0, weak) /usr/lib/swift/libswiftOSLog.dylib (compatibility version 1.0.0, current version 8.0.0, weak) /usr/lib/swift/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 948.0.0) /usr/lib/swift/libswiftObservation.dylib (compatibility version 1.0.0, current version 0.0.0) /usr/lib/swift/libswiftQuartzCore.dylib (compatibility version 1.0.0, current version 5.0.0, weak) /usr/lib/swift/libswiftSpatial.dylib (compatibility version 1.0.0, current version 1.0.0, weak) /usr/lib/swift/libswiftUniformTypeIdentifiers.dylib (compatibility version 1.0.0, current version 866.255.0) /usr/lib/swift/libswiftXPC.dylib (compatibility version 1.0.0, current version 105.0.12, weak) /usr/lib/swift/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0) /usr/lib/swift/libswiftos.dylib (compatibility version 1.0.0, current version 1076.0.0) /usr/lib/swift/libswiftsimd.dylib (compatibility version 1.0.0, current version 23.0.0, weak)
Jun ’25
Reply to @StateObject is initialized twice for the same view instance?
FYI this has been fixed in release version of 12.5
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to iOS 15 beta 4 CloudKit Auth Error
I’ll also add that I see this across two different applications that I use CloudKit in
Replies
Boosts
Views
Activity
Jul ’21
Reply to App crashes when built using Xcode 14 beta and running on iOS 16.0 with deployment target iOS 13.0
Thanks for the tip about raising deployment target. That works for my testing.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Xcode 14.2 no longer runs properly under rosetta after installing 14.3 beta
Same here also! The response above from apple doesn't address the issue: After installing Xcode 14.3 beta, Xcode 14.2 can no longer build apps using rosetta.
Replies
Boosts
Views
Activity
Mar ’23
Reply to SwiftData Update Item View from Background Thread
I'm having a similar issue, where a query-driven parent passes results to another view. Updates are not reflected until leaving the view and returning to it.
Replies
Boosts
Views
Activity
Jun ’24
Reply to SwiftData Update Item View from Background Thread
I've confirmed that updates made in a background context are not being reflected in the query results. If I keep everything on the main actor it is fine. Certainly a bug in iOS 18 b1 and b2.
Replies
Boosts
Views
Activity
Jul ’24
Reply to SwiftData Update Item View from Background Thread
Still broken in beta 3
Replies
Boosts
Views
Activity
Jul ’24
Reply to SwiftData Update Item View from Background Thread
Beta 5 still broken.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Importing Data into SwiftData in the Background Using ModelActor and @Query
Glad there is a fix coming - let's hope it makes it in time. This is still broken in iOS 18 / Xcode 16 beta 5. I'm going to hold off on the "workaround" as it is very heavy handed and inefficient. Any single change to the main context will cause all views driven by Query to redraw, regardless if they need to. Not sure how this one got past QA...
Replies
Boosts
Views
Activity
Aug ’24
Reply to Importing Data into SwiftData in the Background Using ModelActor and @Query
I’m seeing some differences in iOS 18 beta 6 (but still using Xcode 16 beta 5). I won’t call them “improvements” as the feature is still not reliable, but I do see changes propagating to the main context sometimes. There hasn’t been a single mention of SwiftData in any of the release notes so far: no known issues, nothing fixed. And that’s concerning, as I am seeing plenty of issues in addition to this one.
Replies
Boosts
Views
Activity
Aug ’24
Reply to URLSession is broken in iOS 18.4 RC Simulator
Seeing same issue on second app launch. Sometimes see the failures as “failed to parse response“ or “network connection was lost” errors.
Replies
Boosts
Views
Activity
Mar ’25
Reply to URLSession is broken in iOS 18.4 RC Simulator
req.assumesHTTP3Capable does not solve the problem for me. Things do work with an ephemeral session.
Replies
Boosts
Views
Activity
Mar ’25
Reply to URLSession is broken in iOS 18.4 RC Simulator
Good news: Appears to be fixed in Xcode 16.4 beta 1.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Xcode 26 running Mac catalyst app crashes on dynamic loading with failure to find _LocationEssentials framework
Still seeing this with Beta 2. To repro, I just build and run my Mac Catalyst app on macOS 15.5. My minimum deployment target is macOS 14 / iOS 17. Crashes immediately with dylib unable to find the framework. My app uses CoreLocation and MapKit. Thanks!
Replies
Boosts
Views
Activity
Jun ’25
Reply to Xcode 26 running Mac catalyst app crashes on dynamic loading with failure to find _LocationEssentials framework
Thank you for letting me know. I'm just assuming it is perhaps related to CoreLocation or MapKit. The underscore in _LocationEssentials indicates private or pre-release perhaps? Using OTool, here's the list of framework dependencies my app has: Line 20 has the _LocationEssentials framework @rpath/SuperToDos.debug.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/CloudKit.framework/Versions/A/CloudKit (compatibility version 1.0.0, current version 2300.141.0) /System/iOSSupport/System/Library/Frameworks/MapKit.framework/Versions/A/MapKit (compatibility version 1.0.0, current version 14.0.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 4032.1.0) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0) /System/Library/Frameworks/AppIntents.framework/Versions/A/AppIntents (compatibility version 0.0.0, current version 254.0.255) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2670.3.0) /System/Library/Frameworks/Combine.framework/Versions/A/Combine (compatibility version 1.0.0, current version 3023.0.0) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData (compatibility version 1.0.0, current version 1510.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 4032.1.0) /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1948.0.0) /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation (compatibility version 1.0.0, current version 3055.0.0) /System/Library/Frameworks/CoreTransferable.framework/Versions/A/CoreTransferable (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/DeveloperToolsSupport.framework/Versions/A/DeveloperToolsSupport (compatibility version 1.0.0, current version 23.0.4) /System/Library/Frameworks/Intents.framework/Versions/A/Intents (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/Photos.framework/Versions/A/Photos (compatibility version 1.0.0, current version 800.19.240) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1192.2.0) /System/Library/Frameworks/UserNotifications.framework/Versions/A/UserNotifications (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/_LocationEssentials.framework/Versions/A/_LocationEssentials (compatibility version 1.0.0, current version 1.0.0) /System/iOSSupport/System/Library/Frameworks/LinkPresentation.framework/Versions/A/LinkPresentation (compatibility version 1.0.0, current version 285.0.0) /System/iOSSupport/System/Library/Frameworks/MessageUI.framework/Versions/A/MessageUI (compatibility version 1.0.0, current version 3856.100.4) /System/iOSSupport/System/Library/Frameworks/PhotosUI.framework/Versions/A/PhotosUI (compatibility version 1.0.0, current version 800.19.240) /System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook (compatibility version 1.0.0, current version 1011.0.0) /System/iOSSupport/System/Library/Frameworks/SafariServices.framework/Versions/A/SafariServices (compatibility version 1.0.0, current version 1.0.0) /System/iOSSupport/System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit (compatibility version 1.0.0, current version 1.0.0) /System/iOSSupport/System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI (compatibility version 1.0.0, current version 7.0.71) /System/iOSSupport/System/Library/Frameworks/UIKit.framework/Versions/A/UIKit (compatibility version 1.0.0, current version 9075.0.0) /System/iOSSupport/System/Library/Frameworks/WatchConnectivity.framework/Versions/A/WatchConnectivity (compatibility version 1.0.0, current version 221.0.0) /System/iOSSupport/System/Library/Frameworks/WidgetKit.framework/Versions/A/WidgetKit (compatibility version 1.0.0, current version 642.0.0) /System/iOSSupport/usr/lib/swift/libswiftMapKit.dylib (compatibility version 1.0.0, current version 13.20.5, weak) /usr/lib/swift/libswiftAVFoundation.dylib (compatibility version 1.0.0, current version 2360.66.3, weak) /usr/lib/swift/libswiftAccelerate.dylib (compatibility version 1.0.0, current version 74.0.0, weak) /usr/lib/swift/libswiftCore.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/swift/libswiftCoreAudio.dylib (compatibility version 1.0.0, current version 407.0.0, weak) /usr/lib/swift/libswiftCoreFoundation.dylib (compatibility version 1.0.0, current version 120.100.0) /usr/lib/swift/libswiftCoreImage.dylib (compatibility version 1.0.0, current version 2.2.0, weak) /usr/lib/swift/libswiftCoreLocation.dylib (compatibility version 1.0.0, current version 51.0.0, weak) /usr/lib/swift/libswiftCoreMIDI.dylib (compatibility version 1.0.0, current version 6.0.0, weak) /usr/lib/swift/libswiftCoreMedia.dylib (compatibility version 1.0.0, current version 3255.66.6, weak) /usr/lib/swift/libswiftDarwin.dylib (compatibility version 1.0.0, current version 347.0.3, weak) /usr/lib/swift/libswiftDispatch.dylib (compatibility version 1.0.0, current version 56.0.0) /usr/lib/swift/libswiftIOKit.dylib (compatibility version 1.0.0, current version 1.0.0, weak) /usr/lib/swift/libswiftIntents.dylib (compatibility version 1.0.0, current version 12.0.0) /usr/lib/swift/libswiftMetal.dylib (compatibility version 1.0.0, current version 370.54.0, weak) /usr/lib/swift/libswiftOSLog.dylib (compatibility version 1.0.0, current version 8.0.0, weak) /usr/lib/swift/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 948.0.0) /usr/lib/swift/libswiftObservation.dylib (compatibility version 1.0.0, current version 0.0.0) /usr/lib/swift/libswiftQuartzCore.dylib (compatibility version 1.0.0, current version 5.0.0, weak) /usr/lib/swift/libswiftSpatial.dylib (compatibility version 1.0.0, current version 1.0.0, weak) /usr/lib/swift/libswiftUniformTypeIdentifiers.dylib (compatibility version 1.0.0, current version 866.255.0) /usr/lib/swift/libswiftXPC.dylib (compatibility version 1.0.0, current version 105.0.12, weak) /usr/lib/swift/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0) /usr/lib/swift/libswiftos.dylib (compatibility version 1.0.0, current version 1076.0.0) /usr/lib/swift/libswiftsimd.dylib (compatibility version 1.0.0, current version 23.0.0, weak)
Replies
Boosts
Views
Activity
Jun ’25