Skip to main content

apple

RuleDescription
apple_app_intentsAn apple_app_intents() rule represents App Intents definitions for Apple platforms.
apple_asset_catalogAn apple_asset_catalog() rule contains resources stored in Apple asset catalog directories.
apple_binaryAn apple_binary() rule builds a native executable - such as an iOS or OSX app - from the supplied set of Objective-C/C++ source files and dependencies.
apple_bundleAn apple_bundle() rule takes an Apple binary and all of the resources and asset catalogs in the rule's transitive dependencies and generates a bundle containing all of those files.
apple_info_plistAn apple_info_plist() rule defines mutations to apply to an Info.plist file.
apple_ipa_packageAn apple_ipa_package() rule packages an apple_bundle() into an IPA file for distribution.
apple_libraryAn apple_library() rule represents a set of Objective-C/C++/Swift source files and is similar to a cxx_library() rule with which it shares many attributes.
apple_library_for_distributionAn apple_library_for_distribution() rule creates a library for distribution (for instance via a Framework or Xcframework) with link group support.
apple_macos_bundleAn apple_macos_bundle() rule generates a macOS application bundle.
apple_metal_libraryAn apple_metal_library() rule contains .metal and .h source files to be bundled together to create a .metallib
apple_packageAn apple_package() rule takes the output of an apple_bundle() rule and compresses it in an IPA (iOS App Store Package) file.
apple_provisioning_profile_sourcesAn apple_provisioning_profile_sources() rule specifies a set of provisioning profile targets that are available for code signing Apple bundles.
apple_resourceAn apple_resource() rule contains sets of resource directories, files and file variants that can be bundled in an application bundle.
apple_resource_dedupe_aliasAn apple_resource_dedupe_alias() rule creates an alias for a resource target with a resource configuration transition applied.
apple_selective_debuggingAn apple_selective_debugging() rule configures which targets have debug information included in the final binary.
apple_simulatorsAn apple_simulators() rule configures the Apple simulator environment used for running tests.
apple_spm_packageAn apple_spm_package() rule packages a set of dependencies into a Swift Package Manager (SPM) compatible package.
apple_static_archiveAn apple_static_archive() rule combines one or more Apple libraries into a single static archive (.a file).
apple_testAn apple_test() rule contains Objective-C/C++ code which can be built and used to test code contained in other rules.
apple_toolchainAn apple_toolchain() rule defines the set of tools and settings used to build Apple targets.
apple_toolsThe apple_tools rule exposes a set of supplementary tools required by the Apple rules internally.
apple_universal_executableAn apple_universal_executable() rule takes a target via its binary attribute, builds it for multiple architectures and combines the result into a single binary using lipo.
apple_watchos_bundleAn apple_watchos_bundle() rule generates a watchOS application bundle.
apple_xcframeworkAn apple_xcframework() rule packages a framework target built for multiple platforms (e.g., iOS device, iOS simulator, macOS) into a single .xcframework bundle that can be distributed and consumed by Xcode projects or other build systems.
apple_xcuitestAn apple_xcuitest() rule defines an XCUITest UI test target.
core_data_modelAn core_data_model() rule contains models for Apple's Core Data framework.
cxx_universal_executableA cxx_universal_executable() rule takes a target via its binary attribute, builds it for multiple architectures and combines the result into a single binary using lipo.
mockingbird_mockA mockingbird_mock() rule generates mock implementations using the Mockingbird mocking framework.
prebuilt_apple_frameworkA prebuilt_apple_framework() rule represents a set of Objective-C/C++ source files and is very similar to a prebuilt_cxx_library() rule.
required_reasons_toolsA required_reasons_tools() rule bundles the tools used to validate Apple Required Reasons API (RRAPI) usage against a bundle's .xcprivacy privacy manifest.
resource_group_mapA resource_group_map() rule defines a mapping of resource groups for an apple_bundle().
scene_kit_assetsA scene_kit_assets() rule specifies a SceneKit asset catalog (.scnassets directory) to be included in an apple_bundle().
swift_toolchainA swift_toolchain() rule defines the Swift compiler and associated tools used to build Swift code in Apple targets.
xcode_files