我已经将类添加到我的项目中,当我尝试构建它时,我会收到7个错误:
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.old: symbol(s) not found for architecture i386clang: error: linker command Failed with exit code 1 (use -v to see invocation)
我是XCode和Objective-c的新手,所以我不知道这个错误是什么意思.
任何人?
谢谢.
解决方法 看来你需要将MapKit和ImageIO添加到项目中.要做到这一点:
>点击Xcode中项目导航器顶部的项目.>选择“构建阶段”选项卡.>打开“使用库链接二进制”框.>点击”.> AppMapKit和ImageIO框架.
总结以上是内存溢出为你收集整理的objective-c – 使用SDWebImage时构建失败全部内容,希望文章能够帮你解决objective-c – 使用SDWebImage时构建失败所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)