iOS Build Environment Help Center

creating dSYM in CLI

append delete MaroLFC

Windows:10
Builder:3.59
iOS: 16.2

I wondered if there is any way to create dSYM from the CLI like the checkbox in the builder UI. I couldn't find a way to do so by reading the build.cmd or by debugging the builder.

Thanks in advance

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

Look for "dsymutil" in build.cmd

Have a nice day

append delete #2. MaroLFC

I did find some mentions of it in the code (5 to be exact) of build.cmd but I still don't know how to use it.

append delete #3. Pierre-Marie Baty

dsymutil is part of LLVM. Have you read the tool’s manual page ?

https://llvm.org/docs/CommandGuide/dsymutil.html

append delete #4. MaroLFC

So what I should do is pass -dsymutil to IOS_CFLAGS_UnityFramework and it will build the dSYM symbols?

I'm kinda new to this so sorry if the questions seem primitive

append delete #5. Pierre-Marie Baty

Oh sorry, I thought you were asking on how to invoke the tool by yourself. What you want is to have build.cmd invoke it when it’s called from the command line.

Okay so no. But adding -g to the compiler flags will.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty