Re: build script access
Re: build script access
- Subject: Re: build script access
- From: Bengt Nilsson <email@hidden>
- Date: Thu, 14 Aug 2008 10:22:12 +0200
- Auth-sender: email@hidden
14 aug 2008 kl. 01.43 skrev Shawn Erickson: 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).
For this target (called dynamic) , I have
Copy Headers (empty)
Copy Bundle Resources (1)
Compile Sources (2)
Link Binary With Libraries (9)
Build ResourceManager Resources (empty)
Copy Files (empty)
Run Script (empty)
No shell script phase.
With that said the above looks better done using a copy files phase and not a shell script phase.
Sure, I agree. I just need to remove this hidden script.
|
_______________________________________________
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