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 6742959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:54:16+00:00 2026-05-26T11:54:16+00:00

Say I have 2 projects in an Xcode 4 workspace. Project A is the

  • 0

Say I have 2 projects in an Xcode 4 workspace. Project A is the final product which requires the utility app built from project B. The goal is to have the build process of A automatically build project B if necessary, then copy the built app into the resource folder of product A’s app bundle.

Xcode 4’s documentation is really lacking in this regard. I tried adding the built B.app into project A with Add Files to “project A”… command. It does copy the app bundle but it doesn’t check for a dependency. That is, it does not automatically build project B when it’s updated.

Any pointer to find the right documentation is also much appreciated.

Edited: I am looking to accomplish the first 2 benefits mentioned in this doc, that are:

  • One project can use the products of another project while building.

  • If one project depends on the products of another in the same
    workspace, Xcode can detect this and automatically build the projects
    in the correct sequence.

I know the plain old project way of adding a project to another one as a sub-project so I can set the target dependencies. But from the wording of the workspace doc, there’s seems to be an easier and automatic way. But I am not able to find the steps to do either of the two features.

  • 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-05-26T11:54:16+00:00Added an answer on May 26, 2026 at 11:54 am

    Add project B as “Target dependency” in project A’s “Build phases” tab in the target screen. (The screen that you get when you click on the top level project node)

    Update:
    It seems that a project can only define the output of another project as dependency if the second project is a subproject of the first:

    I can define the output of Project B as dependency of A in this constellation

    If your Workspace has the following structure, defining dependencies is not possible:
    Output of B does not show up in the dependency editor of A in this constellation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have 3 projects: 1 Web Project which is in .NET MVC3
I say project file in the loosest sense. I have a few python projects
Say I have some C++ project which builds an exe or dll file. The
say that i have a project which lies in a folder called 'bin', and
Say I have the following file structure: app/ app.py controllers/ __init__.py project.py plugin.py If
In Xcode 4 I want to use the workspace to have multiple project types
Say I have 2 projects, where project A references project B. Project A is
Let's say I have four projects: Project A (has a dependency on B and
Let us say that I have two Xcode projects open on a Mac and
Say I have a list of all Projects , and that I group them

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.