auriamg / macdylibbundler

Utility to ease bundling libraries into executables for OSX
MIT License
546 stars 83 forks source link

Need ad-hoc signing for moved libraries since perhpas macOS 12.1 Monterey #70

Closed klaus-halfmann closed 2 years ago

klaus-halfmann commented 2 years ago

I was investigating how to build widelands for Apple Silicon. I found your tool and it worked quite fine but the App crashed with EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) I checked and found that codesign --sign - --force * in .app/Contents/libs actually fixes the issue.

I think you want to incorporate this your tool to fix this issue, before more people get a headache.

SaintAnthelme commented 2 years ago

I found this problem too, is that becoming an issue since the Apple transition to ARM architecture? I saw the cmake project's members are dealing with this issue too.