Skip to content

Releases: bazelbuild/rules_apple

3.9.0

18 Sep 13:59
ab3cc34
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.8.0...3.9.0

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.9.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "f8fa96115c33e128cb72e9b7118a5f9294731a7dda8e36d04ddb582671f48dc1",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.9.0/rules_apple.3.9.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.8.0

12 Aug 15:42
01ea71d
Compare
Choose a tag to compare

What's Changed

  • Add support for alternate app icons in UIKit via actool in Xcode 14+ (first introduced in 13) by @vakhidbetrakhmadov in #2505
  • Add implementation_deps to _FRAMEWORK_PROVIDERS_ASPECT_ATTRS by @brentleyjones in #2508
  • Allow GenerateCodesigningDossier to run in a sandbox and remotely by @brentleyjones in #2509
  • Add use_runfiles aspect_hint to include runfiles for specific cc_libr… by @gkoreman in #2479
  • Fix bad docc argument for multiple symbol graphs by @luispadron in #2511

Full Changelog: 3.7.0...3.8.0

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.8.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "62847b3f444ce514ae386704a119ad7b29fa6dfb65a38bff4ae239f2389a0429",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.8.0/rules_apple.3.8.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.7.0

23 Jul 15:22
90ec747
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.6.0...3.7.0

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.7.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "ef90747e779ff13c887f4972579432b25c8378b6954e1ebfca52651b5f2099c1",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.7.0/rules_apple.3.7.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.6.0

27 Jun 14:20
2c42405
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • "Make" variables are now expanded inside of values in the env dictionary on test rules: #2476
    • If you previously used env like this: env = ["$SOME_OTHER_VAR"] you will now need to use env = ["$$SOME_OTHER_VAR"]

Other Changes

  • Added support for the --hosting-base-path argument to docc_archive: #2455
  • Added support for bundling dylib deps from CcInfo: #2473
  • Added support for both pre-2.0 and post-2.0 rules_swift when using Blzmod: #2480
  • Changed .xctestrun key BAZEL_TEST_PRODUCT_MODULE_NAME: #2454
  • Updated docc_archive to support deps and data: #2450
  • You can now nest .app bundles when using tree artifacts: #2449
  • Fixed broken URL for platforms repo version 0.0.9: #2452
  • Fixed provider type checking for AppleDynamicFrameworkProvider migration: #2453

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.6.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "d0f566ad408a6e4d179f0ac4d50a93494a70fcff8fab4c4af0a25b2c241c9b8d",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.6.0/rules_apple.3.6.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.5.1

09 Apr 13:41
d4b6341
Compare
Choose a tag to compare

What's Changed

  • Codesigning is now properly unsandboxed again (which regressed in 3.5.0)

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.5.1", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "b4df908ec14868369021182ab191dbd1f40830c9b300650d5dc389e0b9266c8d",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.5.1/rules_apple.3.5.1.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.5.0

05 Apr 15:49
1c5720a
Compare
Choose a tag to compare

What's Changed

  • Remove ctx.resolve_tools in favor of ctx.actions.run(executable = …) and ctx.actions.run(tools = ...) (Thanks, @tjgq!)
  • Update apple_support, platforms, and rules_swift

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.5.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "c5387f966966000ab65284d4535d956491e7d31ed92ec79731c52e8fd4a49d5e",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.5.0/rules_apple.3.5.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.4.0

28 Mar 13:22
c00a35f
Compare
Choose a tag to compare

What's Changed

  • Fix apple_dynamic_framework_import search paths, thanks @jpsim!
  • Allow underscores in bundle identifiers, thanks @aaronsky!
  • Fix undefined symbols warning with intents stub binary, thanks @keith!
  • Fix private header support in experimental_mixed_language_library, thanks @luispadron!
  • Add apple_metal_library rule, thanks @aaronsky!
  • Allow space in bundle_name for ipa_post_processor, thanks @luispadron!
  • Bundle libMainThreadChecker.dylib to detect main thread violations, thanks @chiragramani!
  • Replace usages of to_json() with json.encode(..), thanks @c-mita!
  • Update rules_swift to 1.17.0
  • Add locales_to_include as target attribute, thanks @sebastianv1!
  • Fix ios_extension with resources, thanks @jszumski!

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.4.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "ed432a2d5929452748bd53a4ff9e652f2332283eb3d7ffad6cb63aab96a06301",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.4.0/rules_apple.3.4.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.3.0

