Skip to content

Commit 343687b

Browse files
authored
Merge pull request #1 from MFB-Technologies-Inc/v14.8.0
V14.8.0
2 parents 2f44624 + b1ab5c5 commit 343687b

3 files changed

Lines changed: 57 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- "*"
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: macos-15
15+
environment: default
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Select Xcode 16.3
19+
run: sudo xcode-select -s /Applications/Xcode_16.3.app/Contents/Developer
20+
- name: Resolve frameworks
21+
run: swift package resolve

Package.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// swift-tools-version: 6.1
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "PSPDFKit-SP-Mirror",
7+
platforms: [
8+
.iOS(.v16),
9+
.macCatalyst(.v16),
10+
.visionOS(.v1),
11+
],
12+
products: [
13+
.library(
14+
name: "PSPDFKit",
15+
targets: ["PSPDFKit", "PSPDFKitUI"]
16+
)
17+
],
18+
targets: [
19+
.binaryTarget(
20+
name: "PSPDFKit",
21+
url: "https://github.com/MFB-Technologies-Inc/PSPDFKit-SP-Mirror/releases/download/pre-14.8.0/Nutrient-iOS-SDK-PSPDFKit.xcframework-14.8.0.zip",
22+
checksum: "15e36d61b47ee7aafa26ddfd83b734a7eb931d3a3986a0959dcc08c050ed56a3"
23+
),
24+
.binaryTarget(
25+
name: "PSPDFKitUI",
26+
url: "https://github.com/MFB-Technologies-Inc/PSPDFKit-SP-Mirror/releases/download/pre-14.8.0/Nutrient-iOS-SDK-PSPDFKitUI.xcframework-14.8.0.zip",
27+
checksum: "d9d97b5c9509f65803f9d39c32c7c9a1217584068eaf31176daea7114ad02662"
28+
),
29+
]
30+
)

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# PSPDFKit-SP-Mirror
22

33
This is a version of https://github.com/PSPDFKit/PSPDFKit-SP backed by CDN instead of downloading straight from S3.
4+
5+
## Updating for new releases
6+
7+
Create a new branch named `feature/{{ new version }}`. Update the URLs and hashes for each framework. Create a release on this branch where the tag is `pre-{{ new version }}` with the framework zip files attached. The `pre-` part of the tag name is important because it prevents SPM from resolving that tag as the next version. This release should NOT be marked as latest.
8+
9+
Once the PR is merged, create a new release where the tag is the appropriate version number and should be marked as latest.

0 commit comments

Comments
 (0)