stefanosn
stefanosn

Reputation: 3324

Time profiler instruments not showing objective c functions

I am using instruments but i see only 0x00345 etc in time profiler i do not see any objective c code although i am enabling the 'show objective c only' option...any help appreciated!Without the Show objective c only option

With the Show objective c only option

Upvotes: 11

Views: 2797

Answers (1)

Swift Dev Journal
Swift Dev Journal

Reputation: 20088

The most likely cause of your problem is that debug symbols are not being generated for your project. Without debug symbols Instruments just shows memory addresses, like the ones shown in your first screenshot.

There are two ways to fix the problem. First, profile your app with the Debug build configuration. Use the Scheme menu in the project window toolbar to change the build configuration. Second, set the Generate Debug Symbols build setting to Yes for the Release build configuration.

Upvotes: 10

Related Questions