Deploying your app from Xcode to a device with Release Build Configuration

By default all apps you deploy from Xcode will make it to your device with the Debug Build Configuration. This is useful during development, but it doesn’t optimise your code. It’s therefore easier to debug, but your app doesn’t run as fast as the final release version would.

Especially on older devices this can make a huge difference, particularly for your own personal apps that may never make it to the App Store.

There is a painless way to change how apps are deployed to your devices in Xcode. All we need is a distribution profile, just like the one we need for App Store submission. Next we’ll change the Run Scheme to use the Release Build Configuration. Here’s how to do that in Xcode 6.1.1:

  • with your device selected, head over to Product – Scheme – Edit Scheme
  • select Run from the list on the left
  • change the Build Configuration from Debug to Release
  • untick the “Debug executable” option
  • deploy your app using the usual playback button

Screen Shot 2014-12-30 at 13.06.32

Users have reported a 60% speed increase on their devices.

Make sure the distribution profile is imported into Xcode and selected as explained here.

Further reading:

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.