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

Cannot compile with "use_frameworks" #1176

Closed
6 tasks
hanayashiki opened this issue Nov 7, 2020 · 2 comments
Closed
6 tasks

Cannot compile with "use_frameworks" #1176

hanayashiki opened this issue Nov 7, 2020 · 2 comments

Comments

@hanayashiki
Copy link

OS:

  • Windows
  • [x ] MacOS
  • Linux

Platform:

  • [x ] iOS
  • Android

SDK:

  • [x ] @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 0.0.0

react-native version: 0.0.0

Are you using Expo?

  • Yes
  • [ x] No

Are you using sentry.io or on-premise?

  • [x ] sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

Sentry.init({
  dsn: 'https://[email protected]/...'
});

I have following issue:

[Description]

Steps to reproduce:

  • Step 1
    Podfile with use_frameworks!
  • Step 2
    Install @sentry/react-native as documented

Actual result:

When compiling RNSentry.m

'Sentry/SentryFileManager.h' file not found

(Workaround: remove this line and it works)

Expected result:

Successfully compiles.

I think it is probably due to that Sentry/SentryFileManager.h is not included in the framework. But in fact it is not needed.

@sandy2008
Copy link

Really need help on this

@jennmueng
Copy link
Member

Closing this as it is a duplicate of #1171. We'll look to fix this soon for now you can use the workaround mentioned in the other issue as you SHOULD NOT remove the line that imports Sentry/SentryFileManager.h otherwise uncaught errors in production will not be detected by Sentry.

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

3 participants