Ad Hoc分发导出时导出错误期间发生错误 [英] An error occurred during export error on export for Ad Hoc distribution

查看:186
本文介绍了Ad Hoc分发导出时导出错误期间发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iOS应用程序,我正在尝试导出以进行临时分发一切顺利,直到我选择导出选项并在选择导出所有设备后弹出错误。

I have an iOS app which I am trying to export for ad hoc distribution everything goes well until I select export option and after selecting "export for all devices" following error pops up.


导出期间发生错误
无法读取数据,因为格式不正确。

An error occurred during export The data couldn’t be read because it isn’t in the correct format.

不确定是什么意思,任何帮助都表示赞赏。

Not sure what does that mean, any help is appreciated.

推荐答案

禁用您的项目中的BitCode并尝试再次构建它。

Disable the BitCode from your project and try to build it again.

ENABLE_BITCODE实际上做了什么,将来是否会成为非选择性要求?

What does the ENABLE_BITCODE actually do, will it be a non-optional requirement in the future?

在构建项目时,Xcode为Objective-C目标调用clang,为Swift目标调用swift / swiftc。这两个编译器都将应用程序编译为中间表示(IR),其中一个IR是bitcode。从这个IR,一个名为LLVM的程序接管并创建x86 32和64位模式(用于模拟器)和arm6 / arm7 / arm7s / arm64(用于设备)所需的二进制文件。通常,所有这些不同的二进制文件都集中在一个名为fat binary的文件中。

When you build your project, Xcode invokes clang for Objective-C targets and swift/swiftc for Swift targets. Both of these compilers compile the app to an intermediate representation (IR), one of these IRs is bitcode. From this IR, a program called LLVM takes over and creates the binaries needed for x86 32 and 64 bit modes (for the simulator) and arm6/arm7/arm7s/arm64 (for the device). Normally, all of these different binaries are lumped together in a single file called a fat binary.

这篇关于Ad Hoc分发导出时导出错误期间发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