From a8e3480d8c07688668e2a57a74612d093c92746e Mon Sep 17 00:00:00 2001 From: OS-pedrogustavobilro Date: Wed, 10 Sep 2025 10:55:15 +0100 Subject: [PATCH 1/5] fix(ios): Add Package.swift for out-of-the-box SPM compatibility --- Package.swift | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Package.swift 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 From 4a95cdc08a401777623a767addf4a0669d7f03c5 Mon Sep 17 00:00:00 2001 From: OS-pedrogustavobilro Date: Wed, 10 Sep 2025 10:56:55 +0100 Subject: [PATCH 2/5] chore: Update changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 From 704c267fea52e402fa8e4c9b3d9fc6154a375ebe Mon Sep 17 00:00:00 2001 From: OS-pedrogustavobilro Date: Wed, 10 Sep 2025 11:24:40 +0100 Subject: [PATCH 3/5] chore(ci): Use macos-14 Because macos-15 / latest does not come with Xcode versions installed. We need to fix this, but it will be done in a separate task / PR References: https://github.com/actions/runner-images/issues/12541 --- .github/workflows/continuous_integration.yml | 2 +- .github/workflows/prepare_release.yml | 2 +- .github/workflows/release_and_publish.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 From f3fc126377166f06d514778e65c2fe7fe46b1f05 Mon Sep 17 00:00:00 2001 From: OS-pedrogustavobilro Date: Wed, 10 Sep 2025 11:25:10 +0100 Subject: [PATCH 4/5] chore(ci): use Xcode 16 --- .github/workflows/continuous_integration.yml | 2 +- .github/workflows/prepare_release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 1133f45..79a6360 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -19,7 +19,7 @@ jobs: run: brew link --overwrite swiftlint || brew install swiftlint - name: Set up XCode - run: sudo xcode-select --switch /Applications/Xcode_15.0.app + run: sudo xcode-select --switch /Applications/Xcode_16.0.app - name: Bundle Install run: bundle install diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index c2111ca..2fb1a2f 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -25,7 +25,7 @@ jobs: run: brew link --overwrite swiftlint || brew install swiftlint - name: Set up XCode - run: sudo xcode-select --switch /Applications/Xcode_15.0.app + run: sudo xcode-select --switch /Applications/Xcode_16.0.app - name: Set up Ruby uses: ruby/setup-ruby@v1 From c8c407d54981ae256fec3252166ce92a69f508c1 Mon Sep 17 00:00:00 2001 From: OS-pedrogustavobilro Date: Wed, 10 Sep 2025 11:28:58 +0100 Subject: [PATCH 5/5] Revert "chore(ci): use Xcode 16" This reverts commit f3fc126377166f06d514778e65c2fe7fe46b1f05. --- .github/workflows/continuous_integration.yml | 2 +- .github/workflows/prepare_release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 79a6360..1133f45 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -19,7 +19,7 @@ jobs: run: brew link --overwrite swiftlint || brew install swiftlint - name: Set up XCode - run: sudo xcode-select --switch /Applications/Xcode_16.0.app + run: sudo xcode-select --switch /Applications/Xcode_15.0.app - name: Bundle Install run: bundle install diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index 2fb1a2f..c2111ca 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -25,7 +25,7 @@ jobs: run: brew link --overwrite swiftlint || brew install swiftlint - name: Set up XCode - run: sudo xcode-select --switch /Applications/Xcode_16.0.app + run: sudo xcode-select --switch /Applications/Xcode_15.0.app - name: Set up Ruby uses: ruby/setup-ruby@v1