Skip to content

Commit 1471651

Browse files
authored
Add arm64 slice for Catalyst builds. (#7044)
Note: this requires Xcode 12.2 to build. Thankfully, if run an older system it will just ignore the arm64 flag and build it normally.
1 parent eb21690 commit 1471651

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ enum TargetPlatform: CaseIterable {
3232
case .iOSDevice: return [.armv7, .arm64]
3333
// Include arm64 slices in the simulator for Apple silicon Macs.
3434
case .iOSSimulator: return [.i386, .x86_64, .arm64]
35-
// TODO: Evaluate arm64 slice for Catalyst Apple silicon Macs, and x86_64h. Previous builds were
36-
// limited to x86_64.
37-
case .catalyst: return [.x86_64]
35+
// TODO: Evaluate x86_64h slice. Previous builds were limited to x86_64.
36+
case .catalyst: return [.x86_64, .arm64]
3837
}
3938
}
4039

0 commit comments

Comments
 (0)