![]() a relocatable Python installation is to turn the current framework inside out: have a "Python.app" or "Python 3.10.app" that contains the framework and presents a GUI when double clicked (probably IDLE with some additional menu items). This was mentioned in the Xcode 12 release notes.īTW. $ codesign -s -preserve-metadata=identifier,entitlements,flags,runtime -f. Note that resigning for arm64 is possible using the following command: There's also macholib (which is used by py2app for rewriting mach-o headers). Ideally the official macOS framework would be built as relocatable, eliminating the need to modify it and re-sign it to use it anywhere other than /Library/Frameworks/amework.Īuthor: Ronald Oussoren (ronaldoussoren) * With Apple Silicon, all executable code and libraries must be code signed, so the effort of relocating the Python framework becomes that more difficult. ![]() ![]() ![]() The current amework installed by the macOS packages is hard-coded to /Library/Frameworks/amework and breaks if renamed or moved.Ī relocatable framework would allow users/admins/developers to install a specific framework to an alternate location, or include it inside an application bundle, or access it from a mounted disk image.Ĭurrently it is possible to use `otool` and `install_name_tool` to convert the current framework into one that can be relocated, but doing so breaks any code signing. Erlendaasland, gregneagle, macmule, ned.deily, njs, ronaldoussoren, shakfu, tomgoddardĬreated on 18:28 by gregneagle, last changed 14:59 by admin.
0 Comments
Leave a Reply. |