I have an App for a client which is externally tested by another company (paid by the client) via TestFlight. After that the app goes to the Store. So as many of you know the Quality Assurance happens not only once. Mostly there are 3-4 approaches until the app is ready for the store.
In between I have to show my client the newest version of the app while the testing company is testing.
So I need to find an easy way to make different Versions with different parts visible in the app. Otherwise i have to manually hide the parts of the newer version everytime i have to build a new testVersion for the QA.
So as I dont want to repeat myself everytime, maybe there is a better way.
I tried to digg into the “preprocessor” Thing but didnt found any useful yet.
My Idea was to #define an app version but since I never used the preprocessors it`s quite hard for me to tell.
Hope you guys can help me out.
Thanks and Cheers Steven
EDIT:
I use SVN for my projects, But sadly I cannot “freeze” the QA Version hence I have to make changes related to the QA while make changes to the newest version of my app.
1) Quick ansewer – you can do it with preprocessor statements like :
If you have defined an app version like
You can do statements like
2) Better answer
Use version control – take a look at git (and github.com)
You can use one branch for the code that you are submitting to the store and another branch for newer versions of the app.