Skip to content

Commit ef21abe

Browse files
authored
Adds SPM support for Mac Catalyst (#113)
Adds support for Mac Catalyst
1 parent 6b8232d commit ef21abe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: swift test
2121

2222
macos:
23-
name: macOS, iOS, tvOS (Xcode)
23+
name: macOS, iOS, tvOS, Mac Catalyst (Xcode)
2424
runs-on: macos-latest
2525
steps:
2626
- uses: actions/checkout@v1
@@ -30,3 +30,5 @@ jobs:
3030
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest'
3131
- name: Test tvOS
3232
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=tvOS Simulator,name=Any tvOS Simulator Device'
33+
- name: Test Mac Catalyst
34+
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=macOS,variant=Mac Catalyst'

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44

55
let package = Package(
66
name: "SwiftCBOR",
7-
platforms: [.macOS(.v10_13), .iOS(.v13), .tvOS(.v13)],
7+
platforms: [.macOS(.v10_13), .iOS(.v13), .tvOS(.v13), .macCatalyst(.v13)],
88
products: [
99
.library(name: "SwiftCBOR", targets: ["SwiftCBOR"])
1010
],

0 commit comments

Comments
 (0)