Skip to content

Commit 9b99eba

Browse files
glumnlucasfernog
andauthored
fix(cli): do not force architecture when building and archiving iOS app (#10431)
* feat(ios): add a new cli option to dev to use project archs Add a new option to instruct cargo-mobile2 to use architectures configured in the project for building * update cargo-mobile2, add change file * fix change file [skip ci] --------- Co-authored-by: Lucas Nogueira <[email protected]>
1 parent b25545c commit 9b99eba

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.changes/fix-xcodebuild-arch.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'tauri-cli': 'patch:bug'
3+
'@tauri-apps/cli': 'patch:bug'
4+
---
5+
6+
Do not include the target arch when building and archiving the iOS application,
7+
which makes Xcode project modifications more flexible.

tooling/cli/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.

tooling/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ name = "cargo-tauri"
3939
path = "src/main.rs"
4040

4141
[dependencies]
42-
cargo-mobile2 = { version = "0.13.2", default-features = false }
42+
cargo-mobile2 = { version = "0.13.3", default-features = false }
4343
jsonrpsee = { version = "0.24", features = [ "server" ] }
4444
jsonrpsee-core = "0.24"
4545
jsonrpsee-client-transport = { version = "0.24", features = [ "ws" ] }

tooling/cli/src/mobile/ios/dev.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ fn run_command(options: Options, noise_level: NoiseLevel) -> Result<()> {
166166
dev_options.features.as_ref(),
167167
&Default::default(),
168168
);
169+
169170
(interface, app, config)
170171
};
171172

0 commit comments

Comments
 (0)