首页 > 移动平台 > 详细

新浪微博iOS SDK UIImage+WBSDKResize.o

时间:2015-03-18 20:10:40      阅读:1127      评论:0      收藏:0      [点我收藏+]
Undefined symbols for architecture armv7:
  "_kCGImageSourceThumbnailMaxPixelSize", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImageSourceCreateThumbnailWithTransform", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImageSourceCreateThumbnailFromImageAlways", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImagePropertyPixelHeight", referenced from:
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImagePropertyPixelWidth", referenced from:
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_CGImageSourceCopyPropertiesAtIndex", referenced from:
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_CGImageSourceCreateWithURL", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_CGImageSourceCreateThumbnailAtIndex", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

SDK增加了图片处理功能,因此需要引入imageio这个框架

imageio.framework 包含在IOS SDK里,可以直接导入

新浪微博iOS SDK UIImage+WBSDKResize.o

原文:http://www.cnblogs.com/sdlwlxf/p/4347829.html

(0)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!