InjectionIII icon indicating copy to clipboard operation
InjectionIII copied to clipboard

No such module 'SwiftUIX'

Open lockieluke opened this issue 3 years ago • 5 comments

InjectionIII might not be compatible with SwiftUIX

image

lockieluke avatar Jul 24 '22 10:07 lockieluke

Hi, But have you added https://github.com/SwiftUIX/SwiftUIX as a package?

johnno1962 avatar Jul 24 '22 12:07 johnno1962

It works on the first run but as soon as I make changes to the code in hot reload mode, it breaks and prints the error

lockieluke avatar Jul 24 '22 12:07 lockieluke

Strange, that shouldn't happen and seems to work for me after a quick test. Has SwiftUIX been added to that target? Any chance you could prepare a small example project demonstrating the problem?

johnno1962 avatar Jul 24 '22 12:07 johnno1962

i have added to the linked frameworks section in project settings already

lockieluke avatar Jul 24 '22 17:07 lockieluke

Not sure I can say much more without knowing how your project is set up. You are getting the error above when you try to inject? How have you added SwiftUIX to the project - as a Swift Package in which case injection should see it?

johnno1962 avatar Jul 25 '22 07:07 johnno1962