Skip to content

Commit 31d25aa

Browse files
author
Karim Alweheshy
committed
Revert "Symlink all .o files in derived data"
This reverts commit 98f279c.
1 parent 7089d00 commit 31d25aa

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

xcodeproj/internal/bazel_integration_files/copy_outputs.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,6 @@ if [[ "$ACTION" != indexbuild ]]; then
7777
find "$plugins_dir" -depth 2 -name "Info.plist" -exec touch {} \;
7878
fi
7979

80-
if [[ "${ENABLE_PREVIEWS:-}" == "YES" ]]; then
81-
# Symlink .o files from BAZEL_PACKAGE_BIN_DIR to OBJECT_FILE_DIR_normal/arm64
82-
find "$BAZEL_PACKAGE_BIN_DIR" -name '*.o' -exec sh -c '
83-
TARGET_FILE="$OBJECT_FILE_DIR_normal/arm64/$(basename "$1" | sed "s/\.swift//")"
84-
ln -shfF "$PWD/$1" $TARGET_FILE
85-
chmod 755 $TARGET_FILE
86-
' _ {} \;
87-
fi
88-
8980
# Xcode Previews has a hard time finding frameworks (`@rpath`) when using
9081
# framework schemes, so let's symlink them into
9182
# `$TARGET_BUILD_DIR` (since we modify `@rpath` to always include

0 commit comments

Comments
 (0)