Skip to content

Commit 6cba1f1

Browse files
authored
fix(visionos): Prevent pod install crash when visionos is not present (#3548)
1 parent aa64607 commit 6cba1f1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Prevent pod install crash when visionos is not present ([#3548](https://github.com/getsentry/sentry-react-native/pull/3548))
8+
39
## 5.17.0
410

511
### Features

RNSentry.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
s.ios.deployment_target = "11.0"
2929
s.osx.deployment_target = "10.13"
3030
s.tvos.deployment_target = "11.0"
31-
s.visionos.deployment_target = "1.0"
31+
s.visionos.deployment_target = "1.0" if s.respond_to?(:visionos)
3232

3333
s.preserve_paths = '*.js'
3434

0 commit comments

Comments
 (0)