Skip to content

Commit

Permalink
Darwin: set is_debug=false for Release builds (#29176)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksperling-apple authored and pull[bot] committed May 7, 2024
1 parent d41f492 commit 1979378
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/darwin/Framework/chip_xcode_build_connector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ declare -a args=(
"mac_deployment_target=\"$LLVM_TARGET_TRIPLE_OS_VERSION$LLVM_TARGET_TRIPLE_SUFFIX\""
)

[[ $CONFIGURATION == Debug ]] && args+=('is_debug=true')
case "$CONFIGURATION" in
Debug) args+=('is_debug=true') ;;
Release) args+=('is_debug=false') ;;
esac

[[ $PLATFORM_FAMILY_NAME != macOS ]] && {
args+=(
Expand Down

0 comments on commit 1979378

Please sign in to comment.