I want to use TestFlight to distribute a beta version of my app but I don't want it to point to my production environment. After testing, I would like to submit a build to the app store that point to my production environment. However, I do not want to include a setting in my app that allows for changing environments because I don't want production users doing that.
What is the best practice in this case? For now, I am not using TestFlight to distribute my beta version and then I separately make a build pointing to production that gets sent to Apple.