Instruments Time Profiler macCatalyst app / assembler?

Even though I have shut off optimization, when I try to profile a Mac Catalyst app (running on Mac) with Instruments, instead

of seeing my ObjC source code in the Instruments output, I see assembler listings, even though

I have optimization Off for the project and .m file. Any hints to show source-level profiling?

Xcode 11.3

Replies

If Instruments is showing memory addresses instead of function names in the call tree view, it usually means Instruments can't find the dSYM file that contains the debugging symbols that are needed to show function names in Instruments. Choose File > Symbols in Instruments and you should see a button to locate the dSYM file. You can get more detailed information in the Troubleshooting section at the end of the article at the following URL:


swiftdevjournal.com/measuring-your-apps-memory-usage-with-instruments/