

#Update xcode 8 how to
Now let me show you how to actually configure your Xcode project so that it runs on both versions. Xcode settingsīut that much is likely obvious to you. So! To maintain simultaneous compatibility, we’ll be using Swift 2.3. In case you missed the announcement, Swift 2.3 is the same language as Swift 2.2 in Xcode 7, but with some minor API changes (more on those later). The great news is that, for the first time ever, Xcode 8 comes with two versions of Swift: 2.3 and 3.0.
#Update xcode 8 upgrade
And if you have any Swift dependencies, they too need to upgrade to Swift 3 before your app can. As great as it might be, it’s a huge source-incompatible change, much bigger than Swift 2 was a year ago. It’s awesome, and if you’re reading this article, you shouldn’t be using it (yet). And even if you do end up branching, these tips will help you minimize the difference between your two branches, and make syncing them less painful.

For most apps, it should be possible to have a single project file that will compile for both iOS 9 (Xcode 7) and iOS 10 (Xcode 8). In this article, I will show you how to avoid branching altogether. But try maintaining a huge branch for many months, with changes spread across the whole codebase, while the main branch also evolves, and you can brace yourself for some serious merging pains. Branching works beautifully when merely working on a feature for a while. So you split your project into two branches, one stable, another for iOS 10 development…Īnd inevitably, it will suck. Of course, you can’t use Xcode 8 to compile your shipping app - it wouldn’t pass App Store validation. But that’s still a few months away, and until then, you have to keep shipping new versions of your app every few weeks. You want to start working on it right now so that you’re ready to ship on day one. You’re excited about all the great new features iOS 10 brings, and you’re eager to implement them in your app. You’ll find me on Twitter, building Nozbe, and making engineering blueprints. It reflects my views and the state of the world in 2016, but is likely to be outdated.
