I'm curious about how to use Xcode Instruments for a React Native iOS app. Could you provide some guidance? #2459
-
I am experiencing issues while profiling an iOS app developed with React Native. I attempted to verify if the memory leak examples purportedly related to React Native would be detected by the Xcode Instruments Leaks template. However, in all cases, no memory leaks were detected. Is there anyone who can provide a practical example of a memory leak in React Native that can be detected using the Xcode Instruments Leaks template? Or is there an additional step required to apply the Instruments tool to React Native code? Currently, I am using React Native 0.74.2 and Xcode 15.2, and my test involved simply running Instruments in Xcode, opening the app with the Leaks template, and conducting the test. Here is the example code: const MemoryLeakExample = () => { MemoryLeak Example ); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, please take a look at official docs on debugging: https://reactnative.dev/docs/next/debugging-native-code. |
Beta Was this translation helpful? Give feedback.
Hey, please take a look at official docs on debugging: https://reactnative.dev/docs/next/debugging-native-code.