Pages

Sunday, March 3, 2013

Is it possible to use precompiler commands for archiving?

Hi!

 

My iOS app has some constants

 

NSString * const PROJECT_DEFAULT_DOMAIN =@"http://www.project.com";

//NSString * const PROJECT_DEFAULT_DOMAIN =@"http://192.168.0.13:8080";

 

NSString * PROJECT_NEARBY_DOMAIN = @"http://www.project.com";

//NSString * PROJECT_NEARBY_DOMAIN =@"http://192.168.0.13:8080";

 

everytime, i am developing at home for new features, i am using the domain with my home ip. and if i am submitting the update, i am using the real domain.

even if iam submiting with a checklist, it happend sometimes, that i forgot to switch and had to reject my upload / which resulted in loosing time.

 

is there some possibility, to integrate some further, automated checkpoint? maybe i could use some precompiler statements which fire some actions if i am archiving the project?

 

thx

alex


View the original article here

0 comments:

Post a Comment