I'm trying to create an Xcode project that works in a development environment (using the computer as a local host), staging environment (a specific endpoint on a server), and a production environment (another specific server endpoint). I have found a few different tutorials about how to set this up. Some solutions suggest creating different target, some suggest creating different configurations. What is the most effective way to do this?
Following are the steps to create different schemes
i have attached screen shot for your reference
Sample Screen Shot for reference

if you want to set different url for different schemes then do the following steps:
1.Go to Build Setting
2.Go to user defined section
3.Create macros and specify urls for each environment
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With