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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:44:44+00:00 2026-06-16T15:44:44+00:00

I have a very simple Xcode 4 workspace: A simple app : Foo.app A

  • 0

I have a very simple Xcode 4 workspace:

  • A simple app : Foo.app
  • A library : Bar.a

As you can imagine Foo.app uses Bar.a, nothing weird here. When I build Foo.app it automatically builds Bar.a and that’s exactly what I want! But… Because there’s always a but… In the build phase of the Bar.a scheme, I have a pre-action script.

If I build Bar.a the script is executed, but if I build Foo.app, Xcode builds automatically Bar.a without executing the pre-action script!!!

How can I tell my Xcode friend to execute that script, even when I build Foo.app?

  • 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-16T15:44:45+00:00Added an answer on June 16, 2026 at 3:44 pm

    After having tried @joshua’s manual declaration of dependency, the only, yet unsatisfying, workaround I found is to add the same script as pre-action of the build of Foo.app.

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

Sidebar

Related Questions

I have a very simple Mac App built with XCode 4 (just a blank
I created a basic application in Xcode 4.2. Very simple application, I have not
I have a very simple source file foo.cpp : #include <stdio.h> int foo() {
I am just starting out in xCode and I have built a very simple
I have a very simple iOS app with a uiwebview loading a very simple
I have made a very simple project in Xcode 4 where I connected 4
I have been developing a very simple text game using Objective C and Xcode.
I have a very simple game using Xcode v4.2.1, Cocos2d v5.0.1. I've tried both
I have very simple piece of code. The goal is when i input four-digit
I have very simple OpenGL ES example similar to Hehe's example : http://nehe.gamedev.net/tutorial/ios_lesson_02__first_triangle/50001/ As

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.