美文网首页
更新 cocoapods后出现的问题

更新 cocoapods后出现的问题

作者: kangomake | 来源:发表于2018-11-19 16:39 被阅读6次

    1.'Reachability.h' file not found with <angled> include; use "quotes" instead

    更新 pods 之后,发觉一直提示要把#import <AFN> 改成#import“AFN” ,
    然后折腾了一会,发现可能是路径问题。
    然后把#import <AFNetworking.h> 改为#import <AFNetworking/AFNetworking.h>

    2.Use of undeclared identifier '_executing' (在SDWebImage中)

    Use of undeclared identifier '_executing';
    Use of undeclared identifier '_finished';
    

    解决方法:

    在SDWebImageDownloaderOperation类的实现中(@implementation SDWebImageDownloaderOperation{...}下面)添加:
    @synthesize executing = _executing ;
    @synthesize finished = _finished;


    示例

    相关文章

      网友评论

          本文标题:更新 cocoapods后出现的问题

          本文链接:https://www.haomeiwen.com/subject/qvjafqtx.html