In my new SwiftUI Multiplatform Project for iOS and macOS I get the Error "Cannot find type 'MyClass' in scope", but only when I try to compile the macOS version of it and not when compiling on the iOS part of the Project, there all works fine and the App runs.
I have only added few code to the Project and it is all in the Shared Folder, I have not done anything specific for one Platform. How can I get my App to detect my class in the macOS version? I guess it is not defined there, but I do not understand why.
