Can confirm that. I‘ve tested different apps from the AppStore, always same behaviour.
Post
Replies
Boosts
Views
Activity
I've tried a WatchOS Companion App and a WatchOS Standalone app (runs without iPhone checked) with XCode 15 RC.
After deinstallation and reinstallation of the watch-App the error occurs in both scenarios. No chance to fix it.
Users of my App already reporting that it happens in production with the App downloaded from the Appstore.
This is also related to the same Issue:
FB13119312 (LocationButton does not work)
Solution to preview a SwiftUI View for watchOS (Standalone) and iOS:
Create a new scheme
In the Build Section only add the watchOS Target
Run the preview
I did not found a solution to display the view for the two targets at the same time (side by side) but at least I can preview it for every target by switching the scheme
Using compiler flags you can even customize the previews. For example testing darkMode on iOS or using a different device.
Group {
MyView(model: viewModel) {}
#if os(iOS)
MyView(model: viewModel{}.
preferredColorScheme(.dark)
#endif
}