I want to take advantage of the new UI testing features in Xcode 7. However it's forcing me to upgrade my project to Swift 2. I'm guessing Swift 2 apps can't be submitted yet? How can I make use of Xcode 7 on a project which mixes Swift and Objective-C code while still keeping it able to submit.
Using Xcode 7 for production apps
I was wondering the same thing, I would really like to use the new UI testing features but as soon as I open my project, Xcode 7 forces me to upgrade the project to Swift 2.
Is there a way to use Xcode 7 while maintaing the Swift 1.2 code base?
You could create a copy or a new branch for Swift2 testing.
Just like last year, you still can't until Apple releases the GM version of Xcode and that submitted app will be released when iOS 9 is released.
I've always used beta versions of Xcode in the past during development and it was fine as long as I built the app for submission with the currently released version of Xcode. The real issue here is the forced Swift upgrade.
Thanks for the idea but I'd actually just like to stick with the current version of Swift for now until closer to iOS 9/Swift 2.0 release. From what I can see online this isn't possible - Swift version is tied to Xcode and you can't run an older version.
Can these points be clarrified. Two questions....
1) Can beta versions of Xcode be used to submit apps to the app store targetting GA versions of iOS. In other words, can Xcode 7 be used to submit apps to the app store that are targetting iOS 8.
2) Can apps using Swift 2.0 be submitted to the app store? If not, it sounds like no Swift apps can be submitted to the app store using Xcode 7 regardless of the targetted iOS level.
1.) Never. Devs are obligated to use release tools only for build/submit to the store - right now that means nothing above 6.3.2
2.) Since Swift 2 comes with beta tools, see #1
As a follow up to this post, yes this does mean that if you are not doing beta development on a separate branch, incorporating new features from beta versions of the OS and development tools into your code base means you may have to wait until late Fall for a GM release to upload your new app version to iTunes Connect.
Thanks for confirming SOP for submittals.
You are welcome, but it was not for you.
It was for the benefit of the person asking the question. Not everyone understands the impact.
That is why they ask.
Not sure why you replied to me then...?
Originally? Because I was referring to and expanding on the information in your reply.
Thinking about it, I will probably paste and quote instead of using the reply action in the future to make that clear.
My reply to you was just following your lead. Seemed appropriate.
But....if quoting worked, we wouldn't have such issues, I guess 🙂