John Daub

Xcode Configurations vs. Schemes

John Daub | Jun 04, 2018

App development is pretty complicated these days. Our apps are using technologies like Core Location, Localization, Multi-threading -- technologies that are complicated to work with, both at the code level and in daily development work on our devices and the simulator.

Because of this, we may need to build our app in different ways. Maybe we have a regular version of the app and then a free “lite” version. Maybe we need to have different builds that can point to different server environments (development, staging, production). We need to build and run with a lot of things.

Curious how using multiple build configurations coupled with schemes can avoid the multiple-target mess? If you’re wondering what this all means and how it can make your developer life better, this video is for you.

Questions we'll answer in this video:

- What is an Xcode (build) configuration?
- What is an Xcode scheme?
- What’s the difference between a configuration and a scheme?
- How do I use build configurations?
- How do I use schemes?
- How do schemes make my life easier?
- How do configurations make my life easier.

Basic knowledge or experience building iOS applications is recommended.

For the More Curious...

Xcode Concepts
BNR Guide to iOS
BNR Guide to Swift
iOS & Swift Courses

Subscribers Only

Transcripts are for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

If you get stuck, try starting a discussion with Big Nerd Ranch experts in the community tab.

Related Screencasts

Explore other screencasts related to this topic.

Swift Assertions

9 minutes

In this screencast, we’ll learn how to use Swift’s assertion function to code defensively. By the end of this video, you’ll be able to use the assertion functions to help you write stronger, more robust code.

Xcode Inline Documentation

10 minutes

In this screencast, you'll earn how to document your Swift code using Xcode’s Markup support, and Jazzy to create an informative API.

Adopting Configuration Settings Files in Xcode

11 minutes

In this screencast, we will explore how to use Xcode’s Configuration Settings Files - or xcconfig files - and improve our ability to tame the complexity of managing project settings.

Protocol Oriented Dependency Injection

8 minutes

Tight coupling between view controllers in your application can lead to difficult maintenance as you add and remove features. This video will explore how using Protocols can make our Dependency Injection more loosely coupled. This improves the flexibility of the code and makes our application easier to change.

Finding and Fixing Memory Issues

7 minutes

Incorrectly managing memory in our applications can result in hard to find bugs and possible crashes. In this video, we will explore the Memory Graph debugging tool in Xcode and how you can use it to find and fix strong reference cycles in closures.

Using Container Views to Manage Complex Layouts

7 minutes

When you have a complex view controller view, sometimes it is helpful to break up the view into manageable chunks. In this video we will show how you can use container views to simplify the construction of certain layouts. After this video you will know when and how to use these container views in your applications.