diff --git a/scripts/build-for-testing.sh b/scripts/build-for-testing.sh index 4b96e54e9..94ba507ea 100755 --- a/scripts/build-for-testing.sh +++ b/scripts/build-for-testing.sh @@ -75,6 +75,9 @@ flags+=( CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO + # Prevents unsigned `__preview.dylib` from being created and causing signing issues. + # See https://developer.apple.com/documentation/xcode/understanding-build-product-layout-changes + ENABLE_DEBUG_DYLIB=NO build-for-testing )