Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8742385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:29:28+00:00 2026-06-13T11:29:28+00:00

After I make a build I want to copy some files into my Xcode

  • 0

After I make a build I want to copy some files into my Xcode project.

I discovered that I could do this either in

  1. In “Build Phases” with a custom build step.

  2. I can also execute scripts before and after the different “tasks” in the Scheme editor:

    • Build (This is where I could add my script)
    • Run
    • Test
    • Profile
    • Analyze
    • Archive

I don’t completely understand the differences / possible implications between the two approaches and I am wondering when to choose either approach. Thanks for clarification.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:29:29+00:00Added an answer on June 13, 2026 at 11:29 am

    After I make a build I want to copy some files into my Xcode project.

    I assume you want to copy files to your build product, not the Xcode project.

    There are several subtle differences between scheme and build phase scripts. Here are some of them:

    • Scheme scripts are part of the scheme, so sharing with other developers is more configurable. Build phase scripts on the other hand are part of the target and cannot be skipped simply by choosing another scheme.
    • Scheme scripts can run before the dependency checking. So you can use them to modify source files and get up to date results. This is not possible with build phase scripts.
    • The information passed to the script in environment variables differs slightly. Depending on what information you need you sometimes have to choose right kind of script.
    • Build phase scripts are run conditionally only if the build process succeeds until their place in the target.
    • Build phase scripts can be configured to only run when input files changed.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As a pet project I want to build a program that translate from English
How can I make a project file (VS 2008) that just has some data
After reading answer to this question: Make "make" default to "make -j 8" I
I want to build a web application (SaaS) that can work both in Online
I have a small Qt4 project which I want to build with cmake. It
I have PDF papers copied/pasted into TXT as input and I want to build
I have this problem. I want to build an installer for my c# solution,
Hello I want to do something like this in my project project/ --sources/ --
Im trying out the Hudson Continuous Integration. After the build is executed i want
Well this is incredibly frustrating. After being nagged by Rails that I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.