Kingfisher: Value of type 'UIImageView' has no member 'kf'

Created on 22 Dec 2017  ·  4Comments  ·  Source: onevcat/Kingfisher

Issue Description

after installing kingfisher it give the error "Value of type 'UIImageView' has no member 'kf'" using swift 3.2 in xcode 9 & pod version 3.x

What

Able to access member variable on compile time by auto complete but after building it give this error.

Reproduce

code
version
pod

Most helpful comment

@SURYAKANTSHARMA Can you paste your Podfile.lock as well?

nd remember to add import Kingfisher before you try to use any API from Kingfisher.

All 4 comments

@onevcat kindly, can you check please ?

@SURYAKANTSHARMA Can you paste your Podfile.lock as well?

nd remember to add import Kingfisher before you try to use any API from Kingfisher.

import Kingfisher is previously there.
issue get resolved ,It work perfecty fine now, I don't think it is your library issue because it is while i am upgrading xcode and swift version. But it look weired when autocomplete give suggestion while writing the code and get error on building the project.

Maybe it's an Xcode issue. Usually restart Xcode / clean derived data path would fix it.

Was this page helpful?
0 / 5 - 0 ratings