Featured Article

Xcode Default Build Location: Master Your iOS Development Setup

William Aug 14, 2026

When working with Xcode, a key aspect that often flies under the radar is the default build location. Understanding where your compiled project ends up is crucial for organizing your workspace, managing files, and debugging issues that arise during development.

Xcode Tutorial For Beginners
Xcode Tutorial For Beginners

By default, Xcode stores compiled project files (also known as build artifacts or products) in a 'Products' group within the project's directory. However, Xcode also creates an additional folder, 'build', which houses intermediate files and folders necessary for the compilation process. But where exactly are these folders located, and can you change their default locations?

24 Quick Xcode Tips
24 Quick Xcode Tips

The Default Xcode Build Location

The default build location in Xcode is within the project's directory. Here's a breakdown of where to find your build files:

Xcode 5: general info
Xcode 5: general info

The Products folder contains the compiled output of your app, such as the project's executable file (.app file for iOS apps). You can find it here:

{your_project_directory}/{your_project_name}.xcodeproj/xcdata/rememberme/products

Xcode for Windows
Xcode for Windows

Products Folder

This folder is where your final executable file, ready for deployment or testing, resides. You can access this folder directly from Xcode by expanding the 'Products' group in the Project Navigator. Here's how to find it in the Finder:

  • Open Xcode and select your project from the Project Navigator.
  • In the Products group, Control-click (or right-click) on your app's executable file.
  • Select 'Show in Finder' from the context menu.
Xcode Tutorial for Beginners (2026) : CodeWithChris
Xcode Tutorial for Beginners (2026) : CodeWithChris

Build Folder

The build folder is where Xcode compiles your project's source files. It's essentially a temporary directory that Xcode uses to build your project intermediates. Here's where you can find it:

{your_project_directory}/{your_project_name}.xcodeproj/xcdata/rememberme/build/{configuration}

swift 🙆‍♂️ xcode
swift 🙆‍♂️ xcode

Replace {configuration} with the active build configuration, usually 'Debug' or 'Release'.

Adjusting the Default Build Location

the front and back cover of a book with an image of a lighthouse on it
the front and back cover of a book with an image of a lighthouse on it
an image of the welcome screen to xcode application on mac os 6 0 1
an image of the welcome screen to xcode application on mac os 6 0 1
an aerial view of the city at night with lots of tall buildings and skyscrapers
an aerial view of the city at night with lots of tall buildings and skyscrapers
two maps showing the locations of different types of boats
two maps showing the locations of different types of boats
an image of a computer screen with text on it and a phone in the background
an image of a computer screen with text on it and a phone in the background
an animal park with various animals in the center and on the other side of it
an animal park with various animals in the center and on the other side of it
two views of the same house in different stages of construction, with trees and animals
two views of the same house in different stages of construction, with trees and animals
How To Use Git Source Control with Xcode 9
How To Use Git Source Control with Xcode 9
10 Best Xcode Themes for Your Project
10 Best Xcode Themes for Your Project
Getting Started Building iPhone Apps in Xcode 4.2 — Speckyboy
Getting Started Building iPhone Apps in Xcode 4.2 — Speckyboy
15 Powerful Alternatives to Xcode For Windows Developers
15 Powerful Alternatives to Xcode For Windows Developers
Apple Releases Xcode 14 [Download]
Apple Releases Xcode 14 [Download]
✨ Xcode: The Creative Engine Behind Every Apple App
✨ Xcode: The Creative Engine Behind Every Apple App
Ollin
Ollin
Hello World using Xcode and Swift
Hello World using Xcode and Swift
Apple Releases Xcode 10.1 With Swift 4.2.1 and Updated SDKs
Apple Releases Xcode 10.1 With Swift 4.2.1 and Updated SDKs
Your XCode Project Files Explained (and object oriented programming concepts)
Your XCode Project Files Explained (and object oriented programming concepts)
project zomboid
project zomboid
XCode Tutorial: Create Our First XCode Project
XCode Tutorial: Create Our First XCode Project

While the default build location works well for most projects, you might want to change it to better suit your workflow. For example, you can configure Xcode to store builds outside the project directory, which can be helpful for managing large projects or preserving disk space.

To change the build location, follow these steps:

Adjusting the Scheme Options

Xcode provides a method to change the build location via scheme options. Here's how:

  1. Select Product in the menu bar, then Scheme, and finally Edit Scheme...
  2. In the dialog that appears, select the scheme you want to adjust.
  3. Click on Run in the left-hand menu, then click on Info (the "i" icon) at the bottom of the main window.
  4. You'll see an option called Build Location. Use the pop-up menu to select a new location for your build.

Adjusting Xcode Preferences

If you want to change the build location for all projects, you can do so through Xcode's preferences:

  1. Select Xcode in the menu bar, then Preferences.
  2. Click on (the lightbulb icon) under the Text Editing section.
  3. Under Find AFL Instruments, use the Find in: pop-up menu to select a custom location for your build folder.

Remember, changing the build location might affect how Xcode manages your project's files. Always back up your work before making significant changes to your development environment. Happy coding!