Skip to content

Commit

Permalink
Merge pull request #175 from Rubenfer/feature/visionos-support
Browse files Browse the repository at this point in the history
Add visionOS support
  • Loading branch information
raphkoebraam authored May 21, 2024
2 parents 9e445a7 + 175fb0e commit bf1caed
Show file tree
Hide file tree
Showing 5 changed files with 124 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// swift-tools-version:5.5
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(name: "Diagnostics",
platforms: [
.macOS(.v10_15),
.iOS(.v11),
.iOS(.v12),
.tvOS(.v12),
.watchOS(.v6)],
.watchOS(.v6),
.visionOS(.v1)],
products: [
.library(name: "Diagnostics", targets: ["Diagnostics"])
],
Expand Down
30 changes: 30 additions & 0 deletions Package@swift-5.5.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(name: "Diagnostics",
platforms: [
.macOS(.v10_15),
.iOS(.v11),
.tvOS(.v12),
.watchOS(.v6)],
products: [
.library(name: "Diagnostics", targets: ["Diagnostics"])
],
dependencies: [
.package(url: "https://github.com/sindresorhus/ExceptionCatcher", from: "2.0.0")
],
targets: [
.target(
name: "Diagnostics",
dependencies: ["ExceptionCatcher"],
path: "Sources",
resources: [
.process("style.css"),
.process("functions.js"),
.process("PrivacyInfo.xcprivacy")
]),
.testTarget(name: "DiagnosticsTests", dependencies: ["Diagnostics"], path: "DiagnosticsTests")
],
swiftLanguageVersions: [.v5])
30 changes: 30 additions & 0 deletions Package@swift-5.6.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// swift-tools-version:5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(name: "Diagnostics",
platforms: [
.macOS(.v10_15),
.iOS(.v11),
.tvOS(.v12),
.watchOS(.v6)],
products: [
.library(name: "Diagnostics", targets: ["Diagnostics"])
],
dependencies: [
.package(url: "https://github.com/sindresorhus/ExceptionCatcher", from: "2.0.0")
],
targets: [
.target(
name: "Diagnostics",
dependencies: ["ExceptionCatcher"],
path: "Sources",
resources: [
.process("style.css"),
.process("functions.js"),
.process("PrivacyInfo.xcprivacy")
]),
.testTarget(name: "DiagnosticsTests", dependencies: ["Diagnostics"], path: "DiagnosticsTests")
],
swiftLanguageVersions: [.v5])
30 changes: 30 additions & 0 deletions Package@swift-5.7.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(name: "Diagnostics",
platforms: [
.macOS(.v10_15),
.iOS(.v11),
.tvOS(.v12),
.watchOS(.v6)],
products: [
.library(name: "Diagnostics", targets: ["Diagnostics"])
],
dependencies: [
.package(url: "https://github.com/sindresorhus/ExceptionCatcher", from: "2.0.0")
],
targets: [
.target(
name: "Diagnostics",
dependencies: ["ExceptionCatcher"],
path: "Sources",
resources: [
.process("style.css"),
.process("functions.js"),
.process("PrivacyInfo.xcprivacy")
]),
.testTarget(name: "DiagnosticsTests", dependencies: ["Diagnostics"], path: "DiagnosticsTests")
],
swiftLanguageVersions: [.v5])
30 changes: 30 additions & 0 deletions Package@swift-5.8.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// swift-tools-version:5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(name: "Diagnostics",
platforms: [
.macOS(.v10_15),
.iOS(.v11),
.tvOS(.v12),
.watchOS(.v6)],
products: [
.library(name: "Diagnostics", targets: ["Diagnostics"])
],
dependencies: [
.package(url: "https://github.com/sindresorhus/ExceptionCatcher", from: "2.0.0")
],
targets: [
.target(
name: "Diagnostics",
dependencies: ["ExceptionCatcher"],
path: "Sources",
resources: [
.process("style.css"),
.process("functions.js"),
.process("PrivacyInfo.xcprivacy")
]),
.testTarget(name: "DiagnosticsTests", dependencies: ["Diagnostics"], path: "DiagnosticsTests")
],
swiftLanguageVersions: [.v5])

0 comments on commit bf1caed

Please sign in to comment.