Skip to content

Commit 17b0cc6

Browse files
authored
fix: update tool for Capacitor 8 (#25)
The generated Package.swift is still pointing to Capacitor 7, updated it to use Capacitor 8
1 parent d2e21b0 commit 17b0cc6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/CapacitorPluginTools/PackageFileGenerator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class PackageFileGenerator {
55
let targetName: String
66
let capRepoName = "capacitor-swift-pm"
77
let capLocation = "https://github.com/ionic-team/capacitor-swift-pm.git"
8-
let capVersion = "7.0.0"
8+
let capVersion = "8.0.0"
99

1010
var packageText: String {
1111
return """

Tests/CapacitorPluginToolsTests/PackageFileGenerator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct PackageFileGeneratorTests {
2727
targets: ["AppPlugin"])
2828
],
2929
dependencies: [
30-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
30+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
3131
],
3232
targets: [
3333
.target(

0 commit comments

Comments
 (0)