20 Feb 20:39
26f0100
Compare
Choose a tag to compare

What's Changed

  • Disable pngcrush on macOS by default, thanks @maxbelanger!
  • Don't set an install path for macOS QuickLook plugins, thanks @maxbelanger!
  • Fix issues with experimental_mixed_language_library header map, thanks @luispadron!
  • Fix apple_static_framework_import missing search paths, thanks @vakhidbetrakhmadov!
  • Fix dynamic framework skipping lipo, thanks @xiemotongye!
  • Fix custom repo name when using bzlmod, thanks @brentleyjones!
  • Fix bazel @ HEAD compatibility

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.3.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "65eafafe94b8573e74160b7f587d091a0fa34d69e6d2c41c4afb1eef140383ec",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.3.0/rules_apple.3.3.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.2.1

22 Jan 18:54
6ef5ca4
Compare
Choose a tag to compare

What's Changed

  • Fix more incompatibilities with bazel @ HEAD

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.2.1", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "9c4f1e1ec4fdfeac5bddb07fa0e872c398e3d8eb0ac596af9c463f9123ace292",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.2.1/rules_apple.3.2.1.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

3.2.0

21 Jan 16:05
813b031
Compare
Choose a tag to compare

What's Changed

  • Avoid failure when shutting down a simulator already in the shutdown state by @ileitch in #2311
  • Update test runner tests to iPhone Xs by @mattrobmattrob in #2312
  • Add validation for platform type attribute in apple_{,static}_xcframework rule by @thii in #2313
  • Fix/support implementation deps in objc library by @xinzhengzhang in #2317
  • Avoid the deprecated --product_type argument for actool actions, use the new arguments for the sticker icons for messages extensions. by @brentleyjones in #2316
  • [Docs] Refresh iOS tutorial by @BalestraPatrick in #2314
  • Fix unbound variable when printing an archive_contents_test failure message by @jszumski in #2319
  • Remove Samuel from OWNERS by @keith in #2321
  • Include dSYMs for any bundled extension targets in the app's xcarchive by @jszumski in #2320
  • Fix dSYM generation for extensions containing spaces in bundle_name by @jszumski in #2323
  • Remove platform_mappings from README.md by @luispadron in #2325
  • Add support to run visionos_application in simulator via bazel run by @BalestraPatrick in #2327
  • Remove subset of valid values from families attribute documentation by @BalestraPatrick in #2326
  • Add swiftinterface_imports to apple_static_xcframework_import by @keith in #2328
  • Support extensions within single-target watchOS apps by @markvasiv in #2309
  • Downgrade last_green to avoid failure by @BalestraPatrick in #2332
  • Update rules_xcodeproj version on ios-app.md by @herlianzhang in #2333
  • Cherry-pick visionOS changes for Xcode 15.1 and more by @BalestraPatrick in #2331
  • Removing --experimental_strict_conflict_checks flag by @sgowroji in #2336
  • Pass launch arguments to simctl launch command by @BalestraPatrick in #2338
  • Fix the test_file location for UITests by @codeman9 in #2349
  • Fix minor issues with module_map rule by @luispadron in #2350
  • Add support for clang modules in experimental_mixed_language_library by @luispadron in #2351
  • Collect data from objc_import by @cpsauer in #2346
  • Added swift_module param in partials to use it in xibs, storyboards and datamodels compilation by @tymurmustafaiev in #2335
  • Fix deprecation warning in imported_dynamic_framework_processor.py by @jszumski in #2334
  • Add support for --attachment_lifetime in ios_xctestrun_runner by @kapoorlakshya in #2347
  • Fix compatibility with --incompatible_objc_provider_remove_linking_info by @keith in #2356
  • Update bazel version support table by @keith in #2358
  • Update rules_swift to avoid objc provider linking removal issues by @keith in #2359
  • Remove more bitcode support by @keith in #2362
  • Avoid looking at install name of a versioned framework if there's only one version by @maxbelanger in #2364
  • Update rules_swift by @keith in #2369
  • Add header_map rule by @luispadron in #2352
  • Add support for headermap to experimental_mixed_language_library by @luispadron in #2372

This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "3.2.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "841b8d1bd270ee19c75c5e953be1b58ace0ecb35ed97c56f53c28392ef86e0d7",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/3.2.0/rules_apple.3.2.0.tar.gz",
)

load(
    "@build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

New Contributors

Full Changelog: 3.1.1...3.2.0