From 73626e46f8bad5db7d66de32ecf5173cf2e6dcb9 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Thu, 17 Jul 2025 09:59:30 +0300 Subject: [PATCH] document passing deployment target automatically --- reference/tools/apple/xcodebuild.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reference/tools/apple/xcodebuild.rst b/reference/tools/apple/xcodebuild.rst index 5e9c43600eed..7ff19cfc29e7 100644 --- a/reference/tools/apple/xcodebuild.rst +++ b/reference/tools/apple/xcodebuild.rst @@ -37,7 +37,7 @@ The ``Xcode.build()`` method internally implements a call to ``xcodebuild`` like .. code:: bash - $ xcodebuild -project app.xcodeproj -configuration -arch -target /-alltargets + $ xcodebuild -project app.xcodeproj -configuration -arch -target /-alltargets *_DEPLOYMENT_TARGET=settings.os.version Where: @@ -55,6 +55,11 @@ Where: - ``verbosity`` is the verbosity level for the build and can take value 'verbose' or 'quiet' if set by ``tools.build:verbosity`` in your **[conf]** +Additional parameters that are passed to ``xcodebuild``: + +- deployment target setting according to the values of ``os`` and ``os.version`` from profile, + e.g. ``MACOSX_DEPLOYMENT_TARGET=10.15`` or ``IPHONEOS_DEPLOYMENT_TARGET=15.0`` + conf ++++