fix ios build

pull/400/head
Lucas Nogueira 2 years ago
parent 84bf0d16bb
commit 305b7e30fb
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -6,16 +6,16 @@
import PackageDescription import PackageDescription
let package = Package( let package = Package(
name: "tauri-plugin-clipboard", name: "tauri-plugin-clipboard-manager",
platforms: [ platforms: [
.iOS(.v13), .iOS(.v13),
], ],
products: [ products: [
// Products define the executables and libraries a package produces, and make them visible to other packages. // Products define the executables and libraries a package produces, and make them visible to other packages.
.library( .library(
name: "tauri-plugin-clipboard", name: "tauri-plugin-clipboard-manager",
type: .static, type: .static,
targets: ["tauri-plugin-clipboard"]), targets: ["tauri-plugin-clipboard-manager"]),
], ],
dependencies: [ dependencies: [
.package(name: "Tauri", path: "../.tauri/tauri-api") .package(name: "Tauri", path: "../.tauri/tauri-api")
@ -24,7 +24,7 @@ let package = Package(
// Targets are the basic building blocks of a package. A target can define a module or a test suite. // 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. // Targets can depend on other targets in this package, and on products in packages this package depends on.
.target( .target(
name: "tauri-plugin-clipboard", name: "tauri-plugin-clipboard-manager",
dependencies: [ dependencies: [
.byName(name: "Tauri") .byName(name: "Tauri")
], ],

Loading…
Cancel
Save