I’ve built an app as Multiplatform. It compiles on all platforms without error or warning.
All the code is in the shared files, I’ve added nothing specific for iOS or macOS.
It runs correctly on iPhone and iPad. It also seems to run on macOS, producing the interface I’m expecting but it is not working under the hood. No crashes, just incorrect behaviour. All that’s expected to happen is that I enter data into TextFields and it is validated and added to UserDefaults. In the iOS version, invalid data is rejected and valid data stored. In the macOS version (identical code) all input is rejected.