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 fails with: cannot be found in forward class object 'SentryCurrentDateProvider' #3908

Open
5 of 11 tasks
Mitch528 opened this issue Jun 20, 2024 · 3 comments
Open
5 of 11 tasks

Comments

@Mitch528
Copy link

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

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

SDK version: 5.24.1

react-native version: 0.74.2

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

I have the following issue:

Build fails with:

SentryProfilerState.mm

Property 'date' cannot be found in forward class object 'SentryCurrentDateProvider'

This is also on Xcode 16.0 Beta, so I'm not sure if it's related or not to #3883

Actual result:

Build fails

Expected result:

Build does not fail.

@krystofwoldrich
Copy link
Member

Hi @Mitch528,
thank you for the report, we'll check it.

Are your pods up to date, are you using the 'Sentry/HybridSDK', '8.29.1'? Just want to confirm this since workaround for #3883 was changing manually the Sentry pod version.

@Mitch528
Copy link
Author

Hi @krystofwoldrich yeah, pods are up-to-date. I've tried regenerating my Podfile.lock without luck as well.

I didn't explicitly include the pod in my Podfile but it does seem like it's included in the lockfile:

  - RNSentry (5.24.1):
    - hermes-engine
    - React-Core
    - React-hermes
    - Sentry/HybridSDK (= 8.29.1)
...
  - Sentry/HybridSDK (8.29.1)

@krystofwoldrich
Copy link
Member

@Mitch528 Thanks for the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Needs Investigation
Development

No branches or pull requests

2 participants