Skip to content

Commit 6b8232d

Browse files
Adds tvOS support (#112)
* Adds tvOS support --------- Co-authored-by: Brian Plattenburg <[email protected]>
1 parent 04ccff1 commit 6b8232d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/test.yml

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

2222
macos:
23-
name: macOS & iOS (Xcode)
23+
name: macOS, iOS, tvOS (Xcode)
2424
runs-on: macos-latest
2525
steps:
2626
- uses: actions/checkout@v1
2727
- name: Test macOS
2828
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=OS X,arch=x86_64'
2929
- name: Test iOS
3030
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest'
31+
- name: Test tvOS
32+
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=tvOS Simulator,name=Any tvOS Simulator Device'

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)],
7+
platforms: [.macOS(.v10_13), .iOS(.v13), .tvOS(.v13)],
88
products: [
99
.library(name: "SwiftCBOR", targets: ["SwiftCBOR"])
1010
],

SwiftCBOR.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Pod::Spec.new do |s|
1313

1414
s.ios.deployment_target = '13.0'
1515
s.osx.deployment_target = '10.13'
16+
s.tvos.deployment_target = '13.0'
1617

1718
s.source_files = 'Sources/**/*.{swift,h}'
1819

0 commit comments

Comments
 (0)