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

后端 未结 7 1948
灰色年华
灰色年华 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 09:04

    To add the needed header files to the build path do the following.

    1. Select your project file
    2. Select your target
    3. Select Build settings
    4. In the search box enter 'header search paths'
    5. For the Release add "$(SOURCE_ROOT)/SDWebImage" (thats with quotes).

    This will work when importing like this #import <SDWebImage/UIImageView+WebCache.h>

    0 讨论(0)
提交回复
热议问题