IOs/phonegap - 无法提交到 itune - 无效的段对齐

标签 ios cordova

将应用程序提交到 itune 后出现以下错误:

Invalid Segment Alignment - The app binary at 'Envisearch.app/empty.o' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.

我们的模式是将相同的应用作为白标销售给其他公司。

我之前多次上传没有这个问题的代码。

这是什么意思?我怎么才能过来呢?

Xcode 的升级没有帮助

我厌倦了上传一个已经上传并获得批准的应用程序,但我遇到了同样的错误 - 我在之前的上传中没有遇到过。

所以这是一个新的 Apple/itune 错误 - 感谢 apple 的出色工作。

最佳答案

在 Xcode 中,浏览您的文件。在资源下,删除对 empty.cpp 的引用。

此文件包含以下内容:

// an empty file to have the compiler include C++ standard libraries.

导致错误的原因。

我认为这是一个不必要的 cordova 文件。

关于IOs/phonegap - 无法提交到 itune - 无效的段对齐,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27036038/

相关文章:

android - Cordova 在 SDK 工具版本 25.3.1 上运行 Android 问题

ios - 我应该使用 tableViewController 还是常规 viewController 来重新创建提醒详细信息 View ?

ios - 无效更新: invalid number of rows in section 0

ios - 委托(delegate)函数未被调用 iOS Swift

android - ImageCache Nativescript核心模块使用方法

android - Ionic cordova 项目在使用 phonegap-push-plugin 时无法编译

ios - 更新Google Plus和Facebook SDK后,应用在设备(iOS 6)上崩溃

cordova - 在应用程序预览 (MAC) 中找不到 MobileFirst 8.0 Cordova CLI 界面

android - 聚焦时无法设置 android 4.x 上的输入元素的样式

iphone - 在适用于 iOS 和非公共(public) API 的 Phonegap 应用程序中使用 Jquery Mobile