When I checked my Python Interpreter, it support both architectures.
```
file $(which python3)
path_to_my_app/.venv/bin/python3: Mach-O universal binary with 2 
architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 
64-bit executable arm64]
path_to_my_app/.venv/bin/python3 (for architecture x86_64):  Mach-O 64-bit 
executable x86_64
path_to_my_app/.venv/bin/python3 (for architecture arm64):   Mach-O 64-bit 
executable arm64
```
When I set target_arch="universal2" , it still fails. Was it related with 
PyInstaller Bootloader?


On Saturday, July 19, 2025 at 5:45:37 PM UTC-4 bwoodsend wrote:

> The spec file equivalent of --target-arch is a target_arch="universal2" 
> parameter to the EXE() block. See docs 
> <https://pyinstaller.org/en/stable/feature-notes.html#macos-multi-arch-support>
> .
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/pyinstaller/7e4aa59e-bfa4-427c-b646-79294cfa3f33n%40googlegroups.com.

Reply via email to