Skip to content

1.7.1

Compare
Choose a tag to compare
@brentleyjones brentleyjones released this 20 Jun 13:31
· 646 commits to main since this release
1.7.1
35d7b56

What’s Changed

Since 1.7.0

  • Fixed replacement label handling when wrapped in a macro: #2291
  • Fixed BwX Swift testing search paths: #2295
  • Fixed possible bazel build output truncation: #2282
  • Fixed indexing of Swift macros: #2292
  • Fixed Swift macros in BwX mode: #2294
  • Added a usual error message when no diagnostics are parsed: #2286
  • Added support for swift_compiler_plugin targets: #2293
  • We now set --repo_env=XCODE_VERSION: #2287

Below are the changes that were in 1.7.0

Adjusted

  • All clang flag processing has been moved into the execution phase: #2212
  • Application schemes are now sorted before other auto generated schemes: #2211
  • Removed special handling for -strict-concurrency: #2214
  • Removed special handling for -enable-testing: #2215
  • Removed special handling for SWIFT_OPTIMIZATION_LEVEL: #2227
  • Removed special handling of ENABLE_STRICT_OBJC_MSGSEND: #2233
  • Moved generator package directory to /var/tmp: #2252
  • The non-= version of -working-directory is now used: #2254
  • SWIFT_INCLUDE_PATHS is no longer set in BwB mode: #2245 and #2277
  • -I, -explicit-swift-module-map-file, and -vfsoverlay are now set in OTHER_SWIFT_FLAGS: #2256
  • -F is now set in OTHER_SWIFT_FLAGS: #2258 and #2263
  • PROJECT_DIR is now used instead of CURRENT_EXECUTION_ROOT: #2259
  • $(BAZEL_OUT) is now used to reference compile params files: #2260
  • Paths are now always absolute in swift.compile.params and OTHER_SWIFT_FLAGS: #2261, #2265, #2267, and #2269
  • swiftc_stub now errors out instead of warning: #2278
  • Removed unnecessary dependencies from release archive: #2279

Fixed

  • __BAZEL_ variables ar now replaced in swift_debug_sttings.py: #2213
  • Development region is now properly set in PBXProject.knownRegions: #2228
  • Fixed tests in custom schemes when ios_unit_test.bundle_name is used: #2248
  • Fixed test_suite label creation if using bzlmod: #2249
  • Fixed quoting of string defines in {c,cxx}.compile.params: #2262
  • Builds now properly error out when using an .xcworkspace: #2273
  • Fixed swiftc_stub with Xcode 15: #2276
  • Fixed handling of build configuration in custom schemes: #2274

Full Changelog

1.6.0...1.7.1

Contributors

Bzlmod Snippet

bazel_dep(name = "rules_xcodeproj", version = "1.7.1")

release.tar.gz’s integrity: sha256-+DbSpRapEdwKzkSx9RqldWE/FJqTT0vh571VGlSWcv8=

Workspace Snippet

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

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

http_archive(
    name = "rules_xcodeproj",
    sha256 = "f836d2a516a911dc0ace44b1f51aa575613f149a934f4be1e7bd551a549672ff",
    url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/1.7.1/release.tar.gz",
)

load(
    "@rules_xcodeproj//xcodeproj:repositories.bzl",
    "xcodeproj_rules_dependencies",
)

xcodeproj_rules_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_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()