load("@rules_ios//rules:app.bzl", "ios_application")
ios_application(name, families, apple_library, infoplists, infoplists_by_build_setting, xcconfig,
xcconfig_by_build_setting, kwargs)
Builds and packages an iOS application.
PARAMETERS
Name |
Description |
Default Value |
name |
The name of the iOS application. |
none |
families |
A list of iOS device families the target supports. |
["iphone", "ipad"] |
apple_library |
The macro used to package sources into a library. |
<function apple_library from //rules:library.bzl> |
infoplists |
A list of Info.plist files to be merged into the iOS app. |
[] |
infoplists_by_build_setting |
A dictionary of infoplists grouped by bazel build setting.
Each value is applied if the respective bazel build setting is resolved during the analysis phase.
If '//conditions:default' is not set the value in 'infoplists' is set as default. |
{} |
xcconfig |
A dictionary of xcconfigs to be applied to the iOS app by default. |
{} |
xcconfig_by_build_setting |
A dictionary of xcconfigs grouped by bazel build setting.
Each value is applied if the respective bazel build setting is resolved during the analysis phase.
If '//conditions:default' is not set the value in 'xcconfig' is set as default. |
{} |
kwargs |
Arguments passed to the apple_library and ios_application rules as appropriate. |
none |