I’m questioning if there’s any approach to “repair” a signed utility bundle after modifying its contents. Say, I edit Contents/Information.plist
or one other file. Naturally, this invalidates the code signature, however even when I exploit codesign
to take away the signature on the app (both earlier than or after modifying the bundle) or certainly resigning the bundle with my very own certificates, it appears to deprave the applying, and I get some nasty (and apparently random) course of exit error after I run the applying.
Is there any approach to resolve this? Is codesign
corrupting the bundle, or is there one thing else I want to vary/recompute within the bundle after modifying its contents, other than the code signature? I do not thoughts “recreating” your entire bundle even, if that enables the applying to run appropriately, however do not know how to do this.