• 新浪微博iOS SDK UIImage+WBSDKResize.o


    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里,可以直接导入

  • 相关阅读:
    Hexo博客搭建教程
    windows7如何查看端口被占用
    openshift rhc
    .net面试题精选
    Java垃圾回收机制
    Maven 入门篇(下)
    Maven 入门篇 ( 上 )
    OPENSHIFT MYSQL使用Navicat远程连接
    ci配置smarty手记
    solr多核配置
  • 原文地址:https://www.cnblogs.com/sdlwlxf/p/4347829.html
Copyright © 2020-2023  润新知