onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.
MIT License
23.42k stars 2.66k forks source link

No such module 'Kingfisher' when run with Watch demo extension #1481

Open zinwalin opened 4 years ago

zinwalin commented 4 years ago

image

onevcat commented 4 years ago

It seems that Xcode is not resolving the building target of watchOS in a good way for a universal framework like Kingfisher.

Maybe you can try to build the "Kingfisher" target with selecting any watchOS target first, then build the watchOS demo app. It will help and give Xcode a hint to find the correct framework in its location.

zinwalin commented 4 years ago

It seems that Xcode is not resolving the building target of watchOS in a good way for a universal framework like Kingfisher.

Maybe you can try to build the "Kingfisher" target with selecting any watchOS target first, then build the watchOS demo app. It will help and give Xcode a hint to find the correct framework in its location.

the same issue, all other targets execute success except watchOS one.

![Uploading image.png…]()

loldma commented 3 years ago

any update on this? @zinwalin , could you fix it?

Daniyal00700 commented 2 years ago

@zinwalin Hi, have you solved it?