二进制拒绝 - 无效的 Watchkit 支持 [英] Binary Rejection - Invalid Watchkit Support

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

问题描述

我们开发Watchkit app大约1.5个月,之前使用Xcode 6.2 beta2,beta4, Xcode 6.3 beta开发,现在使用Xcode 6.2 (6c131e)开发

We develop Watchkit app about 1.5 month, and we used Xcode 6.2 beta2,beta4, Xcode 6.3 beta to develop before and now use Xcode 6.2 (6c131e) to develop

我们使用 Xcode 6.2 (6c131e) 来归档我们的项目,并使用 Application loader 提交我们的应用程序.

We use Xcode 6.2 (6c131e) to archive our project , and use Application loader to submit our app.

然后我们收到了拒绝:

捆绑包包含无效的 WatchKit 实现.应用程序可能是使用不合规或预发布的工具构建或签署的.访问 developer.apple.com 了解更多信息."

"The bundle contains an invalid implementation of WatchKit. The app may have been build or signed with non-compliant or pre-release tools. Visit developer.apple.com for more information. "

谁来帮帮我,谢谢.

推荐答案

Apple Watch 应用程序自周二起已被 App Store 接受.3 月 31 日.

Apple Watch apps are now accepted into the App Store as of Tues. March 31.

但是,对于使用提交压缩 .app 的旧提交工作流程的人来说,会遇到此错误,因为包含手表扩展程序的应用不再支持压缩应用.请按照以下步骤生成可提交的 .ipa 文件.

However, for folks using the old submission workflow of submitting a zipped .app will hit this error because zipped apps are no longer supported for apps that contain a watch extension. Follow these steps to generate a submittable .ipa file instead.

支持 Raw Zip Watch 应用提交App Store 导入验证可确保手表应用程序提交包含由 Xcode 生成的提交包旁边的其他文件.这可以防止您使用旧的提交工作流程,即使用 Application Loader 提交压缩的应用文件.

Supporting Raw Zip Watch App Submissions App Store import validation ensures that watch app submissions include additional files alongside the submitted bundle that are generated by Xcode. This prevents you from using the old submission workflow of submitting a zipped app file using Application Loader.

但是,如果您的构建过程当前阻止使用 Xcode 提交手表应用程序,则可以使用以下过程生成要使用应用程序加载器提交的必要 .ipa 文件:

However, if you have a build process which currently prevents submitting the watch app using Xcode, you may use the following process to generate the necessary .ipa file to be submitted using Application Loader:

  1. 创建一个名为 WatchKitSupport 的目录作为 Payload 的同级目录
  2. 将名为WK"的二进制文件从 Xcode 中的 iOS 8.2 SDK 复制到您的新 WatchKitSupport 目录中.该二进制文件位于:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/Library/Application Support/WatchKit/
  3. 不要以任何方式接触或重新签署 WK 二进制文件
  4. 将所有内容压缩为 zip 并将文件扩展名重命名为 .ipa

注意:您可以通过从添加了监视目标的新 Xcode 项目模板的存档中导出 .ipa 来将 .ipa 与 Xcode 生成的文件进行比较.

Note: You may compare your .ipa with one generated by Xcode by exporting an .ipa from an archive of a new Xcode project template for which you have added a watch target.

生成的 IPA 的格式应(至少)包含:

The format of the resulting IPA should contain (at least):

myApp.ipa|________有效载荷/|________符号/|____WatchKitSupport/|____WK

对应于构建的 .app 的 .dSYM 进入 Symbols/.您始终可以在内置产品文件夹中的 .app 旁边或 .xcarchive 的 dSYM 中找到它.

The .dSYM corresponding to the built .app goes in Symbols/. You can always find it alongside the .app in the built products folder, or in dSYMs of an .xcarchive.

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

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