我可以在macOS 10.12上载Xcode版本吗 [英] Can I upload Xcode builds on macOS 10.12
问题描述
在macOS 10.12 Beta上,我是否能够使用Xcode 7.3.1提交应用程序?根据此帖子,这是可能的在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.
-
no .app file provided in bundle
使用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.
-
当尝试提交到商店时,您将面临以下错误消息:
When trying to submit to the store you will be faced with this error message:
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, OS X, and tvOS SDK. Don't submit apps built with beta software including beta OS X builds.
这是因为您的存档中包含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屋!