bugsnag / bugsnag-react-native

Error monitoring and reporting tool for native exceptions and JS errors in React Native apps
https://docs.bugsnag.com/platforms/react-native
MIT License
369 stars 121 forks source link

Cycle in dependencies between targets 'BugsnagReactNative' and 'FBSDKCoreKit'; #470

Closed CoSNaYe closed 4 years ago

CoSNaYe commented 4 years ago

Description

While running react-native run-ios, it pops the error:

error: Cycle in dependencies between targets 'BugsnagReactNative' and 'FBSDKCoreKit'; building could produce unreliable results

And this error even stops Xcode from building. image

Environment

Library versions:

├─ bugsnag-react-native@2.23.10
└─ react-native@0.62.2
The integration guide seems doesn't mention `[BugsnagReactNative start]` ?
mattdyoung commented 4 years ago

Hi @CoSNaYe

I'm not able to reproduce this. I've tried a clean React Native 0.62.2 project and installed bugsnag-react-native and react-native-fbsdk:

$ npx react-native init MyProject --version 0.62.2
$ cd MyProject
$ npm install bugsnag-react-native --save
$ npm install react-native-fbsdk --save
$ cd ios/ & pod install

And followed the integration instructions and run up the app without issue: https://docs.bugsnag.com/platforms/react-native/react-native/ https://docs.bugsnag.com/platforms/react-native/react-native/enhanced-native-integration

$ npx react-native run-ios

Does the issue persist if you perform a clean build?

Are you able to share a reproduction example project?

abigailbramble commented 4 years ago

Hi @CoSNaYe - closing this for now as we have not heard back. Feel free to comment below or reach out to support@bugsnag.com and we can reopen this issue.