diff --git a/src/darwin/Framework/chip_xcode_build_connector.sh b/src/darwin/Framework/chip_xcode_build_connector.sh index b80d61a14b3363..0357064c6c626c 100755 --- a/src/darwin/Framework/chip_xcode_build_connector.sh +++ b/src/darwin/Framework/chip_xcode_build_connector.sh @@ -69,8 +69,8 @@ for arch in "${archs[@]}"; do if [ -z "$target_arch"] ]; then target_arch="$arch" case "$arch" in - x86_64) target_cpu="x64";; - *) target_cpu="$arch";; + x86_64) target_cpu="x64" ;; + *) target_cpu="$arch" ;; esac fi if [ -n "$target_cflags" ]; then