Skip to content

Releases: bazelbuild/rules_apple

0.30.0

12 Mar 21:41
cf27384
Compare
Choose a tag to compare
  • Add distributable ios_dynamic_framework rule thanks to @mccorkill1
  • Add distributable watchos_static_framework rule thanks to @BalestraPatrick
  • Depend on xctestrunner from source
  • Add avoid_deps to static framework rules
  • Add objc_intent_library and swift_intent_library thanks to @steeve
  • Add bundle_only for dynamic framework imports
  • Remove internal ctx usage from more partials
  • Add support for alternative app icons thanks to @steeve
  • Drop python2 support
  • Remove provides_main
  • This release was tested with Bazel 4.0.0

Please use the release asset from your Bazel WORKSPACE instead of GitHub's asset to reduce download size and improve reproducibility.

SHA-256 digest: 09423d57ace0fca1b84e19326dc9aadd42f2be52f1b5a15bc652d18c2c1dee71

0.21.2

02 Dec 01:43
Compare
Choose a tag to compare
  • Automatically retry failed to open liblaunch_sim.dylib actool error
  • This release was tested with Bazel 3.7.0

Please use the rules_apple.0.21.2.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: a41a75c291c69676b9974458ceee09aea60cee0e1ee282e27cdc90b679dfd30f

0.21.1

10 Nov 01:13
b00fb6d
Compare
Choose a tag to compare
  • Add support for --incompatible_require_linker_input_cc_api with Swift
  • This release is tested with Bazel 3.7.0

Please use the rules_apple.0.21.1.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 734813e44eb5a2fcba5ffd45de9fe5d05325420a5aa1f6c97a3d88fe2c525b17

0.21.0

04 Nov 21:43
6ba2508
Compare
Choose a tag to compare
  • Add support for using --test_filter with multiple test cases

  • Support Metal files in resource bundles

  • Support custom executable name for rules that create executables

  • Allow App Extensions to be bundle loaders

  • Strip bitcode from imported dynamic frameworks and Swift standard libraries when building without bitcode

  • Generate and include the symbols files in the IPA file with --define=apple.package_symbols=true

  • Support substitution of PRODUCT_BUNDLE_PACKAGE_TYPE in Info.plist

  • Pass extra --test_args through to xctestrunner

  • Add support for App Clips

  • Enable configuration transition for rules

  • Sign simulator bundles with com.apple.security.get-task-allow

  • Add codesignopts argument for adding custom codesign flags

  • Add ability to import user-provided dSYM to apple_dynamic_framework_import

  • This release is tested with Bazel 3.7.0

Please use the rules_apple.0.21.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 9537af9ca8a978a9832c08c1bc194897d3805b35fc82dcfedaea1c7626043e5b

0.20.0

11 Aug 23:05
6ee60b3
Compare
Choose a tag to compare
  • This release is tested with Bazel 3.1.0

Please use the rules_apple.0.20.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 55f4dc1c9bf21bb87442665f4618cff1f1343537a2bd89252078b987dcd9c382

0.19.0

11 Oct 17:28
Compare
Choose a tag to compare
  • This release is tested with Bazel 1.0.0
  • The new resource bundle rules should be managed through the data field on objc_library instead of the deps field. (161c41c)
  • The test suite rules (e.g. ios_unit_test_suite) now shares the test bundle across all targets, deduplicating linking and resources processing when building multiple test targets simultaneously. (c922ca6)
  • Add support for tvos_static_framework. (ee4869e)
  • Add support for Swift based ios_static_frameworks and tvos_static_frameworks. Check the documentation for more details. (5360e4d)

Thanks to the following contributors:

Please use the rules_apple.0.19.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 7a7afdd4869bb201c9352eed2daf37294d42b093579b70423490c1b4d4f6ce42

Complete list of changes

0.18.0

09 Aug 19:58
Compare
Choose a tag to compare
  • This release is tested with Bazel 0.28.1
  • Document the tvos_unit_test and tvos_ui_test rules. (736c72a)
  • Refactored AppleResourceInfo provider to reduce memory consumption. (e424bbe)
  • The apple.trim_lproj_locales flag strips any .lproj folders that don't have a matching .lproj folder in the base of the app(e.g. bundles from Frameworks that are localized). (db0bfa0)
  • ios_unit_test and ios_ui_test now accept a frameworks attribute which can link to ios_framework targets. This allows sharing of code and resources across multiple test targets that contain common dependencies, and avoids the duplicate processing actions for those. (9089a84)
  • macos_unit_tests and macos_ui_test now accept a additional_contents attribute which can copy files into specific subdirectories of the Contents folder. (19e97fb)
  • Attributes were documented below rules, but not shown in the signature. (92f13dd)
  • Add explanation that ios_*_test_suite generates a test_suite (but doesn't work like the general test_suite) and adds links between the ios_*_test and ios_*_test_suite rules with notes on usage. (2d45901)
  • Adding a new 'resources' field to all Apple rules that support bundling. The resources attribute is used for adding files to the bundles resouce list that are not otherise associated with any objc_library or swift_library. The resources will be made available in the resulting binaries resources folder. For example, a macos_application would include the resources in the <name>.app/Contents/Resources folder and an ios_application would include the resources in the <name>.app/Resources folder. (fcf48b0)
  • The environment contents of the Info.plist have been extracted into shared targets per platform so that their output can be cached and reused across multiple targets. (4d41364) Thanks @keith!

Thanks to the following contributors:

Please use the rules_apple.0.18.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: a045a436b642c70fb0c10ca84ff0fd2dcbd59cc89100d597a61e8374afafb366

Complete list of changes

0.17.2

06 Jun 15:09
Compare
Choose a tag to compare
  • This release is tested with Bazel 0.26
  • Small cleanups within the rules for compatibility with future Bazel releases.

Please use the rules_apple.0.17.2.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 6efdde60c91724a2be7f89b0c0a64f01138a45e63ba5add2dca2645d981d23a1

Complete list of changes

0.17.1

05 Jun 17:51
Compare
Choose a tag to compare
  • This release is tested with Bazel 0.26
  • Update the rules_swift dependency.

Please use the rules_apple.0.17.1.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: c663661a21c1ceaae98765fd7ec3d15775117b3c15bce99d1135e05e345cc0aa

Complete list of changes

0.17.0

31 May 17:30
Compare
Choose a tag to compare
  • This release is tested with Bazel 0.26.0
  • Some structured_resource files were incorrectly being processed (e.g. storyboards). This change fixes that incorrect behavior. (0647172)
  • Fix application_extension linkopt into -fapplication-extension. (8a7a7cb)

Thanks to the following contributors:

Please use the rules_apple.0.17.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: f9c028cbb69e9dabc40b3c78843c1610ba9624580bfb9975ceffaebdb0751b4c

Complete list of changes