SwiftUI & Xcode 26.0 beta3: Using Map in LazyVGrid causes "Observation tracking feedback loop"

The following code causes an error in Xcode 26.0 beta3 in iOS Simulator with iOS 26.0. After starting the App, scroll to the end of the grid and the app will break. Testet with Xcode Playground with platforms: [ .iOS("17.0")],

Simplest possible variant:

import SwiftUI
import MapKit

struct ContentView: View {
    var body: some View {
        NavigationStack {
            ScrollView {
                LazyVGrid(columns: [GridItem()]) {
                    ForEach(1...12, id:\.self) { i in
                        Text("Hello \(i)")
                            .frame(height: 150)
                    }
                    Map { }
                        .frame(height: 150)
                }
            }
        }
    }
}

Thrown error:

Observation tracking feedback loop detected! Make a symbolic breakpoint at UIObservationTrackingFeedbackLoopDetected to catch this in the debugger. Refer to the console logs for details about recent invalidations; you can also make a symbolic breakpoint at UIObservationTrackingInvalidated to catch invalidations in the debugger. Object receiving repeated [updateProperties] invalidations: <UIKit.NavigationBarContentView: 0x103026000; frame = (0 0; 402 54); gestureRecognizers = <NSArray: 0x600000c26790>; layer = <CALayer: 0x600000c2d4a0>> contentView=0x0000000103026000

These three nested views are necessary to reproduce the error: NavigationStack -> ScrollView -> LazyVGrid

In iOS Simulator with iOS 18.0 there is no error message, the CPU raises to 100%.

With Xcode 16.4 the program runs error-free.

Is there a solution?

You should raise this as a bug in the usual way. It may not get progressed if it's only posted in these Developer Forums.

You need to raise each issue you find separately at https://feedbackassistant.apple.com/ You can post the FB numbers here if you want, so that others can link to them.

I'm facing the same issue in my project. Although I don't have a LazyVGrid. My setup is NavigationStack > ScrollView > Map.

The issue started only in iOS 26 Beta 3. I submitted a bug report a couple days ago: FB18748908

SwiftUI & Xcode 26.0 beta3: Using Map in LazyVGrid causes "Observation tracking feedback loop"
 
 
Q