zoukankan      html  css  js  c++  java
  • 新浪微博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里,可以直接导入

  • 相关阅读:
    排序算法(牢记)
    【性能优化】优化笔记之一:图像RGB与YUV转换优化
    wikioi 3027 线段覆盖 2
    浅谈HTTP响应拆分攻击
    HTTP Response Spliting 防范策略研究
    百度地图API使用介绍
    百度地图
    PHP htmlspecialchars() 函数
    CSRF防范策略研究
    SQL手工注入
  • 原文地址:https://www.cnblogs.com/sdlwlxf/p/4347829.html
Copyright © 2011-2022 走看看