Skip to content

Commit

Permalink
Merge commit '09cf02c5825722693622b3f794a3603ec15e992e' into pb-merge…
Browse files Browse the repository at this point in the history
…-orphan
  • Loading branch information
paulb777 committed Jul 2, 2021
2 parents 15b3ec2 + 09cf02c commit 536f201
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions install_header_mappings_dir/after/Pods/Pods.xcodeproj
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,28 @@ Targets:
- Frameworks:
- Foundation.framework
- Resources: []
- Create Symlinks to Header Folders:
Input File List Paths: []
Input Paths: []
Output File List Paths: []
Output Paths: []
Shell Path: "/bin/sh"
Shell Script: |
cd "$CONFIGURATION_BUILD_DIR/$WRAPPER_NAME" || exit 1
if [ ! -d Versions ]; then
# Not a versioned framework, so no need to do anything
exit 0
fi

public_path="${PUBLIC_HEADERS_FOLDER_PATH#$CONTENTS_FOLDER_PATH/}"
if [ ! -f "$public_path" ]; then
ln -fs "${PUBLIC_HEADERS_FOLDER_PATH#$WRAPPER_NAME/}" "$public_path"
fi

private_path="${PRIVATE_HEADERS_FOLDER_PATH#$CONTENTS_FOLDER_PATH/}"
if [ ! -f "$private_path" ]; then
ln -fs "${PRIVATE_HEADERS_FOLDER_PATH#$WRAPPER_NAME/}" "$private_path"
fi
Build Configurations:
- Debug:
Build Settings:
Expand Down
4 changes: 4 additions & 0 deletions install_header_mappings_dir_macos/after/Pods/Pods.xcodeproj
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ Targets:
Shell Path: "/bin/sh"
Shell Script: |
cd "$CONFIGURATION_BUILD_DIR/$WRAPPER_NAME" || exit 1
if [ ! -d Versions ]; then
# Not a versioned framework, so no need to do anything
exit 0
fi

public_path="${PUBLIC_HEADERS_FOLDER_PATH#$CONTENTS_FOLDER_PATH/}"
if [ ! -f "$public_path" ]; then
Expand Down

0 comments on commit 536f201

Please sign in to comment.