You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contains the executable binary output that was built using
@@ -249,6 +249,7 @@ Contains the executable binary output that was built using
249
249
250
250
| Name | Description |
251
251
| :------------- | :------------- |
252
+
| <aid="AppleExecutableBinaryInfo-objc"></a>objc | apple_common.Objc provider used for legacy linking behavior. |
252
253
| <aid="AppleExecutableBinaryInfo-binary"></a>binary | The executable binary artifact output by `link_multi_arch_binary`. |
253
254
| <aid="AppleExecutableBinaryInfo-cc_info"></a>cc_info | A `CcInfo` which contains information about the transitive dependencies linked into the binary. |
| <aid="provisioning_profile_repository-name"></a>name | A unique name for this repository. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
| <aid="provisioning_profile_repository-repo_mapping"></a>repo_mapping | In `WORKSPACE` context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<br><br>For example, an entry `"@foo": "@bar"` declares that, for any time this repository depends on `@foo` (such as a dependency on `@foo//some:target`, it should actually resolve that dependency within globally-declared `@bar` (`@bar//some:target`).<br><br>This attribute is _not_ supported in `MODULE.bazel` context (when invoking a repository rule inside a module extension's implementation function). | <ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | optional ||
485
+
| <aid="provisioning_profile_repository-repo_mapping"></a>repo_mapping | In `WORKSPACE` context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<br><br>For example, an entry `"@foo": "@bar"` declares that, for any time this repository depends on `@foo` (such as a dependency on `@foo//some:target`), it should actually resolve that dependency within globally-declared `@bar` (`@bar//some:target`).<br><br>This attribute is _not_ supported in `MODULE.bazel` context (when invoking a repository rule inside a module extension's implementation function). | <ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | optional ||
Copy file name to clipboardExpand all lines: doc/rules-ios.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,43 @@ ios_build_test(
151
151
| <aid="ios_build_test-targets"></a>targets | The targets to check for successful build. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
| <aid="ios_dylib-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
173
+
| <aid="ios_dylib-deps"></a>deps | A list of dependent targets that will be linked into this target's binary(s). Any resources, such as asset catalogs, that are referenced by those targets will also be transitively included in the final bundle(s). | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
174
+
| <aid="ios_dylib-additional_linker_inputs"></a>additional_linker_inputs | A list of input files to be passed to the linker. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
175
+
| <aid="ios_dylib-base_bundle_id"></a>base_bundle_id | The base bundle ID rule to dictate the form that a given bundle rule's bundle ID prefix should take. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
176
+
| <aid="ios_dylib-bundle_id"></a>bundle_id | The bundle ID (reverse-DNS path followed by app name) for this target. Only use this attribute if the bundle ID is not intended to be composed through an assigned base bundle ID referenced by `base_bundle_id`. | String | optional |`""`|
177
+
| <aid="ios_dylib-bundle_id_suffix"></a>bundle_id_suffix | A string to act as the suffix of the composed bundle ID. If this target's bundle ID is composed from the base bundle ID rule referenced by `base_bundle_id`, then this string will be appended to the end of the bundle ID following a "." separator. | String | optional |`"_"`|
178
+
| <aid="ios_dylib-codesign_inputs"></a>codesign_inputs | A list of dependencies targets that provide inputs that will be used by `codesign` (referenced with `codesignopts`). | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
179
+
| <aid="ios_dylib-codesignopts"></a>codesignopts | A list of strings representing extra flags that should be passed to `codesign`. | List of strings | optional |`[]`|
180
+
| <aid="ios_dylib-exported_symbols_lists"></a>exported_symbols_lists | A list of targets containing exported symbols lists files for the linker to control symbol resolution.<br><br>Each file is expected to have a list of global symbol names that will remain as global symbols in the compiled binary owned by this framework. All other global symbols will be treated as if they were marked as `__private_extern__` (aka `visibility=hidden`) and will not be global in the output file.<br><br>See the man page documentation for `ld(1)` on macOS for more details. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
181
+
| <aid="ios_dylib-families"></a>families | A list of device families supported by this rule. At least one must be specified. | List of strings | optional |`["iphone", "ipad"]`|
182
+
| <aid="ios_dylib-linkopts"></a>linkopts | A list of strings representing extra flags that should be passed to the linker. | List of strings | optional |`[]`|
183
+
| <aid="ios_dylib-minimum_deployment_os_version"></a>minimum_deployment_os_version | A required string indicating the minimum deployment OS version supported by the target, represented as a dotted version number (for example, "9.0"). This is different from `minimum_os_version`, which is effective at compile time. Ensure version specific APIs are guarded with `available` clauses. | String | optional |`""`|
184
+
| <aid="ios_dylib-minimum_os_version"></a>minimum_os_version | A required string indicating the minimum OS version supported by the target, represented as a dotted version number (for example, "9.0"). | String | required ||
| <aid="ios_dylib-provisioning_profile"></a>provisioning_profile | The provisioning profile (`.provisionprofile` file) to use when creating the bundle. This value is optional for simulator builds as the simulator doesn't fully enforce entitlements, but is required for device builds. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
187
+
| <aid="ios_dylib-stamp"></a>stamp | Enable link stamping. Whether to encode build information into the binary. Possible values:<br><br>*`stamp = 1`: Stamp the build information into the binary. Stamped binaries are only rebuilt when their dependencies change. Use this if there are tests that depend on the build information. * `stamp = 0`: Always replace build information by constant values. This gives good build result caching. * `stamp = -1`: Embedding of build information is controlled by the `--[no]stamp` flag. | Integer | optional |`-1`|
188
+
| <aid="ios_dylib-version"></a>version | An `apple_bundle_version` target that represents the version for this target. See [`apple_bundle_version`](https://github.com/bazelbuild/rules_apple/blob/master/doc/rules-general.md?cl=head#apple_bundle_version). | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
0 commit comments