Skip to content

Releases: iMostfa/rules_ios

8.2.2

Choose a tag to compare

@iMostfa iMostfa released this 28 Aug 23:56

Release 8.2.2

Documentation Improvements

  • Added comprehensive Bazel 8 compatibility documentation (BAZEL_8_CHANGES_EXPLAINED.md)
  • Added detailed references document (BAZEL_8_CHANGES_REFERENCES.md)
  • Included inline source links for all technical concepts
  • Added specific evidence for CcInfo provider unification

Archive SHA256

370b82eae0050cd5524c50ff2d520dd81f2b9ac79ce90bcf8ebaba409fba23e1

8.2.1

Choose a tag to compare

@iMostfa iMostfa released this 28 Aug 09:29

Release 8.2.1

Documentation

  • Added comprehensive Bazel 8 compatibility changes documentation
  • Added detailed technical vocabulary explanations
  • Added references and sources for all technical concepts
  • Improved documentation with inline links to source code and issues

Archive SHA256

4a153f72cec5e3737ab97d9f5367f58f7af86e495b3341ba901b07891326f13c

Full Changelog: 8.1.0...8.2.1

8.1.0

Choose a tag to compare

@iMostfa iMostfa released this 25 Aug 07:32

Release 8.1.0 - Bazel 8 Compatibility

What's Changed

  • Bazel 8 compatibility support - Full support for Bazel 8 with proper handling of removed ObjcInfo fields
  • Fixed transitive dependency linking - Swift and Objective-C transitive dependencies are now properly linked
  • ARM64 simulator support - Added proper architecture configuration for ARM64 simulators
  • Framework middleman improvements - Enhanced dependency propagation through CcInfo and SwiftInfo providers

Key Fixes

  • Fixed undefined symbols errors when linking Swift frameworks
  • Restored .lo file collection for alwayslink libraries
  • Fixed AppleDynamicFramework provider compatibility with Bazel 8
  • Properly handle transitive Swift module dependencies

Bzlmod Snippet

bazel_dep(name = "rules_ios", version = "8.1.0", repo_name = "build_bazel_rules_ios")

Workspace Snippet

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

http_archive(
    name = "build_bazel_rules_ios",
    sha256 = "08f40226a2ab9b763d7a11540c3f7f424c3fc49f818bde0e42d488ebaf2168c8",
    url = "https://github.com/bazel-ios/rules_ios/releases/download/8.1.0/rules_ios.8.1.0.tar.gz",
)

load(
    "@build_bazel_rules_ios//rules:repositories.bzl",
    "rules_ios_dependencies"
)

rules_ios_dependencies()

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_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

load(
    "@com_google_protobuf//:protobuf_deps.bzl",
    "protobuf_deps",
)

protobuf_deps()

8.2.0

Choose a tag to compare

@iMostfa iMostfa released this 28 Aug 08:52

Release 8.2.0

New Features

  • Support for Macros in rules_ios
  • Full Bazel 8 compatibility support

Bug Fixes

  • Fix Bazel 8 linking issues for transitive dependencies
  • Proper handling of .lo files (alwayslink libraries)
  • SwiftInfo propagation improvements

Archive SHA256

5e7abdcdb43993b6a4067b8a8b4d1669e7f6ad6271e507a780c3aba8f81a2223

Full Changelog: https://github.com/iMostfa/rules_ios/commits/8.2.0

8.0.0

Choose a tag to compare

@iMostfa iMostfa released this 24 Aug 14:47

5.4.0-bazel8: Bazel 8 Compatibility

Choose a tag to compare

@iMostfa iMostfa released this 24 Aug 14:54

Bazel 8 Compatibility Release

This release adds full support for Bazel 8 while maintaining backward compatibility with Bazel 7.

What's Changed

  • 🔧 Fixed ObjcInfo provider compatibility for Bazel 8
  • 🔧 Handled removal of AppleDynamicFramework provider in Bazel 8
  • 📦 Updated all dependencies to Bazel 8-compatible versions
  • 🚀 Added runtime version detection utilities
  • ✅ Updated CI to test with both Bazel 7 and 8
  • 📖 Added Bazel 8 migration guide to README

Breaking Changes

None - this release maintains backward compatibility with Bazel 7

Compatibility

  • Bazel: 7.0.0 - 8.0.0
  • Xcode: 14.0+
  • macOS: 12.0+

Bzlmod Snippet

bazel_dep(name = "rules_ios", version = "5.4.0-bazel8", repo_name = "build_bazel_rules_ios")

Workspace Snippet

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

http_archive(
    name = "build_bazel_rules_ios",
    sha256 = "b1a0af3836113c7beb186be92745e19804f1defba418f659f629fb70ff497ed3",
    url = "https://github.com/iMostfa/rules_ios/releases/download/5.4.0-bazel8/rules_ios.5.4.0-bazel8.tar.gz",
)

load(
    "@build_bazel_rules_ios//rules:repositories.bzl",
    "rules_ios_dependencies"
)

rules_ios_dependencies()

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_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

load(
    "@com_google_protobuf//:protobuf_deps.bzl",
    "protobuf_deps",
)

protobuf_deps()

Migration from Bazel 7 to Bazel 8

If you're upgrading from Bazel 7 to Bazel 8, update your dependencies in MODULE.bazel:

  • apple_support to 1.21.1 or later
  • rules_cc to 0.0.16 or later
  • bazel_skylib to 1.7.1 or later

See the README for detailed migration instructions.