Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run release build of iOS app on development device

When I build my iPad app for running on my development iPad, it only builds the debug version. I need to see how fast the real release version is; how do I do this? I'm used to Visual Studio's Debug/Release builds, so this Run/Test/Profile/Analyze/Archive stuff isa bit confusing. I see Schemes are related to this but isn't there a simple switch "I want to test Debug/Release version of my app on my device"?

like image 980
Mr. Boy Avatar asked Oct 04 '13 15:10

Mr. Boy


People also ask

How do I make Xcode project in release mode?

To create a release build, you have to edit your current scheme (⌘<) and highlight "Run [name of application]. On the right, select "Build Configuration" and choose "Release". Build as usual.

How do I deploy an app to an iOS device?

Install the App on User Devices For macOS, double-click the file to install and run it. To install iOS, iPadOS, tvOS, or watchOS apps using Xcode: Attach the device to the computer, or attach the paired phone for a watchOS device. Select Window > Devices and Simulators, and then select the Devices tab.


2 Answers

You want to do a release build using an ad-hoc provisioning profile, which will allow you to install it on your device and any others you have specified.

Test flight app is free and can help with this process as well.

Provisioning Profile

like image 110
Mongo Avatar answered Dec 10 '22 15:12

Mongo


In your scheme settings, you can select to build for debug or release. Make sure you have set up code signing correctly. Xcode 5 can help with that.

like image 20
Léo Natan Avatar answered Dec 10 '22 17:12

Léo Natan