I'm building an app with React Native. When I run the app through 'react-native run-ios' everything is fine, but when I try to run it from xcode on my device through Product -> Run, the debug window is completely empty of any log and the app just crashes.
I suspect this has to do something with main.jsbundle, because before having an empty debug window, the build was running and then I got an error message "No bundle URL present" (while still running metro) and I had to delete and regenerate main.jsbundle and then add it as a file to the project in Xcode, this partially solved it but since then, as mentioned, the app crashes and there is absolutely no logs in the debug area (where they used to be).
versions:
Xcode: 13.4.1
RN: 0.68.2
iOS: 15.5