I'm currently working on a CI / CD pipeline for an iOS app.
The app is currently compiled and released to 'test' to run automated tests. At this point the app will make requests to the 'test' api.
If all the tests pass, the build is promoted to 'staging', at this point the build should make requests to the 'staging' api.
I don't want to recompile the app when it is released to staging.
What would be the best way to change some config values in an app without recompiling?
I've thought of the following way:
- Change the .ipa file to a zip
- Unzip it
- Edit the plist (which will contain some config stuff)
- Rezip the app
- Change back to an .ipa file