diff --git a/setup.py b/setup.py index 892c6dca7..b61e5c296 100644 --- a/setup.py +++ b/setup.py @@ -357,7 +357,10 @@ class BuildExtension(build_ext.build_ext): for ext in self.extensions: target_name = self.get_ext_fullpath(ext.name) # Build x86 - self._build_binary(ext) + self._build_binary( + ext, + ['--cpu=darwin', '--ios_multi_cpus=i386,x86_64,armv7,arm64'], + ) x86_name = self.get_ext_fullpath(ext.name) # Build Arm64 ext.name = ext.name + '.arm64'