diff --git a/examples/tv-casting-app/darwin/MatterTvCastingBridge/chip_xcode_build_connector.sh b/examples/tv-casting-app/darwin/MatterTvCastingBridge/chip_xcode_build_connector.sh index 3d0f82ed0d2e39..ed8d6af434f89e 100755 --- a/examples/tv-casting-app/darwin/MatterTvCastingBridge/chip_xcode_build_connector.sh +++ b/examples/tv-casting-app/darwin/MatterTvCastingBridge/chip_xcode_build_connector.sh @@ -91,6 +91,8 @@ done target_cflags+=',"-flto"' } +target_cflags+=',"-fno-c++-static-destructors"' + declare -a args=( 'default_configs_cosmetic=[]' # suppress colorization 'chip_crypto="mbedtls"'