开发者

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

开发者 https://www.devze.com 2023-02-04 11:50 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号