Can you comment further on the seeming conflict between what TN2206 says about using
--deep
and this suggestion?
Sure.
--deep
is a shortcut. It tells
codesign
to search for nested code and sign that exactly like the top-level code is signed. Sometimes that shortcut works just fine, but in some cases it fails. And some of those failures are horrible (like misidentifying nested code) and others are not a big deal (like applying entitlements to nested shared libraries; entitlements only make sense on executables and thus applying them to non-executable code is pointless and misleading, although not actively harmful).
Personally, I might use
--deep
for a quick hack but, if I’m setting up signing for a real product, I avoid it.
The issue I'm getting at is that adding
--deep
fixes … the same issue with
Script Debugger.plist
files, which have also historically been saved in
Contents/
.
I’d have to look at that specific issue in more depth before I can offer definitive advice.
And I see that
codesign
actually returned this error:
I don’t see an error there at all?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"