Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lyron3 opened this issue Nov 14, 2023 · 0 comments
Open

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

lyron3 opened this issue Nov 14, 2023 · 0 comments

Comments

@lyron3
Copy link

lyron3 commented Nov 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant