diff --git a/.github/workflows/primary.yml b/.github/workflows/primary.yml index e89aaa5..9adf1f0 100644 --- a/.github/workflows/primary.yml +++ b/.github/workflows/primary.yml @@ -33,7 +33,7 @@ jobs: spm: name: Swift Package Manager - runs-on: macOS-13 + runs-on: macOS-14 steps: - uses: actions/checkout@v4 - name: Swift Build @@ -41,7 +41,7 @@ jobs: cocoapods: name: Cocoapods - runs-on: macOS-13 + runs-on: macOS-14 steps: - uses: actions/checkout@v4 - name: Lint Podspec diff --git a/Package.swift b/Package.swift index 43c1b4d..2900e3c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.9 import PackageDescription @@ -9,6 +9,7 @@ let package = Package( .iOS(.v9), .tvOS(.v10), .watchOS(.v3), + .visionOS(.v1) ], products: [ .library( @@ -16,8 +17,6 @@ let package = Package( type: .dynamic, targets: ["PocketSVG"]) ], - dependencies: [ - ], targets: [ .target( name: "PocketSVG", diff --git a/ci/build_demos.sh b/ci/build_demos.sh index 5889cf8..9f37cb0 100644 --- a/ci/build_demos.sh +++ b/ci/build_demos.sh @@ -12,12 +12,10 @@ set -xeo pipefail rm -rf .build/ rm -rf derived_data/ -IOS_DESTINATION="platform=iOS Simulator,name=iPhone 15" - echo "Build iOS demo" xcodebuild \ -workspace Demos/Demos.xcworkspace \ - -destination "$IOS_DESTINATION" \ + -destination "platform=iOS Simulator,name=iPhone 15" \ -scheme Demo-iOS \ -derivedDataPath derived_data \ 'OTHER_LDFLAGS=$(inherited) -lxml2' \ diff --git a/ci/test.sh b/ci/test.sh index 2c8430f..97b9297 100644 --- a/ci/test.sh +++ b/ci/test.sh @@ -13,9 +13,3 @@ xcodebuild \ -destination "platform=iOS Simulator,name=iPhone 15" \ test \ | xcbeautify - -xcodebuild \ - -scheme PocketSVG \ - -destination "platform=iOS Simulator,name=iPhone 15" \ - test \ - | xcbeautify