File tree 4 files changed +12
-0
lines changed
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
63
63
$( xargs -n1 <<< " $BAZEL_OUTPUTS_DSYM" ) \
64
64
" $TARGET_BUILD_DIR "
65
65
66
+ # Works around an rsync issue causing "Permission denied" errors
67
+ chmod +w " $TARGET_BUILD_DIR "
68
+
66
69
cd " ${TARGET_BUILD_DIR} "
67
70
68
71
export -f patch_dsym
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ if [[ "$ACTION" != indexbuild ]]; then
43
43
" $BAZEL_OUTPUTS_PRODUCT_BASENAME " \
44
44
" $TARGET_BUILD_DIR "
45
45
46
+ # Works around an rsync issue causing "Permission denied" errors
47
+ chmod +w " $TARGET_BUILD_DIR "
48
+
46
49
if [[ -n " ${TEST_HOST:- } " ]]; then
47
50
# We need to re-sign test frameworks that Xcode placed into the test
48
51
# host un-signed
Original file line number Diff line number Diff line change @@ -82,6 +82,9 @@ rsync \
82
82
--delete \
83
83
" $src_xcschemes " " $dest_xcschemes /"
84
84
85
+ # Works around an rsync issue causing "Permission denied" errors
86
+ chmod +w " $dest_xcschemes /"
87
+
85
88
if [[ $( uname) == " Darwin" ]]; then
86
89
is_macos=1
87
90
else
Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ rsync \
148
148
--delete \
149
149
" $src /" " $dest /"
150
150
151
+ # Works around an rsync issue causing "Permission denied" errors
152
+ chmod +w " $dest /"
153
+
151
154
# Copy over the bazel integration files
152
155
mkdir -p " $dest /rules_xcodeproj/bazel"
153
156
rm -rf " $dest /rules_xcodeproj/bazel" /*
You can’t perform that action at this time.
0 commit comments