Skip to content

Commit

Permalink
fix: explicitly set a minimum macOS version for older Swift versions …
Browse files Browse the repository at this point in the history
…(#1679)

ref tauri-apps/tauri#10687

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10459709604

Co-authored-by: lucasfernog <[email protected]>
  • Loading branch information
2 people authored and tauri-bot committed Aug 19, 2024
1 parent 09d96c2 commit f810d09
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions ios/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,29 @@
import PackageDescription

let package = Package(
name: "tauri-plugin-dialog",
platforms: [
.iOS(.v13),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "tauri-plugin-dialog",
type: .static,
targets: ["tauri-plugin-dialog"]),
],
dependencies: [
.package(name: "Tauri", path: "../.tauri/tauri-api")
],
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: "tauri-plugin-dialog",
dependencies: [
.byName(name: "Tauri")
],
path: "Sources")
]
name: "tauri-plugin-dialog",
platforms: [
.macOS(.v10_13),
.iOS(.v13),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "tauri-plugin-dialog",
type: .static,
targets: ["tauri-plugin-dialog"])
],
dependencies: [
.package(name: "Tauri", path: "../.tauri/tauri-api")
],
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: "tauri-plugin-dialog",
dependencies: [
.byName(name: "Tauri")
],
path: "Sources")
]
)

0 comments on commit f810d09

Please sign in to comment.