Skip to content

Commit b9e7a48

Browse files
committed
chore: Move from using Hybrid SDK subspec to regular Sentry podspec
1 parent a7b5f8f commit b9e7a48

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ cd sentry-react-native
136136
Comment out sentry dependency in `RNSentry.podspec`.
137137

138138
```diff
139-
- s.dependency 'Sentry/HybridSDK', '7.31.0'
140-
+ s.dependency 'Sentry/HybridSDK'
139+
- s.dependency 'Sentry', '7.31.0'
140+
+ s.dependency 'Sentry'
141141
```
142142

143143
Add local pods to `sample/ios/Podfile`.
@@ -147,7 +147,7 @@ target 'sample' do
147147

148148
# ... react native config
149149

150-
pod 'Sentry/HybridSDK', :path => '../../../../sentry-cocoa'
150+
pod 'Sentry', :path => '../../../../sentry-cocoa'
151151
# ... rest of the configuration
152152

153153
end

packages/core/RNSentry.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Pod::Spec.new do |s|
4646

4747
s.compiler_flags = other_cflags
4848

49-
s.dependency 'Sentry/HybridSDK', '>= 9.0.0-alpha.0'
49+
s.dependency 'Sentry', '>= 9.0.0-alpha.0'
5050

5151
if defined? install_modules_dependencies
5252
# Default React Native dependencies for 0.71 and above (new and legacy architecture)

scripts/update-cocoa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
file="$(dirname "$0")/../packages/core/RNSentry.podspec"
55
content=$(cat $file)
6-
regex="('Sentry/HybridSDK', *)'([0-9\.]+)'"
6+
regex="('Sentry', *)'([0-9\.]+)'"
77
if ! [[ $content =~ $regex ]]; then
88
echo "Failed to find the plugin version in $file"
99
exit 1

0 commit comments

Comments
 (0)