-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(camera): Adding SPM support to camera (#1930)
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>
- Loading branch information
1 parent
e7b00b4
commit 0e1e1d5
Showing
24 changed files
with
85 additions
and
858 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "capacitor6-spm-test", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/ionic-team/capacitor6-spm-test.git", | ||
"state" : { | ||
"branch" : "main", | ||
"revision" : "cf4ff2bc1dffb14adc27b1e5a09ac37e85424b99" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// swift-tools-version: 5.9 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "CapacitorCamera", | ||
platforms: [.iOS(.v13)], | ||
products: [ | ||
.library( | ||
name: "CameraPlugin", | ||
targets: ["CameraPlugin"]) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main") | ||
], | ||
targets: [ | ||
.target( | ||
name: "CameraPlugin", | ||
dependencies: [ | ||
.product(name: "Capacitor", package: "capacitor6-spm-test"), | ||
.product(name: "Cordova", package: "capacitor6-spm-test") | ||
], | ||
path: "ios/Sources/CameraPlugin"), | ||
.testTarget( | ||
name: "CameraPluginTests", | ||
dependencies: ["CameraPlugin"], | ||
path: "ios/Tests/CameraPluginTests") | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
xcuserdata/ | ||
DerivedData/ | ||
.swiftpm/configuration/registries.json | ||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata | ||
.netrc |
Oops, something went wrong.