Skip to content

while updating the sentry version to latest 7.0.0 using sentry wizard in react native version of 0.81.1, not able to install pods properly #5141

@bharatFNP

Description

@bharatFNP

What React Native libraries do you use?

React Native without Frameworks

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

7.0.0

How does your development environment look like?

I am using react native version 0.81.1 and there are no other library I am using because its new project

Sentry.init()

Sentry.init({
dsn: AppConstant.SENTRY_DSN,

replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 0.25,
integrations: [
  Sentry.mobileReplayIntegration(),
],
sampleRate:0.1,
environment:'production',
tracesSampleRate:0.1,
attachScreenshot:true,

});

Steps to Reproduce

just created new react native project
now i am using sentry wizard to install the sentry library
then now I am not able install the pods

Expected Result

I must be able to install the pods

Actual Result

[!] CocoaPods could not find compatible versions for pod "Sentry/HybridSDK":
In Podfile:
RNSentry (from ../node_modules/@sentry/react-native) was resolved to 7.0.0, which depends on
Sentry/HybridSDK (= 8.53.2)

None of your spec sources contain a spec satisfying the dependency: Sentry/HybridSDK (= 8.53.2).

You have either:

  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status

Waiting for: Community

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions