Swift iOS项目集成阿里云和百度地图SDK时,archive *** 作会报下面的错误,原因是缺了相关的bitcode,详见参考文章。解决办法是在编译脚本增加配置xcodebuild OTHER_CFLAGS="-fembed-bitcode" -target XXXX build
ld: bitcode bundle Could not be generated because '/Users/zhangxitao/work/shine-ios/Carthage/Build/iOS/AliyunOSSiOS.framework/AliyunOSSiOS(OSShttpDNSMini.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
参考文章http://stackoverflow.com/questions/31486232/how-do-i-xcodebuild-a-static-library-with-bitcode-enabled
总结以上是内存溢出为你收集整理的Swift iOS项目archive *** 作会报错误built without full bitcode解决方法全部内容,希望文章能够帮你解决Swift iOS项目archive *** 作会报错误built without full bitcode解决方法所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)