Artemix
Artemix

Reputation: 8655

What's the meaning of "release" configuration when you deploy?

So, after several hours of reading the Apple walkthrough I finally managed to deploy my app in my iPod, under development configuration (easy one) and under distribution configuration (a pain), even AdHoc seems to be working without errors.

So... what's the purpose of the "release" configuration?, I only used development and distribution (adhoc and appstore provisionings), seems like Im missing something...

Thx

Upvotes: 0

Views: 286

Answers (1)

Alan Zeino
Alan Zeino

Reputation: 4396

Have a look at 'Project' -> 'Edit Project Settings'. You'll notice that you can have different sets of settings for different configurations. A great use for this would be to set your distribution certificate to the release configuration, and your development certificate to your debug configuration; solving future issues with App Store submission.

You can also separate code at compile time with flags like this:

#ifdef DEBUG
NSLog(@"Debug build");
#else
NSLog(@"Other build");
#endif

Upvotes: 1

Related Questions