Releases: bazelbuild/rules_apple
0.30.0
- 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
andswift_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
- 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
- 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
-
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
0.19.0
- This release is tested with Bazel 1.0.0
- The new resource bundle rules should be managed through the
data
field onobjc_library
instead of thedeps
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
andtvos_static_frameworks
. Check the documentation for more details. (5360e4d)
Thanks to the following contributors:
- Dave Lee (@kastiglione): 9f23874, abed55b, 3e18016, b88235a, 9a27733, 4f75340, 8c5d88a, ed97130
- Keith Smiley (@keith): ccfa2fa, b7830d8, db3f56e, 1cf115a, 8ecf0f7, 7f89fab, fb6d0d2, 2e6f524
- Thi (@thii): dffdda4, 0068607
Please use the rules_apple.0.19.0.tar.gz
release asset from your Bazel WORKSPACE
.
SHA-256 digest: 7a7afdd4869bb201c9352eed2daf37294d42b093579b70423490c1b4d4f6ce42
0.18.0
- This release is tested with Bazel 0.28.1
- Document the
tvos_unit_tes
t andtvos_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
andios_ui_test
now accept aframeworks
attribute which can link toios_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
andmacos_ui_tes
t now accept aadditional_contents
attribute which can copy files into specific subdirectories of theContents
folder. (19e97fb)- Attributes were documented below rules, but not shown in the signature. (92f13dd)
- Add explanation that
ios_*_test_suite
generates atest_suite
(but doesn't work like the generaltest_suite
) and adds links between theios_*_test
andios_*_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 anios_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:
- Dave Lee (@kastiglione): 85b7656, 8fea6c5, 0d70916
- Keith Smiley (@keith): 0e8f3a8, 34d0ae9, 31ab705, a306afe, ec7b146, 0b334c4, 10066c5, 4d41364, 9e7b03e, 21ee6d9, c24c564, 1d23ae3
- Thi Doãn (@thii): 87c6481, 6c965fb
Please use the rules_apple.0.18.0.tar.gz
release asset from your Bazel WORKSPACE
.
SHA-256 digest: a045a436b642c70fb0c10ca84ff0fd2dcbd59cc89100d597a61e8374afafb366
0.17.2
- 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
0.17.1
- 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
0.17.0
- 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:
- Danny Weinberg (@FuegoFro): 3160155
- Keith Smiley (@keith): 0a0b09a, 4ca81b6, 0f02b89
- Steeve Morin (@steeve): 3b11054
- Thi Doãn (@thii): 7d55b72, 59b8fd1
Please use the rules_apple.0.17.0.tar.gz
release asset from your Bazel WORKSPACE
.
SHA-256 digest: f9c028cbb69e9dabc40b3c78843c1610ba9624580bfb9975ceffaebdb0751b4c