Post

dSYM(Symbols) issue with Instruments tool

Background

When you run profile on Xcode, the configuration have default values. e.g: Build Configuration( by Profile) : Release, everything will on the right, symbols will show on Instruments tool.

Xcode

What’s happened

Sometime you want change the Build Configuration( by Profile) : Debug, the symbols is not support.

Stack Track is memory address

Instruments

Error: Permission to profile this process was denied. Applications you wish to profile must be signed with a developer code

Instruments

How to fix

Why the release configuration is success?

Have two case is different setting with Release in Debug on Xcode configurations.

generate symbol file

generate symbol file of target, by default is on release.

Xcode

So let’s change the Debug value: DWARF to DWARF with dSYM File.

BTW: DWARF with dSYM File spend you build time.

Xcode

when you debug was finished, you need change change value to DWARF.

Code sign

The issus like this case.

Instruments

What’s going on here?

It’s code sign requirement by Identify for Instruments env.

Let’s change Code Signing Identity value to iOS Developer or Apple Developer.

Xcode

Happy Debug

Now everything is ready, check it.

Instruments

This post is licensed under CC BY 4.0 by the author.