diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 3e935af..1133f45 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -10,7 +10,7 @@ on: jobs: sonarcloud: name: Unit-Tests - runs-on: macos-latest + runs-on: macos-14 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index e11b4ab..c2111ca 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -16,7 +16,7 @@ on: jobs: build-and-release: if: github.ref == 'refs/heads/main' - runs-on: macos-latest + runs-on: macos-14 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release_and_publish.yml b/.github/workflows/release_and_publish.yml index b49aace..1dbe343 100644 --- a/.github/workflows/release_and_publish.yml +++ b/.github/workflows/release_and_publish.yml @@ -9,7 +9,7 @@ on: jobs: post-merge: if: contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.merged == true - runs-on: macos-latest + runs-on: macos-14 steps: - name: Checkout Repository diff --git a/CHANGELOG.md b/CHANGELOG.md index 978cec2..9b80d56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixes + +- Add Package.swift file for out-of-the-box SPM compatibility + +## 1.0.1 + +### Fixes + +- Check if location service is already monitoring location when single location is requested + ## 1.0.0 ### Features diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..71f870c --- /dev/null +++ b/Package.swift @@ -0,0 +1,24 @@ +// swift-tools-version: 5.9 +import PackageDescription + +let package = Package( + name: "IONGeolocationLib", + platforms: [.iOS(.v14)], + products: [ + .library( + name: "IONGeolocationLib", + targets: ["IONGeolocationLib"] + ) + ], + targets: [ + .target( + name: "IONGeolocationLib", + path: "IONGeolocationLib" + ), + .testTarget( + name: "IONGeolocationLibTests", + dependencies: ["IONGeolocationLib"], + path: "IONGeolocationLibTests" + ) + ] +) \ No newline at end of file