无效的二进制或无效的 Swift 支持 [英] Invalid Binary Or Invalid Swift Support

查看:23
本文介绍了无效的二进制或无效的 Swift 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我将我的应用程序发送到应用程序商店以供批准后,我在 iTunes Connect 中收到消息二进制无效".然后我在 Apple 的电子邮件中收到以下消息:

After I send my app for approval to the app store I get the message 'Invalid Binary' in the iTunes Connect. Then I get the following message in an email from Apple:

我的应用只是一个简单的游戏应用.不调用外部程序.我研究了这条消息,并检查了以下内容:

My app is just a simple game application. No external programs are called. I have researched this message and went through and checked the following:

  1. xcode 是最新的 - 在应用商店中检查
  2. EMBEDDED_CONTENT_CONTAINS_SWIFT 到 YES 或 NO
  3. 使用 xcode 应用程序发送,而不是应用程序加载器
  4. 未使用命令行构建
  5. (Xcode 菜单 -> 首选项 -> 位置选项卡 - 验证命令行工具与 Xcode 版本匹配.
  6. 清理"应用程序,重新构建和重新归档,然后重新发送,同样的消息
  7. 应用程序通过组织者罚款
  8. 查看存档内容会显示一个 SwiftSupport 文件夹
  9. 我只使用一个开发者账号,从未登录过其他开发者账号我在网上找不到任何有助于解决此问题的信息.
  10. 我运行的是 OS X Yosemite 10.10.1.
  11. xcode 版本是 6.1.1 版本 6A2008a - 与此版本一起构建、清理和发送
  12. 我还按下了 Option 键和已清理的构建文件夹"并重新发送了相同的消息

我在网上或任何论坛都找不到任何其他原因.任何帮助是极大的赞赏.感谢您抽出宝贵时间.

I cannot find any other reason for this online or in any forums. Any help is greatly appreciated. Thank you for your time.

您联系 Apple 并等待很长时间……重置 iTunes 连接,因为此问题来自 Apple.(苹果要求发送此问题的日志)

One you contact Apple and you wait long time … for reset iTunes connect because this problem coming in Apple . (Apple ask to send log of this problem)

另一个解决方案,您在 iTunes 上创建另一个项目应用程序连接并上传您的工作,这个解决方案工作正常,是我的解决方案.

An other solution, your create an other project application on iTunes connect and upload your work, this solution work fine, is the solution for me .

另一种解决方案,您在 Xcode 上创建一个新项目,将您的项目复制并粘贴到另一个项目中....(创建新的配置文件等)并在 Itunes Connect 上的同一项目应用程序中上传您的工作.

An other solution, you create a new project on Xcode, copy and paste your project in this other project.... (create new provisioning profile etc..) And upload your work in the same project application on Itunes Connect.

步骤(2)+步骤(3),在Xcode和Itunes Connect中新建一个项目.

Step (2) + step (3), create a new project in Xcode and Itunes Connect.

新建一个同名bundle identifier的项目,完美运行!

Create a new project with the same name bundle identifier, it works perfectly !

推荐答案

如果您要提交具有 AppleWatch 扩展的应用程序,并且您尝试使用应用程序加载器实用程序和 zip 文件提交应用程序,则可能会收到此错误.我收到错误:

If you are submitting an app that has an AppleWatch extension, you can get this error if you try and submit the app using the Application Loader utility and a zip file. I got the error:

捆绑包包含无效的 Swift 实现.捆绑包包含无效的 WatchKit 实现.

The bundle contains an invalid implementation of Swift. and The bundle contains an invalid implementation of WatchKit.

对于第一个错误,我几乎经历了所有解决方案 - 但它是通过 Xcode 提交的,修复了它.

I went through pretty much every solution for the first of the errors - but it was submitting via Xcode that fixed it.

这篇关于无效的二进制或无效的 Swift 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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