Xcode 7 and Xcode 8 simultaneously

I was told at WWDC in the Xcode labs that you could convert your source code to work with Xcode 8 and but then still be able to submit the app via Xcode 7.


Is this true?


It seems like once you convert your source to Xcode 8, you can't really compile with Xcode 7 any more.

Edit 8.15.16 - latest Xcode beta 5 should be more cooperative in this example now. Just remember that you should not run two versions at the same time and only release versions of the tools are allowed for submittal to the store.

If you're using Swift, you can conditionalize changes in the the APIs:


#if swift(>=2.3) //or 2.2 or 3.0 or whatever
     //
#else
     //
#endif

Hate to self-promote, but I've explained, in all the details, how to keep a project compile on both Xcode 7 and Xcode 8 in my blog post:


http://radex.io/xcode7-xcode8/

Xcode 7 and Xcode 8 simultaneously
 
 
Q