macos – How do I repair an utility bundle after modifying its contents?

on

|

views

and

comments


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.

Share this
Tags

Must-read

Nvidia CEO reveals new ‘reasoning’ AI tech for self-driving vehicles | Nvidia

The billionaire boss of the chipmaker Nvidia, Jensen Huang, has unveiled new AI know-how that he says will assist self-driving vehicles assume like...

Tesla publishes analyst forecasts suggesting gross sales set to fall | Tesla

Tesla has taken the weird step of publishing gross sales forecasts that recommend 2025 deliveries might be decrease than anticipated and future years’...

5 tech tendencies we’ll be watching in 2026 | Expertise

Hi there, and welcome to TechScape. I’m your host, Blake Montgomery, wishing you a cheerful New Yr’s Eve full of cheer, champagne and...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here