We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 075e220 commit 49a62bfCopy full SHA for 49a62bf
xcodeproj/internal/bazel_integration_files/copy_outputs.sh
@@ -21,6 +21,12 @@ readonly test_frameworks=(
21
)
22
23
if [[ "$ACTION" != indexbuild ]]; then
24
+ # Symlink .o files from BAZEL_PACKAGE_BIN_DIR to OBJECT_FILE_DIR_normal/arm64
25
+ find "$BAZEL_PACKAGE_BIN_DIR" -name '*.o' -exec sh -c '
26
+ ln -sfh "$PWD/$1" "$OBJECT_FILE_DIR_normal/arm64/$(basename "$1" | sed "s/\.swift//")"
27
+ ' _ {} \;
28
+
29
30
# Copy product
31
if [[ -n ${BAZEL_OUTPUTS_PRODUCT:-} ]]; then
32
cd "${BAZEL_OUTPUTS_PRODUCT%/*}"
0 commit comments