Is there a way to test my Xcode 7.2-compiled app with iOS 9.3?

If you want to avoid the beta version of Xcode from potentially altering your original project, just make a copy of the project and then just open it up in the beta version. If you have an app running in Swift 2.1.1 (Xcode 7.2), the differences to Swift 2.2 (Xcode 7.3) are pretty modest. And if you do this with a copy, you can be confident that your original project won’t be altered.

If you don’t want to do that for some reason you can install apps from a production version of Xcode on a device running a beta version of iOS:

  1. First, you want to make sure you have the profiles installed on your beta iOS device. The easiest way to do this is to run some “Hello World” app on your beta device from the beta Xcode. If prompted to add a team/profile onto your device, you should go ahead and do so, like usual.

  2. Quit the beta Xcode and start the production Xcode and open the project for the app you want to install. Select “Generic iOS Device” where you choose the active scheme in jump bar and then build the app. You should then see the .app file (not in red) in the Products folder in the “Project Navigator” tree in the left panel.

  3. Install the app on the device by opening the devices window (shift+command+2) and selecting the device in question. In the right panel (or top right panel if you’re showing the console, too), you’ll find a “Installed Apps” section. Just drag the .app file from the Products folder into this installed apps section.

    screen snapshot

Clearly, if you have other apps you want to install, you can just repeat steps 2 and 3 as appropriate.

There are a bunch of different ways to install an app on a device, but I find this is the easiest for one-off installs with a device sitting in front of me. You won’t be able to debug if you do it this way, but you can at least fire it up, run it through its paces, watch the device console for any debugging messages you may be NSLog‘ing, etc.

Leave a Comment