Software Dev

Debuggable TestFlight Builds (Without Compromise πŸ€“)

I’ll chalk this up as the clever idea of the week. This dude figured out how add special debugging capabilities to your production shippable TestFlight build without security compromises or other issues. 🀯

No #ifdef DEBUG here, people.

πŸ‘‰ How to Enable Custom Debugging in Release Builds

I love that he first runs through all the “not-so-good” ideas that he tried before landing on this elegant solution (including hardcoded user id’s, a secret gesture, a secret URL scheme, and a different bills config.)

The anser, in a nutshell is:

Create a special configuration profile using Keychain Access and Apple Configurator 2, and install this on your devices. Detect the presence of this profile to enable your debugging features on that device.

Well played. Via iOS Dev Weekly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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