mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-03 20:31:54 +03:00
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:
parent
39bf0a1635
commit
c92db4c92f
6
.changes/fix-config-override.md
Normal file
6
.changes/fix-config-override.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-cli": patch:bug
|
||||
"@tauri-apps/cli": patch:bug
|
||||
---
|
||||
|
||||
Fixes `[android|ios] build --config <config>` failing to resolve.
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user