Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions docs/bazel.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ load("@rules_xcodeproj//xcodeproj:xcodeproj.bzl", "xcodeproj")
- [`top_level_target`](#top_level_target)
- [`top_level_targets`](#top_level_targets)
- [`project_options`](#project_options)
- [Custom Xcode schemes (Incremental generation mode)](#custom-xcode-schemes-incremental-generation-mode)
- [Custom Xcode schemes](#custom-xcode-schemes)
- [`xcschemes.scheme`](#xcschemes.scheme)
- [`xcschemes.test`](#xcschemes.test)
- [`xcschemes.run`](#xcschemes.run)
Expand All @@ -34,17 +34,6 @@ load("@rules_xcodeproj//xcodeproj:xcodeproj.bzl", "xcodeproj")
- [`xcschemes.pre_post_actions.build_script`](#xcschemes.pre_post_actions.build_script)
- [`xcschemes.pre_post_actions.launch_script`](#xcschemes.pre_post_actions.launch_script)
- [`xcschemes.autogeneration_config`](#xcschemes.autogeneration_config)
- [Custom Xcode schemes (Legacy generation mode)](#custom-xcode-schemes-legacy-generation-mode)
- [`xcode_schemes.scheme`](#xcode_schemes.scheme)
- [`xcode_schemes.build_action`](#xcode_schemes.build_action)
- [`xcode_schemes.build_target`](#xcode_schemes.build_target)
- [`xcode_schemes.build_for`](#xcode_schemes.build_for)
- [`xcode_schemes.launch_action`](#xcode_schemes.launch_action)
- [`xcode_schemes.profile_action`](#xcode_schemes.profile_action)
- [`xcode_schemes.test_action`](#xcode_schemes.test_action)
- [`xcode_schemes.diagnostics`](#xcode_schemes.diagnostics)
- [`xcode_schemes.sanitizers`](#xcode_schemes.sanitizers)
- [`xcode_schemes.pre_post_action`](#xcode_schemes.pre_post_action)
- [Xcode build settings](#xcode-build-settings)
- [`xcode_provisioning_profile`](#xcode_provisioning_profile)
- [Providers](#providers)
Expand Down Expand Up @@ -106,7 +95,7 @@ xcodeproj(
| <a id="xcodeproj-default_xcode_configuration"></a>default_xcode_configuration | Optional. The name of the the Xcode configuration to use when building, if not overridden by custom schemes.<br><br>If not set, the first Xcode configuration alphabetically will be used. Use [`xcode_configurations`](#xcodeproj-xcode_configurations) to adjust Xcode configurations. | `None` |
| <a id="xcodeproj-extra_files"></a>extra_files | Optional. A `list` of extra `File`s to be added to the project. | `[]` |
| <a id="xcodeproj-focused_targets"></a>focused_targets | Optional. A `list` of target labels as `string` values.<br><br>If specified, only these targets will be included in the generated project; all other targets will be excluded, as if they were listed explicitly in the `unfocused_targets` argument. The labels must match transitive dependencies of the targets specified in the `top_level_targets` argument. | `[]` |
| <a id="xcodeproj-import_index_build_indexstores"></a>import_index_build_indexstores | Optional. Whether to import the index stores generated by Index Build.<br><br>This is useful if you want to use the index stores generated by Index Build to speed up Xcode's indexing process. You may not want this enabled if the additional work (mainly disk IO) of importing the index stores is not worth it for your project.<br><br>This only applies when using `generation_mode = "incremental"`. | `True` |
| <a id="xcodeproj-import_index_build_indexstores"></a>import_index_build_indexstores | Optional. Whether to import the index stores generated by Index Build.<br><br>This is useful if you want to use the index stores generated by Index Build to speed up Xcode's indexing process. You may not want this enabled if the additional work (mainly disk IO) of importing the index stores is not worth it for your project. | `True` |
| <a id="xcodeproj-install_directory"></a>install_directory | Optional. The directory where the generated project will be written to.<br><br>The path is relative to the workspace root.<br><br>Defaults to the directory that the `xcodeproj` target is declared in (e.g. if the `xcodeproj` target is declared in `//foo/bar:BUILD` then the default value is `"foo/bar"`). Use `""` to have the project generated in the workspace root. | `None` |
| <a id="xcodeproj-ios_device_cpus"></a>ios_device_cpus | Optional. The value to use for `--ios_multi_cpus` when building the transitive dependencies of the targets specified in the `top_level_targets` argument with the `"device"` `target_environment`.<br><br>**Warning:** Changing this value will affect the Starlark transition hash of all transitive dependencies of the targets specified in the `top_level_targets` argument with the `"device"` `target_environment`, even if they aren't iOS targets. | `"arm64"` |
| <a id="xcodeproj-ios_simulator_cpus"></a>ios_simulator_cpus | Optional. The value to use for `--ios_multi_cpus` when building the transitive dependencies of the targets specified in the `top_level_targets` argument with the `"simulator"` `target_environment`.<br><br>If no value is specified, it defaults to the simulator cpu that goes with `--host_cpu` (i.e. `sim_arm64` on Apple Silicon and `x86_64` on Intel).<br><br>**Warning:** Changing this value will affect the Starlark transition hash of all transitive dependencies of the targets specified in the `top_level_targets` argument with the `"simulator"` `target_environment`, even if they aren't iOS targets. | `None` |
Expand Down
3 changes: 1 addition & 2 deletions xcodeproj/internal/dependencies.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Module for collecting dependencies. Only to be used when \
`xcodeproj.generation_mode = "incremental"` is set."""
"""Module for collecting dependencies."""

load(":memory_efficiency.bzl", "memory_efficient_depset")

Expand Down
13 changes: 1 addition & 12 deletions xcodeproj/internal/docs/bazel.header.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ load("@rules_xcodeproj//xcodeproj:xcodeproj.bzl", "xcodeproj")
- [`top_level_target`](#top_level_target)
- [`top_level_targets`](#top_level_targets)
- [`project_options`](#project_options)
- [Custom Xcode schemes (Incremental generation mode)](#custom-xcode-schemes-incremental-generation-mode)
- [Custom Xcode schemes](#custom-xcode-schemes)
- [`xcschemes.scheme`](#xcschemes.scheme)
- [`xcschemes.test`](#xcschemes.test)
- [`xcschemes.run`](#xcschemes.run)
Expand All @@ -34,17 +34,6 @@ load("@rules_xcodeproj//xcodeproj:xcodeproj.bzl", "xcodeproj")
- [`xcschemes.pre_post_actions.build_script`](#xcschemes.pre_post_actions.build_script)
- [`xcschemes.pre_post_actions.launch_script`](#xcschemes.pre_post_actions.launch_script)
- [`xcschemes.autogeneration_config`](#xcschemes.autogeneration_config)
- [Custom Xcode schemes (Legacy generation mode)](#custom-xcode-schemes-legacy-generation-mode)
- [`xcode_schemes.scheme`](#xcode_schemes.scheme)
- [`xcode_schemes.build_action`](#xcode_schemes.build_action)
- [`xcode_schemes.build_target`](#xcode_schemes.build_target)
- [`xcode_schemes.build_for`](#xcode_schemes.build_for)
- [`xcode_schemes.launch_action`](#xcode_schemes.launch_action)
- [`xcode_schemes.profile_action`](#xcode_schemes.profile_action)
- [`xcode_schemes.test_action`](#xcode_schemes.test_action)
- [`xcode_schemes.diagnostics`](#xcode_schemes.diagnostics)
- [`xcode_schemes.sanitizers`](#xcode_schemes.sanitizers)
- [`xcode_schemes.pre_post_action`](#xcode_schemes.pre_post_action)
- [Xcode build settings](#xcode-build-settings)
- [`xcode_provisioning_profile`](#xcode_provisioning_profile)
- [Providers](#providers)
Expand Down
2 changes: 0 additions & 2 deletions xcodeproj/xcodeproj.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ def xcodeproj(
Index Build to speed up Xcode's indexing process. You may not want
this enabled if the additional work (mainly disk IO) of importing
the index stores is not worth it for your project.

This only applies when using `generation_mode = "incremental"`.
install_directory: Optional. The directory where the generated project
will be written to.

Expand Down
Loading