Skip to content

Commit

Permalink
fix(core): update swift-rs to fix iOS plugin builds (#10718)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
rdlabo and lucasfernog authored Aug 27, 2024
1 parent fd68b7f commit 03f2a50
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changes/change-pr-10718.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri": 'patch:bug'
"tauri-utils": 'patch:bug'
---

Update swift-rs fixing a plugin build when native dependencies are used.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/tauri-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion core/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ tauri-build = {{ tauri_build_dep }}
[dependencies]
tauri = {{ tauri_example_dep }}
tauri-plugin-{{ plugin_name }} = { path = "../../../" }

0 comments on commit 03f2a50

Please sign in to comment.