您的位置:首页 > 其它

导入SDwebImage到工程中运行时出现如下错误

2014-12-03 17:19 330 查看
SDwebImage放入工程中运行时就出现如下错误,之前导入外部文件也会出现这样的问题,这个是什么导致的?

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_MKAnnotationView", referenced from:

      l_OBJC_$_CATEGORY_MKAnnotationView_$_WebCache in MKAnnotationView+WebCache.o

  "_CGImageSourceCreateIncremental", referenced from:

      -[SDWebImageDownloader connection:didReceiveData:] in SDWebImageDownloader.o

  "_CGImageSourceUpdateData", referenced from:

      -[SDWebImageDownloader connection:didReceiveData:] in SDWebImageDownloader.o

  "_CGImageSourceCopyPropertiesAtIndex", referenced from:

      -[SDWebImageDownloader connection:didReceiveData:] in SDWebImageDownloader.o

  "_CGImageSourceCreateImageAtIndex", referenced from:

      -[SDWebImageDownloader connection:didReceiveData:] in SDWebImageDownloader.o

  "_kCGImagePropertyPixelHeight", referenced from:

      -[SDWebImageDownloader connection:didReceiveData:] in SDWebImageDownloader.o

  "_kCGImagePropertyPixelWidth", referenced from:

      -[SDWebImageDownloader connection:didReceiveData:] in SDWebImageDownloader.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

添加 ImageIO.framework  和  MapKit.framework  就好了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  导入SDwebImage
相关文章推荐