-
Hello, I have created a multi-module app and I'm trying to add a SwiftUI view inside a module. The code is: ` public struct ProfileView: View {
}
But the program fails to compile the android version with the following issues: The same code compiles successfully if I move it to the 'main module'. How can we fix this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I'm guessing that the module's target doesn't have SkipUI as a dependency, which is where the "Unresolved reference 'ui." error is coming from. Can you try editing your If that doesn't help, can you post the contents of your |
Beta Was this translation helpful? Give feedback.
I'm guessing that the module's target doesn't have SkipUI as a dependency, which is where the "Unresolved reference 'ui." error is coming from. Can you try editing your
Package.swift
and addingSkipUI
as a dependency of your module?If that doesn't help, can you post the contents of your
Package.swift
file?