When you want to test your iOS app and point it to a test server, what's the best practice approach for this?
Can you have the app check if it's running on Test Flight, and if so, use the test server? Or is there some better way to do this?
EDIT: I want other testers to be able to test the app as well. So, I need some way to share this test release. If create a DEBUG or TEST build, wouldn't that prevent publishing the app?