Skip to content

Commit

Permalink
feat: add package lock ios
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Oct 25, 2024
1 parent cd82789 commit 27e238f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 14 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"pins" : [
{
"identity" : "capacitor-swift-pm",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ionic-team/capacitor-swift-pm.git",
"state" : {
"branch" : "main",
"revision" : "cc2434d9cbc0f17d7a5d9e2f391cb94c7a5925b6"
}
}
],
"version" : 2
}
6 changes: 2 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ let package = Package(
targets: ["CapacitorDownloaderPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main"),
.package(url: "https://github.com/mzeeshanid/MZDownloadManager.git", from: "3.3.0")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "CapacitorDownloaderPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
"MZDownloadManager"
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/CapacitorDownloaderPlugin"),
.testTarget(
Expand Down

0 comments on commit 27e238f

Please sign in to comment.