Skip to content

Commit

Permalink
Add "Prepare Framework" build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Boxer committed Apr 3, 2012
1 parent 822a9c6 commit d3105ce
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions JBDeviceOwner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
230BAD7F152BBBE400CE26EC /* Sources */,
230BAD80152BBBE400CE26EC /* Frameworks */,
230BAD81152BBBE400CE26EC /* Headers */,
230BAD9E152BBF2700CE26EC /* Prepare Framework */,
);
buildRules = (
);
Expand Down Expand Up @@ -143,6 +144,23 @@
};
/* End PBXProject section */

/* Begin PBXShellScriptBuildPhase section */
230BAD9E152BBF2700CE26EC /* Prepare Framework */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Prepare Framework";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "set -e\n\nmkdir -p \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A\"\nmkdir -p \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers\"\n\n# Link the \"Current\" version to \"A\"\nln -sfh A \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/Current\"\nln -sfh Versions/Current/Headers \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Headers\"\nln -sfh \"Versions/Current/${PRODUCT_NAME}\" \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/${PRODUCT_NAME}\"\n\n# The -a ensures that the headers maintain the source modification date so that we don't constantly\n# cause propagating rebuilds of files that import these headers.\ncp -a \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/\" \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers\"";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
230BAD7F152BBBE400CE26EC /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down

0 comments on commit d3105ce

Please sign in to comment.