iOS sdk不完全支持BitCode

ld: bitcode bundle could not be generated because '/Users/karen/Desktop/******/Tools/umeng_ios_social_sdk_4.2.5_arm64_custom/UMSocial_Sdk_4.2.5/libUMSocial_Sdk_4.2.5.a(UMSocialHTTPRequestOperation.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7

libUMSocial_Sdk_4.2.5.a第三方库不包含bitcode

BitCode?

bitcode是被编译程序的一种中间形式的代码。包含bitcode配置的程序将会在App store上被编译和链接。bitcode允许苹果在后期重新优化程序的二进制文件,而不需要重新提交一个新的版本到App store上。
如果一个工程里面有静态库的引用,那么所有的静态库也需要打开Bitcode后重新编译。

Bitcode. When you archive for submission tothe App Store, Xcode will compile your app into an intermediate representation.The App Store will then compile the bitcode down into the 64 or 32 bitexecutables as necessary.

解决办法:

将enable关掉
给静态库的工程增加一个选项“-fembed-bitcode”

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 2,725评论 0 3
  • 2018.4.18如相关原作者要求删除,请联系我,立删。 1.iOS开发 - Bitcode适配指南2.理解iOS...
    Raywf阅读 812评论 1 2
  • iOS中Bitcode的介绍及配置 (转载自 小麦麦子) 我又加入了我的 自己的问题 ,很纠结的 今天在一个iOS...
    jianshu小赵阅读 235评论 0 2
  • 今天是什么日子 任务清单 昨日完成的任务,最重要的三件事: 1、订货会数据出的时间。 2、此次订货会提前一周给客户...
    心灵烟火阅读 144评论 0 0
  • 对我的教育问题,母亲大人向来抱着棍棒底下出好人的想法,说起自己的童年,简直是一块搓衣板的的血泪史! 成绩拿到优秀,...
    糊小姐阅读 358评论 0 1