Skip to content

Commit

Permalink
support visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
yeatse committed Dec 29, 2023
1 parent 988cafd commit 0c3ca97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:

jobs:
build:
runs-on: macOS-latest
runs-on: macos-13

steps:
- name: Set Xcode version
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer

- name: actions-setup-cmake
uses: jwlawson/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.7
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -9,7 +9,7 @@ let checksum = "ce65a8379a4d7428e2c09a8658110015d8f5ded79c15e3aa3b512f14bc85b7dd
let package = Package(
name: "OpenCV",
platforms: [
.macOS(.v10_13), .iOS(.v11), .macCatalyst(.v13)
.iOS(.v12), .macOS(.v10_13), .macCatalyst(.v13), .visionOS(.v1)
],
products: [
.library(
Expand Down

0 comments on commit 0c3ca97

Please sign in to comment.