3

When trying to submit an app compiled with Xcode 7 to iTunes Connect for review, I get an error message

Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 SDK.

enter image description here

Is there any workaround to this? I've already updated all of my code to Swift 2.0, and I would like to not have to convert it all back to Swift 1.2 to upload it.

Setting the Deployment Target to iOS 8.0 doesn't work, either

enter image description here

Are there any ways that I can compile the Swift 2.0 code in a way that would allow me to upload it to iTunes Connect (maybe something in the Build Settings), or do I have to convert all of the code back to Swift 1.2?

Jojodmo
  • 23,357
  • 13
  • 65
  • 107
  • 5
    If you want to submit now, you'll have to use Xcode 6.4. Apple checks what you try to send and they won't allow anything from beta versions right now. So unfortunately you will have to wait or convert to 1.2 – Sami Kuhmonen Jul 11 '15 at 19:57
  • @SamiKuhmonen You should probably put that in an answer as opposed to a comment. – Oxcug Jul 11 '15 at 20:59
  • Just remember one simple rule - Any beta Xcode == Never submit to App Store. – Sam B Jul 11 '15 at 21:52

2 Answers2

8

Apple doesn't allow submitting anything using beta stage tools. They check all submissions so there is no reasonable way to submit anything done with Swift 2.0. Your only options are either to wait until Xcode 7 is officially out or convert to Swift 1.2.

Sami Kuhmonen
  • 30,146
  • 9
  • 61
  • 74
  • 3
    [Let the pain begin](http://i.stack.imgur.com/yTrBV.png). Make sure to save a backup of your old Swift code before you convert it - don't learn the hard way like I just did – Jojodmo Jul 13 '15 at 00:49
  • @Jojodmo you shouldn't code without version control (like git) in the first place imo. – Gerrit Post Sep 21 '15 at 14:40
1

Just a few days ago Apple started accepting apps that are built with Xcode 7 GM. Here is a reference from Apple themselves https://developer.apple.com/news/

I ran into a lot of build errors with iOS 9 as there are some breaking changes and new settings for the latest devices. I combined all the errors and their fixes on my blog post. It is targeted at Ionic users, but a lot of the issues are general and any iOS developer could encounter them. http://blog.tylerbuchea.com/ios9-and-ionic-build-warnings/

Tyler Buchea
  • 1,642
  • 3
  • 17
  • 25