Testing is hit or miss since I've tried testing my mac App using Xcode 26 on macOS 26. Instrumenting my code shows this when things work
- Various App state variables initialized correctly
- ContentView onAppear runs
- App Delegate's applicationDidFinishLaunching runs
When things don't work I see that the ContentView onAppear code was not executed and the app's window does not appear on my display.
What would cause that to happen? This ONLY happens when testing the app in Xcode, either selecting individual tests or groups of tests or using cmd-U to run all tests.