

įor the -arch option argument supported architectures are x86_64 or arm64, in order to thin an app to an just Intel or Arm platform specific app only here! If you apply execution rights to the thinapp.py Python 3 script, via " chmod +x thinapp.py" in Terminal.app, then you can also execute the script via it's filename directly just by calling it, aka thinapp.pyor thinapp.py -h. The architecture to thin to default: python's machine architecture arch ARCHITECTURE, -architecture ARCHITECTURE Where the copy of the app is stored defaults to working directory h, -help show this help message and exit If all of the above prerequisites are met, you can execute the thinapp.py Python 3 script in Terminal.app like this to get a short help overview. Library/Frameworks/amework/Versions/3.10/bin/python3 In order to check for the needed prerequisites, you can perform a corresponding which command execution in Terminal.app: an alternative GO based lipo from Ī working file command is available and can be find under /usr/bin/file MacOS lipo from the Xcode development CLI tools is installed and can be find under /usr/bin/lipo.Python 3 is installed on your MacOS system.Important prerequisitesin order to make use of the thinapp.py Python script: The following thinapp.py Python 3 script can be used on macOS systems to thin the multi-architecture Affinity apps (the FAT binaries, containing "x86_64" and "arm64" architectures ) to the one only specific architecture just required by the particular Mac platform ("x86_64" or "arm64").
