Skip to content

Commit 3d8bab2

Browse files
authored
chore: Update Package.swift for Cap6 release (#2041)
1 parent 17afbe3 commit 3d8bab2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+137
-434
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ node_modules
22
.DS_Store
33
package-lock.json
44
Podfile.lock
5-
.env
5+
Package.resolved
6+
.env

action-sheet/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

action-sheet/Package.resolved

-14
This file was deleted.

action-sheet/Package.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ let package = Package(
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "ActionSheetPlugin",
9+
name: "CapacitorActionSheet",
1010
targets: ["ActionSheetPlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "ActionSheetPlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/ActionSheetPlugin"),
2323
.testTarget(
2424
name: "ActionSheetPluginTests",
2525
dependencies: ["ActionSheetPlugin"],
2626
path: "ios/Tests/ActionSheetPluginTests")
2727
]
28-
)
28+
)

app-launcher/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

app-launcher/Package.resolved

-14
This file was deleted.

app-launcher/Package.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ let package = Package(
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "AppLauncherPlugin",
9+
name: "CapacitorAppLauncher",
1010
targets: ["AppLauncherPlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "AppLauncherPlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/AppLauncherPlugin"),
2323
.testTarget(
2424
name: "AppLauncherPluginTests",
2525
dependencies: ["AppLauncherPlugin"],
2626
path: "ios/Tests/AppLauncherPluginTests")
2727
]
28-
)
28+
)

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

app/Package.resolved

-14
This file was deleted.

app/Package.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
import PackageDescription
33

44
let package = Package(
5-
name: "CapacitorAppPlugin",
5+
name: "CapacitorApp",
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "AppPlugin",
9+
name: "CapacitorApp",
1010
targets: ["AppPlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "AppPlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/AppPlugin"),
2323
.testTarget(

app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
],
3232
"scripts": {
3333
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
34-
"verify:ios": "xcodebuild build -scheme CapacitorAppPlugin -sdk iphonesimulator17.0 -destination 'OS=17.0,name=iPhone 15'",
34+
"verify:ios": "xcodebuild build -scheme CapacitorApp -sdk iphonesimulator17.0 -destination 'OS=17.0,name=iPhone 15'",
3535
"verify:android": "cd android && ./gradlew clean build test && cd ..",
3636
"verify:web": "npm run build",
3737
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",

browser/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

browser/Package.resolved

-14
This file was deleted.

browser/Package.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ let package = Package(
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "BrowserPlugin",
9+
name: "CapacitorBrowser",
1010
targets: ["BrowserPlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "BrowserPlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/BrowserPlugin"),
2323
.testTarget(
2424
name: "BrowserPluginTests",
2525
dependencies: ["BrowserPlugin"],
2626
path: "ios/Tests/BrowserPluginTests")
2727
]
28-
)
28+
)

camera/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

camera/Package.resolved

-14
This file was deleted.

camera/Package.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ let package = Package(
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "CameraPlugin",
9+
name: "CapacitorCamera",
1010
targets: ["CameraPlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "CameraPlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/CameraPlugin"),
2323
.testTarget(

clipboard/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

clipboard/Package.resolved

-14
This file was deleted.

clipboard/Package.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ let package = Package(
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "ClipboardPlugin",
9+
name: "CapacitorClipboard",
1010
targets: ["ClipboardPlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "ClipboardPlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/ClipboardPlugin"),
2323
.testTarget(

device/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

device/Package.resolved

-14
This file was deleted.

device/Package.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ let package = Package(
66
platforms: [.iOS(.v13)],
77
products: [
88
.library(
9-
name: "DevicePlugin",
9+
name: "CapacitorDevice",
1010
targets: ["DevicePlugin"])
1111
],
1212
dependencies: [
13-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
13+
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
1414
],
1515
targets: [
1616
.target(
1717
name: "DevicePlugin",
1818
dependencies: [
19-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
20-
.product(name: "Cordova", package: "capacitor6-spm-test")
19+
.product(name: "Capacitor", package: "capacitor-spm"),
20+
.product(name: "Cordova", package: "capacitor-spm")
2121
],
2222
path: "ios/Sources/DevicePlugin"),
2323
.testTarget(

dialog/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
# iOS files
66
Pods
77
Podfile.lock
8+
Package.resolved
89
Build
910
xcuserdata
1011
/.build

dialog/Package.resolved

-14
This file was deleted.

0 commit comments

Comments
 (0)