I am trying to run a react-native app through terminal. It was working just fine. Then I ran npm start and npm run web. Now when I run npm run ios I get the following error.
Planning build
❌ error: Cycle in dependencies between targets 'DayTrade' and 'ExpoModulesCore'; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
› 1 error(s), and 0 warning(s)
Failed to build iOS project. "xcodebuild" exited with error code 65.
How do I fix this problem?