sdwebimage: UIImageView+WebCache.h: No such file or directory

后端 未结 7 1957
灰色年华
灰色年华 2020-12-16 08:32

I am fairly new to ios development - trying to use sdwebimage in my iphone project. I believe I completed all basic setups as required. But when I build, I get this error: N

7条回答
  •  死守一世寂寞
    2020-12-16 08:45

    I faced this same problem and was about to go crazy. Like Ravi, I followed the static installation instructions as closely as possible.

    I saw the auto suggest for UIImageView+WebCache.h when I was typing #import, but it keeps throwing file not found.

    In the end, it was this. In header search paths,

    “$(BUILT_PRODUCTS_DIR)” - Wrong.

    $(BUILT_PRODUCTS_DIR) - Right.

    Embarrassed but now it's working right =)

提交回复
热议问题