Skip to content

Commit a7f4541

Browse files
fix: Add Package.swift file for out-of-the-box SPM compatibility (#9)
1 parent b8a11b9 commit a7f4541

File tree

5 files changed

+39
-3
lines changed

5 files changed

+39
-3
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
sonarcloud:
1212
name: Unit-Tests
13-
runs-on: macos-latest
13+
runs-on: macos-14
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4

.github/workflows/prepare_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
build-and-release:
1818
if: github.ref == 'refs/heads/main'
19-
runs-on: macos-latest
19+
runs-on: macos-14
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4

.github/workflows/release_and_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
post-merge:
1111
if: contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.merged == true
12-
runs-on: macos-latest
12+
runs-on: macos-14
1313

1414
steps:
1515
- name: Checkout Repository

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
9+
### Fixes
10+
11+
- Add Package.swift file for out-of-the-box SPM compatibility
12+
13+
## 1.0.1
14+
15+
### Fixes
16+
17+
- Check if location service is already monitoring location when single location is requested
18+
719
## 1.0.0
820

921
### Features

Package.swift

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// swift-tools-version: 5.9
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "IONGeolocationLib",
6+
platforms: [.iOS(.v14)],
7+
products: [
8+
.library(
9+
name: "IONGeolocationLib",
10+
targets: ["IONGeolocationLib"]
11+
)
12+
],
13+
targets: [
14+
.target(
15+
name: "IONGeolocationLib",
16+
path: "IONGeolocationLib"
17+
),
18+
.testTarget(
19+
name: "IONGeolocationLibTests",
20+
dependencies: ["IONGeolocationLib"],
21+
path: "IONGeolocationLibTests"
22+
)
23+
]
24+
)

0 commit comments

Comments
 (0)