Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the --deep flag do? [duplicate]

I'm using the --deep flag on a cocoa project that uses 3rd party frameworks. The aggregated content needs to be signed and this flag does the trick when added on "Other Code Signing Flags" in build settings.

I'm unable to find documentation on what the flag actually does. Can someone tell me or point me in the right direction ?

like image 619
the Reverend Avatar asked Oct 04 '22 14:10

the Reverend


1 Answers

When Xcode 5 shipped, it installed a new version of codesign(1) in /usr/bin, one that includes --deep as a compiler option. --deep allows all bundles that are compiled and linked after the flag is passed to recursively be code signed with the options sent to codesign. It is important to note that --deep must be placed strategically, as applying the same flags to every bundle won't work in some cases, and once --deep is passed, all subsequent options are used recursively.

As it is a code signing tool, move the --deep flag to Other Code Signing Flags in order for it to work properly (as a compilation flag, I assume it is ignored, as it is undocumented)

enter image description here

like image 67
CodaFi Avatar answered Oct 12 '22 11:10

CodaFi