diff --git a/.changes/cli-apple-dev-team.md b/.changes/cli-apple-dev-team.md new file mode 100644 index 000000000000..b7d63ab27f93 --- /dev/null +++ b/.changes/cli-apple-dev-team.md @@ -0,0 +1,5 @@ +--- +'tauri-cli': 'patch:bug' +--- + +Fix `tauri info` failing when there is no available iOS code signing certificate. diff --git a/tooling/cli/src/info/ios.rs b/tooling/cli/src/info/ios.rs index 1c193d487677..db3c448fd2a2 100644 --- a/tooling/cli/src/info/ios.rs +++ b/tooling/cli/src/info/ios.rs @@ -12,13 +12,16 @@ pub fn items() -> Vec { let teams = tauri_mobile::apple::teams::find_development_teams().unwrap_or_default(); Some(( if teams.is_empty() { - "None".red().to_string() + "Developer Teams: None".red().to_string() } else { - teams - .iter() - .map(|t| format!("{} (ID: {})", t.name, t.id)) - .collect::>() - .join(", ") + format!( + "Developer Teams: {}", + teams + .iter() + .map(|t| format!("{} (ID: {})", t.name, t.id)) + .collect::>() + .join(", ") + ) }, Status::Neutral, ))