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

just applying the change from #10600 to xcode to fix the linked issue :)
This commit is contained in:
Lucas Nogueira 2024-08-13 21:58:06 -03:00
parent 39bf0a1635
commit c92db4c92f
No known key found for this signature in database
GPG Key ID: 7C32FCA95C8C95D7
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() {