bazel-ios / rules_ios

Bazel rules for building iOS applications and frameworks
Apache License 2.0
278 stars 85 forks source link

Update dependencies and use latest archives #784

Closed luispadron closed 1 year ago

luispadron commented 1 year ago

Updates the dependencies of the latest versions, fixes some bzlmod warnings introduced by rules_apple 3 PR

WARNING: For repository 'build_bazel_apple_support', the root module requires module version apple_support@1.6.0, but got apple_support@1.11.0 in the resolved dependency graph.
WARNING: For repository 'build_bazel_rules_swift', the root module requires module version rules_swift@1.8.0, but got rules_swift@1.12.0 in the resolved dependency graph.

Additionally, moves the latest versions in repositories.bzl back to using the release archive instead of a GitHub on-demand archive. Not sure why those were changed

Finally, fixes issues with stardoc and rules_apple 3 + bzlmod. It re-enables bzlmod for stardoc in CI

Fixes #783

luispadron commented 1 year ago

A new rules_apple & rules_swift version will be tagged soon that include some stardoc fixes (which is why they're failing here) ill update this pr when theyre done.

We essentially need: https://github.com/bazelbuild/rules_apple/pull/2292

jerrymarino commented 1 year ago

Ok thanks - I've filed an issue for the problems we ran into after the stardoc update at: https://github.com/bazel-ios/rules_ios/issues/783

luispadron commented 1 year ago

Updated the PR to include rules_apple 3.1.0 and rules_swift 1.13.0 which fixes the issues we were seeing with stardoc and bzlmod. CI is now back to using bzlmod for the stardoc tests

luispadron commented 1 year ago

Updated again to rules_apple 3.1.1 which brings one final fix for non bzlmod users. This should be ready now, @jszumski @thiagohmcruz when ya'll have a minute