Pre-Yosemite could exclude certain files from codesign earlier by specifying resource rules but starting with Yosemite release (OS X 10.10) --resource-rules are oboleted. Is there still a way to exclude certain files so that signature verification ignores them? I don't want gatekeeper to be throwing warnings:
$spctl -a -t execute my.app
The requirement here is that after codesigning app can be language customized by administrators and this customization gets updated in the resource language folders (.lproj).