Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS build fail: no known class method for selector 'installWithRootView:' #657

Closed
3 of 7 tasks
ericluong opened this issue Sep 9, 2019 · 1 comment
Closed
3 of 7 tasks

Comments

@ericluong
Copy link

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

react-native version: 0.59.10

Init Code:

Sentry.init({
  dsn: 'https://...@sentry.io/...'
});

I have following issue:

SDK integration is not working with iOS.

Steps to reproduce:

$ npm install @sentry/react-native --save
$ react-native link @sentry/react-native
$ cd ios && pod install

I also had to launch the following command:

$ pod repo update

Actual result:
When building the project, i get this error:
AppDelegate.m:33:13: no known class method for selector 'installWithRootView:'

Expected result:
There should be no error on build

Thank you!

@HazAT
Copy link
Member

HazAT commented Sep 16, 2019

Did you migrate from an older version of the SDK?
Please remove all references of sentry in AppDeletegate, see

Upgrading from react-native-sentry
#612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants