diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..ae9845f --- /dev/null +++ b/Package.resolved @@ -0,0 +1,16 @@ +{ + "object": { + "pins": [ + { + "package": "Reg", + "repositoryURL": "https://github.com/yhkaplan/Reg.git", + "state": { + "branch": null, + "revision": "c8f1f51bc088708b3b3ecf04523b5bedd6914222", + "version": "0.3.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index 03ba6b4..9d476fa 100644 --- a/Package.swift +++ b/Package.swift @@ -5,22 +5,26 @@ import PackageDescription let package = Package( name: "SweetCardScanner", + + platforms: [.iOS(.v13)], + products: [ - // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "SweetCardScanner", + type: .dynamic, targets: ["SweetCardScanner"]), ], + dependencies: [ - // Dependencies declare other packages that this package depends on. - // .package(url: /* package url */, from: "1.0.0"), + .package(url: "https://github.com/yhkaplan/Reg.git", from: "0.3.0"), ], + targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "SweetCardScanner", - dependencies: []), + dependencies: ["Reg"]), .testTarget( name: "SweetCardScannerTests", dependencies: ["SweetCardScanner"]),