We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9b033 commit f29439bCopy full SHA for f29439b
cibuildwheel/architecture.py
@@ -151,12 +151,9 @@ def auto_archs(platform: PlatformName) -> "set[Architecture]":
151
elif platform == "windows" and Architecture.AMD64 in result:
152
result.add(Architecture.x86)
153
154
- elif platform == "ios":
155
- # iOS defaults to building all targets with the same CPU architecture
156
- # as the native simulator architecture
157
- # build actual iOS wheels on arm64
158
- if native_arch == Architecture.arm64_iphonesimulator:
159
- result.add(Architecture.arm64_iphoneos)
+ elif platform == "ios" and native_arch == Architecture.arm64_iphonesimulator:
+ # Also build the device wheel if we're on ARM64.
+ result.add(Architecture.arm64_iphoneos)
160
161
return result
162
0 commit comments