rollbar / rollbar-react-native

Crash and error reporting for React Native using Rollbar
https://docs.rollbar.com/docs/react-native
62 stars 37 forks source link

why is use_frameworks! required for pods? #183

Open robsoden opened 9 months ago

robsoden commented 9 months ago

I'm curious why use_frameworks! is required in our podfile for iOS integration.

Adding this parameter disables Flipper in the latest react-native (which is pretty important) and also breaks several other cocoapods dependencies in our project, to the point where our app does not build if rollbar is installed.

waltjones commented 9 months ago

This is required because of the RollbarCrash dependency in the rollbar-apple SDK. I have just tested a number of variations, including configurations for modular headers, and none would build correctly without also setting use_frameworks!.

I'll follow up with the rollbar-apple SDK maintainer to see if it's possible to solve this there.