XCode supports multiple configurations - Developers’ Notes

iRonin IT Team - Experts in software development

Use XCode configurations and schemes to test a mobile app while running the API locally. It’s easy!

Today’s tip occurred to us when we wanted to test an iOS application with the API running locally (by default the app uses a staging server so our mobile developers don’t need to bother with setting up a Rails / Phoenix app). We wanted to change the API address in app configuration but without overriding the files in the repository. We found out it’s possible to achieve this by using XCode configurations and schemes. To create a new scheme you need to click on the name next to the stop button:

Select New Scheme and name it. After that, select the new scheme and click edit. In the new window, select “Run” on the left tab and select the build configuration you would like to use for your new scheme:

If you need more configurations, you can define them on the project properties panel. The easiest way to create a new configuration is by duplicating the existing one:

Łukasz, our Software Development Team Leader, was happy to share today’s Developers’ Notes. If you enjoy tips and tricks like this one, check in on us soon, because there’ll be more!

Author's Bio
iRonin IT Team

Experts in software development

We are a 100% remote team of software development experts, providing web & mobile application development and DevOps services for international clients.

Similar articles
Setting up QA processes and teams
Setting up QA processes and teams
The QA process is often wrongly imagined as one of the final stages of software development. Quality matters from requirement design till after deployment.

Bulletproof your development with remote team augmentation

Read how
This page is best viewed in portrait mode
Our websites and web services use cookies. We use cookies and collected data to enhance your experience, provide additional communication channels, improve marketing materials and enhance our offer. IRONIN SP. Z O.O. SP. K. is committed to protecting all the data that we collect or process in any way, especially data of personal nature. By accepting these terms you agree to our usage of cookies and processing your data, according to our Privacy Policy, and you declare that your browser settings reflect your preferences. Read more You have the right to revoke this agreement at any time, based on the terms of our Privacy Policy. You can change cookies settings in your browser. If you do not agree with us using cookies and processing your data, please change your cookies settings in your web browser and reject these terms. You can find more information about cookies, your data privacy This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies. data processing, and your rights in our Privacy Policy.