问题描述
我以前在Xcode 7 Beta中构建了我的应用程序,因为我的测试设备是iOS 9.0设备.我最近删除了Xcode 7,并开始在Xcode 6.4(不是beta)中使用我的应用程序. 6.4不支持iOS 9,但是我在iOS 9 Beta上的iPhone并不合格(之所以这样是因为6.4不支持9.0).是否可以删除某些文件,使我的设备不合格?我相信一旦解决了这个问题,我最终可以将新的版本提交给iTunes Connect进行审查,因为在提交我的应用程序时我不会收到此错误消息:
I previously built my app in an Xcode 7 beta as my testing device is an iOS 9.0 device. I recently deleted Xcode 7 and began working on my app in Xcode 6.4 (not a beta). 6.4 does not support iOS 9 but my iPhone on an iOS 9 Beta is not uneligible (as it should because 6.4 doesn't support 9.0). Are there some files I can remove so that my device is ineligible? I believe once I fix this problem, I can finally submit a new build for review to iTunes Connect because I shouldn't get this error message when submitting my app:
此外,我的应用不是用Swift编写的,因此无法将Swift 2.0转换为Swift 1.2.
Also, my app is not written in Swift so I cannot do the Swift 2.0 conversion to Swift 1.2.
推荐答案
您提交的应用应使用Mac App Store中最新版本的Xcode开发,并应针对iOS,OS X和watchOS-除非有GM种子可用. 现在Mac App Store的Xcode是6.4,OS X Yosemite是Build 14F27. 如果您在OS X El Capitan上使用xcode 6.4,则应遵循以下步骤:
Apps that you submit should be developed using the latest version of Xcode from the Mac App Store and should be built for publicly available versions of iOS, OS X, and watchOS — except when GM seeds are available. Now Mac App Store's Xcode is 6.4 and OS X Yosemite is Build 14F27. If you user xcode 6.4 on OS X El Capitan, you should follow the steps:
- 使用Xcode,然后存档您的项目
- 打开管理器,找到您的.xcarchive文件
- 右键单击xcarchive文件,选择[显示软件包内容]
- 查找产品/应用程序/XXX.app/Info.plist
- 然后将[BuildMachineOSBuild]值更改为14F27,如下所示:
- 现在,您可以转到Xcode->组织者,然后【提交到App Store】
- Using Xcode, then archive your project
- Open organizer, find your .xcarchive file
- Right click the xcarchive file, choose [Show package Contents]
- Find Products/Applications/XXX.app/Info.plist
- then change [BuildMachineOSBuild] value to 14F27, just like this:
- Now, you can go to Xcode->organizer, then 【Submit to App Store】
这篇关于通过Xcode 6.4提交建筑中的App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!