From 5b3e59bfbb94d4c19f089210a00f8a8e16ba9115 Mon Sep 17 00:00:00 2001 From: Reinhart Previano Koentjoro Date: Fri, 27 Oct 2023 14:28:46 +0700 Subject: [PATCH] xcodes-runtimes: add new examples (#11296) --- pages.id/osx/xcodes-runtimes.md | 12 ++++++++++++ pages/osx/xcodes-runtimes.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/pages.id/osx/xcodes-runtimes.md b/pages.id/osx/xcodes-runtimes.md index 9ac3b3085..f119f08c9 100644 --- a/pages.id/osx/xcodes-runtimes.md +++ b/pages.id/osx/xcodes-runtimes.md @@ -14,3 +14,15 @@ - Unduh dan pasang sebuah runtime Simulator: `xcodes runtimes install {{nama_runtime}}` + +- Unduh/pasang runtime Simulator untuk iOS/watchOS/tvOS/visionOS versi spesifik (nama harus ditulis sebagai case-sensitive): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{versi_runtime}}"` + +- Atur lokasi penyimpanan arsip runtime yang akan diunduh (nilai default: `~/Downloads`): + +`xcodes runtimes {{download|install}} {{runtime_name}} --directory {{path/to/directory}}` + +- Jangan hapus arsip runtime Simulator setelah pemasangan selesai: + +`xcodes runtimes install {{runtime_name}} --keep-archive` diff --git a/pages/osx/xcodes-runtimes.md b/pages/osx/xcodes-runtimes.md index deece5332..668d481c6 100644 --- a/pages/osx/xcodes-runtimes.md +++ b/pages/osx/xcodes-runtimes.md @@ -14,3 +14,15 @@ - Download and install a Simulator runtime: `xcodes runtimes install {{runtime_name}}` + +- Download/install a Simulator runtime for specific iOS/watchOS/tvOS/visionOS version (must be written as case-sensitive): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{runtime_version}}"` + +- Set a specific location where the runtime archive will be first downloaded (defaults to `~/Downloads`): + +`xcodes runtimes {{download|install}} {{runtime_name}} --directory {{path/to/directory}}` + +- Do not delete the downloaded archive when the Simulator is successfully installed: + +`xcodes runtimes install {{runtime_name}} --keep-archive`