Unsigned binaries cannot be resigned :(
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): /path/to/file/name /path/to/file/name: the codesign_allocate helper tool cannot be found or used
Recommendation: don't use this utility until someone fixes the __LINKEDIT issue.
See https://github.com/Tyilo/insert_dylib#removing-code-signature for a possible fix
Awesome tip. This code is originally written by a different author and was minimally modified to run on macOS. Things have changed (cctools ports) and it needs some adjustments. On Thu, Jan 19, 2017 at 6:04 AM Asger Hautop Drewsen < [email protected]> wrote:
See https://github.com/Tyilo/insert_dylib#removing-code-signature for a possible fix
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/steakknife/unsign/issues/1#issuecomment-273783661, or mute the thread https://github.com/notifications/unsubscribe-auth/AANsMAraAgpsjBfzScfPZNrSiWv7rsbrks5rT20hgaJpZM4GGQVb .
Reopening as it looks more feasible.