SwiftUI can not find

Hi there,

I just re-install 26.2, but I got many issues regarding to SwiftUI's components.

How can I fix it? Do I need download or install something else?

Answered by Developer Tools Engineer in 875535022

Hi,

The problems you are facing is due to the fact that you named your project "SwiftUI". This is causing the build system to create a module for your app called SwiftUI which is the exact same module name that the system library is called.

I expect you'd see these issues resolved if you rename your app to something that doesn't match one of the system frameworks.

Hi,

The problems you are facing is due to the fact that you named your project "SwiftUI". This is causing the build system to create a module for your app called SwiftUI which is the exact same module name that the system library is called.

I expect you'd see these issues resolved if you rename your app to something that doesn't match one of the system frameworks.

SwiftUI can not find
 
 
Q