fix(core): update swift-rs to fix iOS plugin builds (#10718)

* fix(cli): add comment suggest to use patch swift-rs

* Create change-pr-10718.md

* swift-rs 1.0.7 (still not published) [skip ci]

* update lockfile

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Masahiko Sakakibara
2024-08-27 20:22:13 +09:00
committed by GitHub
parent fd68b7fdea
commit 03f2a50981
5 changed files with 11 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
---
"tauri": 'patch:bug'
"tauri-utils": 'patch:bug'
---
Update swift-rs fixing a plugin build when native dependencies are used.

4
Cargo.lock generated
View File

@@ -3708,9 +3708,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
[[package]]
name = "swift-rs"
version = "1.0.6"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bbdb58577b6301f8d17ae2561f32002a5bae056d444e0f69e611e504a276204"
checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7"
dependencies = [
"base64 0.21.7",
"serde",

View File

@@ -45,7 +45,7 @@ cargo_metadata = { version = "0.18", optional = true }
serde-untagged = "0.1"
[target."cfg(target_os = \"macos\")".dependencies]
swift-rs = { version = "1.0.6", optional = true, features = ["build"] }
swift-rs = { version = "1.0.7", optional = true, features = ["build"] }
[dev-dependencies]
getrandom = { version = "0.2", features = ["std"] }

View File

@@ -109,7 +109,7 @@ jni = "0.21"
libc = "0.2"
objc = "0.2"
cocoa = "0.26"
swift-rs = "1.0.6"
swift-rs = "1.0.7"
[build-dependencies]
heck = "0.5"

View File

@@ -20,3 +20,4 @@ tauri-build = {{ tauri_build_dep }}
[dependencies]
tauri = {{ tauri_example_dep }}
tauri-plugin-{{ plugin_name }} = { path = "../../../" }