Skip to main content

apple_watchos_bundle

Function Signature

def apple_watchos_bundle(
*,
name: str,
default_target_platform: None | str = None,
target_compatible_with: list[str] = [],
compatible_with: list[str] = [],
exec_compatible_with: list[str] = [],
visibility: list[str] = [],
within_view: list[str] = ["PUBLIC"],
metadata: OpaqueMetadata = {},
tests: list[str] = [],
modifiers: OpaqueMetadata = [],
_apple_platforms: dict[str, str] = {},
_apple_toolchain: str = "gh_facebook_buck2_shims_meta//:apple-bundle",
_apple_tools: str = "prelude//apple/tools:apple-tools",
_apple_xctoolchain: str = "gh_facebook_buck2_shims_meta//:apple-xctoolchain",
_apple_xctoolchain_bundle_id: str = "gh_facebook_buck2_shims_meta//:apple-xctoolchain-bundle-id",
_bundling_cache_buster: None | str = None,
_bundling_log_file_enabled: bool = False,
_bundling_log_file_level: None | str = None,
_code_signing_configuration: None | str = None,
_codesign_command_override: None | str = None,
_codesign_entitlements: None | str = None,
_codesign_identities_command_override: None | str = None,
_codesign_type: None | str = None,
_compile_resources_locally_override: None | bool = None,
_dsymutil_extra_flags: list[str],
_dsymutil_verify_dwarf: str,
_embed_provisioning_profile_when_adhoc_code_signing: None | bool = None,
_fast_adhoc_signing_enabled_default: bool = select({"prelude//features/apple:fast_adhoc_signing_disabled": False, "prelude//features/apple:fast_adhoc_signing_enabled": True, "DEFAULT": True}),
_fast_provisioning_profile_parsing_enabled: bool = False,
_incremental_bundling_enabled: bool = False,
_info_plist_identify_build_system_default: bool = False,
_profile_bundling_enabled: bool = False,
_provisioning_profiles: str = "gh_facebook_buck2_shims_meta//xplat/buck2/platform/apple:provisioning_profiles",
_resource_bundle: None | str = None,
_skip_adhoc_resigning_scrubbed_frameworks_default: bool = select({"prelude//features/apple/constraints:skip_adhoc_resigning_scrubbed_frameworks_disabled": False, "prelude//features/apple/constraints:skip_adhoc_resigning_scrubbed_frameworks_enabled": True, "DEFAULT": False}),
_skip_adhoc_resigning_scrubbed_frameworks_override: None | bool = None,
_strict_provisioning_profile_search_default: bool = select({"prelude//features/apple:strict_provisioning_profile_search_enabled": True, "DEFAULT": True}),
_use_entitlements_when_adhoc_code_signing: None | bool = None,
asset_catalogs_compilation_options: dict[str, typing.Any] = {},
binary: None | str = None,
bundle_type: str = "watchapp",
code_signing_configuration: None | str = None,
codesign_flags: list[str] = [],
codesign_identity: None | str = None,
codesign_type: None | str = None,
contacts: list[str] = [],
copy_public_framework_headers: None | bool = None,
debug_artifacts_validators: dict[str, (str, str)] = {},
default_host_platform: None | str = None,
default_platform: None | str = None,
deps: list[str] = [],
dsym_uses_parallel_linker: bool = select({"prelude//features/apple:dsym_uses_parallel_linker_enabled": True, "DEFAULT": False}),
embed_provisioning_profile_when_adhoc_code_signing: bool = False,
embed_xctest_frameworks: bool = select({"prelude//marker/apple/constraints:embed_xctest_frameworks_enabled": True, "DEFAULT": False}),
extension: str,
fast_adhoc_signing_enabled: None | bool = None,
ibtool_flags: None | list[str] = None,
incremental_bundling_enabled: None | bool = None,
info_plist: str,
info_plist_identify_build_system: None | bool = None,
info_plist_substitutions: dict[str, str] = {},
labels: list[str] = [],
licenses: list[str] = [],
module_map: None | str = None,
platform_binary: None | list[(str, str)] = None,
product_name: None | str = None,
product_name_from_module_name: bool = False,
propagated_target_sdk_version: None | str = None,
provisioning_profile_filter: None | str = None,
resource_group: None | str = None,
resource_group_map: None | str = None,
selective_debugging: None | str = None,
skip_adhoc_resigning_scrubbed_frameworks: None | bool = None,
skip_copying_swift_stdlib: None | bool = None,
split_arch_dsym: bool = False,
strict_provisioning_profile_search: None | bool = None,
try_skip_code_signing: None | bool = None,
universal: None | bool = None,
use_entitlements_when_adhoc_code_signing: bool = False,
validation_deps: list[str] = [],
versioned_macos_bundle: bool = select({"prelude//features/apple/constraints:versioned_macos_bundle_false": False, "prelude//features/apple/constraints:versioned_macos_bundle_true": True, "DEFAULT": False}),
xcode_product_type: None | str = None,
xcode_scheme_settings: None | str = None,
) -> None

Parameters

  • name: (required)

    name of the target

  • default_target_platform: (defaults to: None)

    specifies the default target platform, used when no platforms are specified on the command line

  • target_compatible_with: (defaults to: [])

    a list of constraints that are required to be satisfied for this target to be compatible with a configuration

  • compatible_with: (defaults to: [])

    a list of constraints that are required to be satisfied for this target to be compatible with a configuration

  • exec_compatible_with: (defaults to: [])

    a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

  • visibility: (defaults to: [])

    a list of visibility patterns restricting what targets can depend on this one

  • within_view: (defaults to: ["PUBLIC"])

    a list of visibility patterns restricting what this target can depend on

  • metadata: (defaults to: {})

    a key-value map of metadata associated with this target

  • tests: (defaults to: [])

    a list of targets that provide tests for this one

  • modifiers: (defaults to: [])

    an array of modifiers associated with this target

  • asset_catalogs_compilation_options: (defaults to: {})

    A dict holding parameters for asset catalogs compiler (actool). Its options include:

    • notices (defaults to True)
    • warnings (defaults to True)
    • errors (defaults to True)
    • compress_pngs (defaults to True)
    • optimization (defaults to 'space')
    • output_format (defaults to 'human-readable-text')
    • extra_flags (defaults to [])
  • info_plist_substitutions: (defaults to: {})

    A dictionary that assigns variable names to their values. It is used for variable substitution when processing the file specified in info_plist. For example if this argument is set to {'VAR': 'MyValue'}, then each occurrence of $(VAR) or ${VAR} in the file will be replaced by MyValue.

  • xcode_scheme_settings: (defaults to: None)

    Optional settings to set on schemes when this target is represented in Xcode.