Buck: apple_package()
Support Ukraine. Help Provide Humanitarian Aid to Ukraine.

apple_package()

This is liable to change in the future.

An apple_package() rule takes the output of an apple_bundle() rule and compresses it in an IPA (iOS App Store Package) file. This rule can be customized using the config options [apple].package_command and [apple].package_extension.

Arguments

  • name (required) #

    The short name for this build target.

  • bundle (required) #

    A build target identifying an apple_bundle() rule whose output will be stored in the IPA package generated by this rule.

  • visibility (defaults to []) #

    List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their deps or exported_deps attributes. For more information, see visibility.

  • licenses (defaults to []) #

    Set of license files for this library. To get the list of license files for a given build rule and all of its dependencies, you can use buck query.

  • labels (defaults to []) #

    Set of arbitrary strings which allow you to annotate a build rule with tags that can be searched for over an entire dependency tree using buck query attrfilter().

Examples

apple_package(
  name = 'AppPackage',
  bundle = ':AppBundle',
)