Skip to content

Commit 03f2a50

Browse files
rdlabolucasfernog
andauthored
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>
1 parent fd68b7f commit 03f2a50

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.changes/change-pr-10718.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri": 'patch:bug'
3+
"tauri-utils": 'patch:bug'
4+
---
5+
6+
Update swift-rs fixing a plugin build when native dependencies are used.

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/tauri-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cargo_metadata = { version = "0.18", optional = true }
4545
serde-untagged = "0.1"
4646

4747
[target."cfg(target_os = \"macos\")".dependencies]
48-
swift-rs = { version = "1.0.6", optional = true, features = ["build"] }
48+
swift-rs = { version = "1.0.7", optional = true, features = ["build"] }
4949

5050
[dev-dependencies]
5151
getrandom = { version = "0.2", features = ["std"] }

core/tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jni = "0.21"
109109
libc = "0.2"
110110
objc = "0.2"
111111
cocoa = "0.26"
112-
swift-rs = "1.0.6"
112+
swift-rs = "1.0.7"
113113

114114
[build-dependencies]
115115
heck = "0.5"

tooling/cli/templates/plugin/__example-api/tauri-app/src-tauri/Cargo.crate-manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ tauri-build = {{ tauri_build_dep }}
2020
[dependencies]
2121
tauri = {{ tauri_example_dep }}
2222
tauri-plugin-{{ plugin_name }} = { path = "../../../" }
23+

0 commit comments

Comments
 (0)