You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: sign Mach-O files in isolated temp dir to bypass bundle detection
codesign detects bundles by examining parent directory structure
(Versions/, Resources/, Info.plist) via CFBundle internals — not just
the directory name or extension. Renaming .framework dirs doesn't help.
New approach: copy each Mach-O to an isolated temp dir before signing,
then copy back. The code signature is embedded in the Mach-O binary's
LC_CODE_SIGNATURE load command and is path-independent, so it survives
the copy back to the original location.
Also adds otool -L debug output to determine if Python.framework is
actually needed at runtime.
0 commit comments