Code Sign

Hi! I found a thread on the Apple forum about Code Sign/cdhashes, and there's a part where say "Also note that you'll get different values for each architecture. The example above was run on Intel, and so you get the Intel architecture's cdhash. To get the Apple silicon one, specify the --arch argument"

In my code, I have a dictionary with the value of cdhashes of myapp in arm64 and I test this value, but I would like to know if there is a way to receive this cdhashes with the two architectures x86_64 and arm64 by the xcode code itself, just in case run on another architecture, keep working

Code Sign
 
 
Q