From be915ef536ee424a78908bf2a6f7821929b2db99 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Thu, 19 Jun 2025 13:47:49 +0300 Subject: [PATCH 1/2] Update xcodebuild.rst --- reference/tools/apple/xcodebuild.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/reference/tools/apple/xcodebuild.rst b/reference/tools/apple/xcodebuild.rst index 5e9c43600eed..cc65ed1b7826 100644 --- a/reference/tools/apple/xcodebuild.rst +++ b/reference/tools/apple/xcodebuild.rst @@ -37,12 +37,12 @@ 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 Where: - ``configuration`` is the configuration, typically *Release* or *Debug*, which will be obtained - from ``settings.build_type``. + from ``settings.build_type`` unless you pass it in the parameter. - ``architecture`` is the build architecture, a mapping from the ``settings.arch`` to the common architectures defined by Apple 'i386', 'x86_64', 'armv7', 'arm64', etc. - ``sdk`` is set based on the values of the ``os.sdk`` and ``os.sdk_version`` defining the @@ -54,6 +54,13 @@ Where: ``os.sdk_version`` settings values. - ``verbosity`` is the verbosity level for the build and can take value 'verbose' or 'quiet' if set by ``tools.build:verbosity`` in your **[conf]** +- ``custom_params`` is a list of arbitrary command line params that you can pass in the + ``build_options`` parameter which is a list of strings. + +Additional parameters that are passed to ``xcodebuild`` (but before ``custom_params``): + +- ``SYMROOT`` and ``OBJROOT`` pointing to the recipe build folder +- ``RUN_CLANG_STATIC_ANALYZER=NO`` to avoid running Clang static analyzer by default conf ++++ From 9354f44417a7b123b6a9c433cce26ecf337b292a Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Thu, 19 Jun 2025 13:52:47 +0300 Subject: [PATCH 2/2] Update xcodebuild.rst --- reference/tools/apple/xcodebuild.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/tools/apple/xcodebuild.rst b/reference/tools/apple/xcodebuild.rst index cc65ed1b7826..fc3ad62c6692 100644 --- a/reference/tools/apple/xcodebuild.rst +++ b/reference/tools/apple/xcodebuild.rst @@ -59,6 +59,8 @@ Where: Additional parameters that are passed to ``xcodebuild`` (but before ``custom_params``): +- 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`` - ``SYMROOT`` and ``OBJROOT`` pointing to the recipe build folder - ``RUN_CLANG_STATIC_ANALYZER=NO`` to avoid running Clang static analyzer by default