File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ if [[ -n "${BAZEL_OUTPUTS_DSYM:-}" ]]; then
6363 $( xargs -n1 <<< " $BAZEL_OUTPUTS_DSYM" ) \
6464 " $TARGET_BUILD_DIR "
6565
66+ # Works around an rsync issue causing "Permission denied" errors
67+ chmod +w " $TARGET_BUILD_DIR "
68+
6669 cd " ${TARGET_BUILD_DIR} "
6770
6871 export -f patch_dsym
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ if [[ "$ACTION" != indexbuild ]]; then
4343 " $BAZEL_OUTPUTS_PRODUCT_BASENAME " \
4444 " $TARGET_BUILD_DIR "
4545
46+ # Works around an rsync issue causing "Permission denied" errors
47+ chmod +w " $TARGET_BUILD_DIR "
48+
4649 if [[ -n " ${TEST_HOST:- } " ]]; then
4750 # We need to re-sign test frameworks that Xcode placed into the test
4851 # host un-signed
Original file line number Diff line number Diff line change @@ -82,6 +82,9 @@ rsync \
8282 --delete \
8383 " $src_xcschemes " " $dest_xcschemes /"
8484
85+ # Works around an rsync issue causing "Permission denied" errors
86+ chmod +w " $dest_xcschemes /"
87+
8588if [[ $( uname) == " Darwin" ]]; then
8689 is_macos=1
8790else
Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ rsync \
148148 --delete \
149149 " $src /" " $dest /"
150150
151+ # Works around an rsync issue causing "Permission denied" errors
152+ chmod +w " $dest /"
153+
151154# Copy over the bazel integration files
152155mkdir -p " $dest /rules_xcodeproj/bazel"
153156rm -rf " $dest /rules_xcodeproj/bazel" /*
You can’t perform that action at this time.
0 commit comments