Releases: bazelbuild/rules_apple
1.0.1
- Fix rules_swift and apple_support pins to point to their 1.0.0 releases
- This release is compatible with 5.x LTS and bazel 6.x rolling releases
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: 36072d4f3614d309d6a703da0dfe48684ec4c65a89611aeb9590b45af7a3e592
1.0.0
- Add
apple_static_xcframework
rule for creating distributable xcframeworks that contain static frameworks (only supported on bazel 6.x). See the docs for usage examples - Add
local_provisioning_profile
rule for automatically discovering provisioning profiles installed on the machine. See the docs for usage examples - Add support for CoreML
mlpackage
files, thanks @a2! - Add
swift_apple_core_ml_library
for generating Swift source for CoreML models, thanks @a2! - Emit result bundles for macOS unit tests, thanks @sebastianv1!
- Add
forced_cpus
toapple_universal_binary
to support always building fat binaries - Fix dSYM filename with custom executable names, thanks @rsahara!
- Switch to standard semver release versioning
- This release is compatible with 5.x LTS and bazel 6.x rolling releases
Thanks to @brentleyjones, @mattrobmattrob, @BalestraPatrick, @thii, and everyone else above who contributed to this release!
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: f5f4084830a7aac2b4c5fb4e9faa0f781fcf1d43e4282a015768e18f3daff603
0.34.2
- Fix compatibility with bazel removing
_j2objc_dead_code_pruner
at HEAD. - Add support for
--test_env=COVERAGE_PRODUCE_JSON=1
to generate json coverage output when running tests, thanks @maxwellE - Add
tvos_sim_arm64
config setting, thanks @dflems - Fix test iOS coverage support on M1s
- This release is compatible with 5.x LTS and bazel 6.x rolling releases
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: 12865e5944f09d16364aa78050366aca9dc35a32a018fa35f5950238b08bf744
0.34.0
- Add support for importing xcframeworks, see the docs for usage. Thanks @thii!
- Add support for reusing a single iOS simulator for testing using
--test_env=REUSE_GLOBAL_SIMULATOR=1
. It's recommended you pass--local_test_jobs=1
when using this feature to avoid any races between multiple test bundles attempting to run on the simulator at the same time - Fix openssl command default change on macOS 12.3, thanks @tnek!
- Fix complicationset usage, thanks @BalestraPatrick!
- Add support for running iOS unit tests on device with
--test_arg=--destination=platform=ios_device,id=YOUR_DEVICE_UDID
- Add support for
bazel coverage
in iOS and macOS tests - Add support for skipping iOS unit tests using
--test_filter=-FeatureTests/someTest
, thanks @birwin93! - Set
TEST_SRCDIR
in iOS unit tests environment - Fix bazel 6.x support for breaking API changes in bazel
- Fix swift-stdlib-tool usage for upstream Swift bugs
- Fix watchos_x86_64 support, thanks @dflems!
- Update xctestrunner and rules_swift
- This release is compatible with 5.x LTS and bazel 6.x rolling releases
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: 4161b2283f80f33b93579627c3bd846169b2d58848b0ffb29b5d4db35263156a
0.33.0
- Switch default iOS simulator CPU to match host arch for M1 support (pass
--ios_multi_cpus=x86_64
if you need the previous behavior) - Add support for backdeployed Swift concurrency libraries
- Update xctestrunner
- Add
additional_linker_inputs
to some rules - Add rule for producing xcframeworks for iOS
- Add
universal_apple_binary
rule for multi-arch binaries - Add some more entitlements file validation
- Remove use of ObjcProvider.headers, which has been removed from bazel HEAD
- Thanks to @brentleyjones and @thii for many contributions
- This release was tested with Bazel 5.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: a5f00fd89eff67291f6cd3efdc8fad30f4727e6ebb90718f3f05bbf3c3dd5ed7
0.32.0
- Breaking:
--define=apple.package_symbols
was removed and replaced with settinginclude_symbols_in_bundle
on the top level bundle target, such asios_application
instead - Enabled passing
--test_arg=--coommand_line_args=arg
to pass extra arguments through toxctestrunner
, thanks @ra1028! - Update xctestrunner to support newer python versions
- Add
watchos_unit_test
andwatchos_ui_test
rules - Add support for smartcard identities, thanks @thiagohmcruz!
- Add bundle_id parameter to apple_resource_bundle, thanks @steeve!
- Fix
macos_unit_test
on M1 macs, thanks @Aigeruth! - Add optional
minimum_deployment_os_version
attribute, see #1099 for details - Add
apple.skip_codesign_simulator_bundles
feature to skip codesigning on specific targets. This will eventually replaceapple.codesign_simulator_bundles
- Add
ios_sim_arm64
architecture support for building for the arm64 simulator (requires bazel 5.0) - This release is tested with Bazel 5.x
- NOTE: This is likely the final release that will support bazel 4.x
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: 77e8bf6fda706f420a55874ae6ee4df0c9d95da6c7838228b26910fc82eea5a2
0.31.3
- Remove usage of
StdRedirect.dylib
which was removed from bazel core - This release is 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: 0052d452af7742c8f3a4e0929763388a66403de363775db7e90adecb2ba4944b
0.31.2
- Add support for upstream dSYM API changes
- This release is 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: c84962b64d9ae4472adfb01ec2cf1aa73cb2ee8308242add55fa7cc38602d882
0.31.1
- Fix codesigning encoding issues
- This release is 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: 84f34c95e68f65618b54c545f75e2df73559af47fb42ae28b17189fcebb7ed17
0.31.0
WARNING: Avoid this release, there is a bug in the codesigning logic that causes a python crash
- Allow
[ios|watchos|tvos]_dynamic_framework
targets to be depended on by byswift_library
targets - Allow ad-hoc signed
BundleTreeApp
actions to be cached - Remove
swiftsourceinfo
files from imported frameworks - Add
codesign_inputs
to supportcodesignopts
with remote execution - Use python3.6 APIs for some tools
- This release is 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: f2ac067bae73433186aaaac03027d454f01b5ca409e8df00eec0310da76a8033