• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: build script access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build script access


  • Subject: Re: build script access
  • From: Shawn Erickson <email@hidden>
  • Date: Wed, 13 Aug 2008 16:43:44 -0700


On Aug 13, 2008, at 3:10 PM, Bengt Nilsson wrote:

Below is a snip from the minimal.xcodeproj "source" inside the project bundle:

/* Begin PBXShellScriptBuildPhase section */
40A0CE7F0875719100810086 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "mkdir $TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH\ncp ../../src/build/$BUILD_STYLE/libwx_mac.dylib $TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH";
};
/* End PBXShellScriptBuildPhase section */


The path in the "shellScript" line, "../../src/build" is what I need to change.
Obviously, I should not change it using a text editor!
So I need to have access to the build phase scripts from Xcode, and I just don't know how to do that.

Find the target with this phase, click the turn down arrow, find the shell script phase, get info on that phase (or double click it). In the resulting inspector click on the shell script tab (or whatever it is called).

With that said the above looks better done using a copy files phase and not a shell script phase.

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: build script access
      • From: Bengt Nilsson <email@hidden>
References: 
 >build script access (From: Bengt Nilsson <email@hidden>)
 >Re: build script access (From: Brian Stern <email@hidden>)
 >Re: build script access (From: Bengt Nilsson <email@hidden>)

  • Prev by Date: Re: IB3 Plugin - Editing Textual Labels
  • Next by Date: Re: linking wxwidgets minimal-clone with Xcode gives 2000
  • Previous by thread: Re: build script access
  • Next by thread: Re: build script access
  • Index(es):
    • Date
    • Thread