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 distributi开发者_如何学Con 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
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
精彩评论