Skip to content

Commit

Permalink
Adds SPM support for Mac Catalyst (#113)
Browse files Browse the repository at this point in the history
Adds support for Mac Catalyst
  • Loading branch information
bplattenburg authored Dec 12, 2024
1 parent 6b8232d commit ef21abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: swift test

macos:
name: macOS, iOS, tvOS (Xcode)
name: macOS, iOS, tvOS, Mac Catalyst (Xcode)
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -30,3 +30,5 @@ jobs:
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest'
- name: Test tvOS
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=tvOS Simulator,name=Any tvOS Simulator Device'
- name: Test Mac Catalyst
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=macOS,variant=Mac Catalyst'
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription

let package = Package(
name: "SwiftCBOR",
platforms: [.macOS(.v10_13), .iOS(.v13), .tvOS(.v13)],
platforms: [.macOS(.v10_13), .iOS(.v13), .tvOS(.v13), .macCatalyst(.v13)],
products: [
.library(name: "SwiftCBOR", targets: ["SwiftCBOR"])
],
Expand Down

0 comments on commit ef21abe

Please sign in to comment.