Compare commits

..

No commits in common. "ai/forgejo-capacitor-8-5-2" and "9.0.0-alpha.6" have entirely different histories.

7 changed files with 7 additions and 21 deletions

View file

@ -15,19 +15,11 @@ on:
jobs:
build:
runs-on: macos-15
runs-on: macos-latest
timeout-minutes: 30
steps:
- name: Validate release version
run: |
version="${{ inputs.release-version }}"
major="${version%%.*}"
if [[ ! "$major" =~ ^[0-9]+$ ]] || (( major < 6 || major > 8 )); then
echo "::error::Capacitor $version is not supported by this repository. Starting with Capacitor 9 (see https://github.com/ionic-team/capacitor/pull/8588 PR), the iOS platform is a source-first Swift package built directly from the ionic-team/capacitor repository, so SPM distribution no longer happens here. This repository only releases major versions 6, 7, and 8."
exit 1
fi
- run: |
if [[ "${{ inputs.release-version }}" =~ ^[67]\. ]]; then
if [[ "${{ inputs.release-version }}" =~ ^7\. ]]; then
sudo xcode-select --switch /Applications/Xcode_16.2.app
else
sudo xcode-select --switch /Applications/Xcode_26.0.app

2
.gitignore vendored
View file

@ -3,4 +3,4 @@ capacitor-checkout
*.zip
.swiftpm
frameworks
.build

View file

@ -1,4 +0,0 @@
Capacitor/Cordova 8.5.2, unchanged binary artifacts and upstream checksums.
Imported once from Ionic; future builds use only git.kico-dev.de.
Original upstream revision: 0b6882e9a3288342aacf36348e5a94e4f1dd7b13.
Licence and notices are retained from upstream. MeeNow pins this commit.

View file

@ -18,13 +18,13 @@ let package = Package(
targets: [
.binaryTarget(
name: "Capacitor",
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Capacitor.xcframework.zip",
checksum: "134c65a8bd30bfaa8ccb158d78142fa7231bf3f472e4a5d808c5fbed90fd4c75"
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/9.0.0-alpha.6/Capacitor.xcframework.zip",
checksum: "dbf2cab579879485d9c301810cf81714383176223ddb0915fb49da3d76e8c4a5"
),
.binaryTarget(
name: "Cordova",
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Cordova.xcframework.zip",
checksum: "57ff2c8f1e5dcd8d4379ac3cccde1407d81ccd575347dc2aff4f72272b8794a1"
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/9.0.0-alpha.6/Cordova.xcframework.zip",
checksum: "c75b5ff7ffdc9268b99a4bf306b9143b3d93b27fb10a07b7fab1fdcc9cf7342e"
)
]
)

View file

@ -1,5 +1,3 @@
# Swift Package Manager Support for Capacitor
This repo is for hosting binary xcframework releases of Capacitor and CapacitorCordova for SPM support.
Only applies to Capacitor major versions 6, 7, and 8. Starting with Capacitor 9, the iOS platform is a source-first Swift package built directly from the [ionic-team/capacitor](https://github.com/ionic-team/capacitor) repository.

Binary file not shown.

Binary file not shown.