hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.14k stars 188 forks source link

No such module 'Resolver' #121

Closed VictorVarLed closed 2 years ago

VictorVarLed commented 3 years ago

Hi. I was trying to add Resolver in a new iOS project using SPM. The SPM detects Resolver, Resolver-Dynamic and Resolver-Static. After adding those three to my project when I try to import Resolver in a file I see - > "No such module 'Resolver'"

What am I doing wrong? Thank you

hmlongco commented 2 years ago

Can't really hep with this as not using SPM.

haemi commented 2 years ago

@VictorVarLed did you find a solution?

PierreCapo commented 1 year ago

I don't think you should add the 3 products Resolver, Resolver-Dynamic and Resolver-Static. Just pick the one you want and it should work. Like for instance if you want to use Resolver as a dynamic framework, just link with Resolver-Dynamic.

image