Buck: apple_package()

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 name of the rule.

  • 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 in its deps.

  • 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',
)