Closed Amritanand25 closed 2 days ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.73.8. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
Please provide a valid reproducer
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
Closing as no reproducer was provided
Hey Cortinico, I'm trying to run a React Native app on macOS following the documentation. I did everything mentioned, but when I try to run the code, I get an error in Xcode saying there is a cycle in dependencies between targets ‘XYZ’ and ‘XYZ_appTests’. Can you help me understand why this error occurs and how to solve it?
Description
I am setting up a React Native project on my MacBook Pro and have installed the necessary tools: Node.js, Xcode, Ruby, and CocoaPods. I've also configured .xcode.env properly. Despite following various troubleshooting steps, including reinstalling pods, I am encountering a dependency cycle issue in Xcode. This issue appears to be between the project target XYZ and its test target XYZ_appTests.
Here is the specific error message I'm receiving in Xcode:
Steps to reproduce
I understand that this kind of dependency cycle can cause unreliable build results, but I'm unsure how to resolve this. I've tried the following steps without success:
Despite these efforts, the issue persists. How can I fix this dependency cycle between the XYZ and XYZ_appTests targets? Any guidance or suggestions would be greatly appreciated.
Thank you!
React Native Version
0.73.2
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
AmritAnand1
Screenshots and Videos
No response