Using both DocumentGroupLaunchScene and TabView hangs on 26.1 (worked on 26.0)

Filed https://feedbackassistant.apple.com/feedback/21260457

When a SwiftUI app uses both a DocumentGroupLaunchScene and a TabView (no matter how trivial) in its Content view, it hangs on 26.1 (both simulator and device), with high CPU utilization in

-[UIView(CALayerDelegate) layoutSublayersOfLayer:]

and memory usage increasing rapidly. This did not happen in 26.0

Thank you for your post and bug report. It appears that this is a bug on our end, and our team is currently working on it.

Can you test on 26.2 beta and the new Xcode to see if the issue is resolved?

Albert Pascual
  Worldwide Developer Relations.

Sorry for the delay. I can confirm that this still occurs in the 26.2 simulator.

To clarify, the hang happens once I open a document, not in the launch scene itself.

Thanks for the reply. I didn't see it personally however, can you file a bug including all the versions you are using to reproduce it?

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert Pascual
  Worldwide Developer Relations.

See the first message in this thread for the FB number. I've added a line that this still seems to be broken in the 26.2 beta I tested in simulator.

The bug report also contains a trivial Xcode project to reproduce the problem.

Using both DocumentGroupLaunchScene and TabView hangs on 26.1 (worked on 26.0)
 
 
Q