Skip to content

Commit 6328425

Browse files
authored
feat(Apple): Extra instructions to Upload debug Symbols (#11597)
* Upload debug Symbols extra intrusction * Apply suggestions from code review
1 parent 7bde558 commit 6328425

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

platform-includes/debug-symbols-apple/_default.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ Another option is to use warnings, and then set `GCC_TREAT_WARNINGS_AS_ERRORS` t
9595
<OrgAuthTokenNote />
9696

9797
```bash {tabTitle:Warn on failures - nonblocking}
98+
if [[ "$(uname -m)" == arm64 ]]; then
99+
export PATH="/opt/homebrew/bin:$PATH"
100+
fi
101+
98102
if which sentry-cli >/dev/null; then
99103
export SENTRY_ORG=___ORG_SLUG___
100104
export SENTRY_PROJECT=___PROJECT_SLUG___
@@ -109,6 +113,10 @@ fi
109113
```
110114

111115
```bash {tabTitle:Error on failures - blocking}
116+
if [[ "$(uname -m)" == arm64 ]]; then
117+
export PATH="/opt/homebrew/bin:$PATH"
118+
fi
119+
112120
if which sentry-cli >/dev/null; then
113121
export SENTRY_ORG=___ORG_SLUG___
114122
export SENTRY_PROJECT=___PROJECT_SLUG___

platform-includes/source-context/apple.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ You can upload your sources to Sentry after every build through Xcode. To do thi
4848
<OrgAuthTokenNote />
4949

5050
```bash {tabTitle:Warn on failures - nonblocking}
51+
if [[ "$(uname -m)" == arm64 ]]; then
52+
export PATH="/opt/homebrew/bin:$PATH"
53+
fi
54+
5155
if which sentry-cli >/dev/null; then
5256
export SENTRY_ORG=___ORG_SLUG___
5357
export SENTRY_PROJECT=___PROJECT_SLUG___
@@ -62,6 +66,10 @@ fi
6266
```
6367

6468
```bash {tabTitle:Error on failures - blocking}
69+
if [[ "$(uname -m)" == arm64 ]]; then
70+
export PATH="/opt/homebrew/bin:$PATH"
71+
fi
72+
6573
if which sentry-cli >/dev/null; then
6674
export SENTRY_ORG=___ORG_SLUG___
6775
export SENTRY_PROJECT=___PROJECT_SLUG___

0 commit comments

Comments
 (0)