I'm using react native in my ios project. I can see all the logs from react native side in chrome console, and some auto generated logs in xcode.
I recently ran into a problem while using Firebase dynamic links in my app. There is a native module LinkManager
which basically handles all the dynamic links to the app and sends the parsed url or the deeplink to my app.
But this is not working and I understood that the problem is inside the native module that handles it.
But when I try to give NSLogs, no output appears in the xcode console, nor in the simulator console(cmd + /). I'm wondering how can I debug the native code inside xcode.
You need to open your project in xCode and run it in any simulator. Then you can either add breakpoints on the desired line of code or use NSLogs to degug it or if it is crashing at a particular point, you can add a exception breakpoint in project.