Post

Replies

Boosts

Views

Activity

Reply to SwiftUI MapKit - MapAnnotation - Publishing changes from within view updates is not allowed, this will cause undefined behavior.
Unfortunately this issue still exists. The combination of Map() and MapAnnotation() causes it. Switching out the annotations with MapMarker() removes the runtime errors, but unfortunately isn't suited for my uses case. It might help someone else though. The purple runtime error pops up quite a bit. And most of the time it's valid: you're updating a @Published var from within the view you display that same @Published var. Which is bad. But I don't see this cause at all with the MapAnnotation implementation, something else must be triggering this.
Jan ’23
Reply to Xcode 15 iOS 17 Failed to install app on the device
Oh wow. I managed to solve it. I removed my Cocoapods integration which I used for Firebase. After that I reintegrated Firebase using the Xcode package manager. This is what solved it for me: Close Xcode, terminal navigate to your Xcode Project directory brew install cocoapods-deintegrate cocoapods-clean pod deintegrate pod clean rm Podfile Open Xcode, 'add packages' Add Firebase to build target GOGOGOGOGO ;)
Oct ’23