我可以在 macOS 10.12 上上传 Xcode 版本吗 [英] Can I upload Xcode builds on macOS 10.12

查看:30
本文介绍了我可以在 macOS 10.12 上上传 Xcode 版本吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 macOS 10.12 测试版上,我能否使用 Xcode 7.3.1 提交应用程序?根据这个post,有可能与 macOS 10.12 一起运行 Xcode 7.

Will I be capable of submitting an app with Xcode 7.3.1 while on the macOS 10.12 beta? According to this post, it is possible to run Xcode 7 alongside macOS 10.12.

推荐答案

是的,你可以!但如果你打算这样做,你会发现两个问题.

Yes, you can! But if you're tying to do this, you will find two problems.

  1. bundle 中没有提供 .app 文件

使用 Xcode 7.3.1 构建,然后使用 Xcode 8 [Beta] 上传.这将允许您上传档案.

Build with Xcode 7.3.1 then upload using Xcode 8 [Beta]. This will allow you to upload the archive.

  1. 尝试提交到商店时,您将遇到此错误消息:

  1. When trying to submit to the store you will be faced with this error message:

新应用和应用更新必须使用公共 (GM) 版本的 Xcode 6 或更高版本、OS X 和 tvOS SDK 构建.请勿提交使用 Beta 版软件(包括 Beta OS X 版)构建的应用.

这是因为您的档案包含 Sierra 的标记!我昨天刚解决了这个问题.

This is because your archive contain the Sierra's mark! I just solved this problem yesterday.

归档应用后,在管理器中找到您的归档,然后:

When you archived your app, find your archive in the Organizer, and then:

  • "在取景器中显示";
  • "显示包裹内容";
  • 在xx.xcarchive"中文件,找到产品"-应用程序"-xx.app"(xx 是您的应用程序的名称),显示包内容"再次;
  • 最后可以看到有一个名为Info.plist"的文件,打开它;
  • 使用名为BuildMachineOSBuild"的键编辑值,我只是将其更改为15F34"(它是El Capitan 10.11.5"的版本);

之后,您可以使用 Xcode 或 Application Loader 上传此存档,无论您想要什么!

After that, you can upload this archive use Xcode or Application Loader, whatever you want!

这篇关于我可以在 macOS 10.12 上上传 Xcode 版本吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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