What React Native libraries do you use?
Expo (mobile only), Expo Router, Hermes
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
7.8.0 (also reproduced with 7.7.0)
How does your development environment look like?
Xcode: 15.1
Swift: 5
iOS Deployment Target: 15.1
React Native: 0.76.1
Expo SDK: 52
Sentry Cocoa SDK (from Podfile.lock): 8.57.3
Sentry.init()
The user will append this below
Steps to Reproduce
- Create Expo project with @sentry/react-native ^7.8.0
- Run
expo run:ios
- Build fails during Sentry pod compilation
Expected Result
Build completes successfully
Actual Result
Build fails with Swift compilation error:
❌ Sentry/Sources/Swift/Helper/SentrySDK.swift:251:49
249 | @objc(captureUserFeedback:)
250 | public static func capture(userFeedback: UserFeedback) {
251 | SentrySDKInternal.capture(userFeedback: userFeedback)
| ^ 'UserFeedback' is not convertible to 'any Error'
252 | }