diff --git a/platform-includes/debug-symbols-apple/_default.mdx b/platform-includes/debug-symbols-apple/_default.mdx index 65d6385a1b660..edb33a5b63bf7 100644 --- a/platform-includes/debug-symbols-apple/_default.mdx +++ b/platform-includes/debug-symbols-apple/_default.mdx @@ -95,6 +95,10 @@ Another option is to use warnings, and then set `GCC_TREAT_WARNINGS_AS_ERRORS` t ```bash {tabTitle:Warn on failures - nonblocking} +if [[ "$(uname -m)" == arm64 ]]; then + export PATH="/opt/homebrew/bin:$PATH" +fi + if which sentry-cli >/dev/null; then export SENTRY_ORG=___ORG_SLUG___ export SENTRY_PROJECT=___PROJECT_SLUG___ @@ -109,6 +113,10 @@ fi ``` ```bash {tabTitle:Error on failures - blocking} +if [[ "$(uname -m)" == arm64 ]]; then + export PATH="/opt/homebrew/bin:$PATH" +fi + if which sentry-cli >/dev/null; then export SENTRY_ORG=___ORG_SLUG___ export SENTRY_PROJECT=___PROJECT_SLUG___ diff --git a/platform-includes/source-context/apple.mdx b/platform-includes/source-context/apple.mdx index c72ea5ad38a7d..c7c1bb40ccd6f 100644 --- a/platform-includes/source-context/apple.mdx +++ b/platform-includes/source-context/apple.mdx @@ -48,6 +48,10 @@ You can upload your sources to Sentry after every build through Xcode. To do thi ```bash {tabTitle:Warn on failures - nonblocking} +if [[ "$(uname -m)" == arm64 ]]; then + export PATH="/opt/homebrew/bin:$PATH" +fi + if which sentry-cli >/dev/null; then export SENTRY_ORG=___ORG_SLUG___ export SENTRY_PROJECT=___PROJECT_SLUG___ @@ -62,6 +66,10 @@ fi ``` ```bash {tabTitle:Error on failures - blocking} +if [[ "$(uname -m)" == arm64 ]]; then + export PATH="/opt/homebrew/bin:$PATH" +fi + if which sentry-cli >/dev/null; then export SENTRY_ORG=___ORG_SLUG___ export SENTRY_PROJECT=___PROJECT_SLUG___