Skip to content

how to build x86_64 and arm64 target on macos in Apple M1 chip #299

Description

@lyron3

My environment is:

  • MacOS 13.5.2
  • python version is 3.11.6
  • fbs pro version is 1.1.9
  • PyInstaller version is 6.1.0
  • PyQt5 version is 5.15.9
NSLocalizedDescription = "Asset validation failed";
NSLocalizedFailureReason = "Invalid bundle. The \xxx.app\U201d bundle supports arm64 but not Intel-based Mac computers. Your build must include the x86_64 architecture to support Intel-based Mac computers. To support arm64 only, your macOS deployment target must be 12.0 or higher. For details, view: https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary";

After fbs freeze , I checked the target/Pyinstaller/xxx.spec "target_arch=None". If work to change target_arch: ["x86_64", "arm64"]? How to do? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions