fix(cli): properly resolve merge config on mobile build closes #9970 (#10605)

just applying the change from #10600 to xcode to fix the linked issue :)
This commit is contained in:
Lucas Fernandes Nogueira 2024-08-15 10:50:19 -03:00 committed by GitHub
parent b6dca99fff
commit 9089d97637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes `[android|ios] build --config <config>` failing to resolve.

View File

@ -95,6 +95,10 @@ pub fn command(options: Options) -> Result<()> {
MobileTarget::Ios,
)?;
if let Some(config) = &cli_options.config {
crate::helpers::config::merge_with(&config.0)?;
}
let env = env()?.explicit_env_vars(cli_options.vars);
if !options.sdk_root.is_dir() {