Skip to content

Commit 171c45f

Browse files
committed
Remove Cocoapods from CI config.
1 parent d46f74a commit 171c45f

File tree

2 files changed

+31
-24
lines changed

2 files changed

+31
-24
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ on:
88
branches: [main]
99

1010
jobs:
11-
podspec:
12-
name: Lint Podspec for ${{ matrix.platform }}
13-
runs-on: macos-14
14-
strategy:
15-
matrix:
16-
platform: [ios, osx, tvos]
17-
steps:
18-
- uses: actions/checkout@v3
19-
- name: Lint Podspec
20-
run: pod lib lint --platforms=${{ matrix.platform }}
2111
xcodebuild:
2212
name: ${{ matrix.name }}
2313
runs-on: ${{ matrix.os }}

README.md

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,41 @@ This library is an SPM-compatible repackaging of the source code from [libgeos/g
99
> [Shapely](https://pypi.org/project/Shapely/) package for Python, the
1010
> [sf](https://github.com/r-spatial/sf) package for R, and others.
1111
12+
## Requirements
13+
14+
- Swift 5.9+
15+
- iOS 12.0+ / macOS 10.13+ / tvOS 12.0+ / watchOS 4.0+ / visionOS 1.0+
16+
- Linux
17+
1218
## Usage
1319

14-
Swift Package Manager (SPM):
20+
### Swift Package Manager (SPM)
21+
22+
Add the following to your `Package.swift`:
23+
24+
```swift
25+
let package = Package(
26+
name: "YourPackage",
27+
dependencies: [
28+
.package(url: "https://github.com/GEOSwift/geos.git", from: "11.0.0")
29+
],
30+
targets: [
31+
.target(
32+
name: "YourTarget",
33+
dependencies: [
34+
.product(name: "geos", package: "geos")
35+
]
36+
)
37+
]
38+
)
39+
```
40+
41+
### Basic Usage
1542

1643
```swift
17-
// Include in your package dependencies
18-
[
19-
// ...
20-
.package(url: "https://github.com/GEOSwift/geos.git", from: "11.0.0"),
21-
// ...
22-
]
23-
24-
// Include in your target dependencies
25-
[
26-
// ...
27-
"geos"
28-
// ...
29-
]
44+
import geos
45+
46+
// The geos C API is now available for use
3047
```
3148

3249
> [!NOTE]

0 commit comments

Comments
 (0)