bazelbuild / bazelbuild/rules_apple

Use SDK version as a soft default for minimum OS version

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
P2 type: feature request
Dominant language
Starlark
Stars
593
Forks
334
Avg merge
16h 48m
Merged PRs (30d)
9

Description

Bazel currently has arbitrary hardcoded minimum OS versions for each platform.

Once #43 is resolved, we should stop relying on the `--{i,tv,watch}os_minimum_os` flags entirely and use the SDK version as the soft default instead. It will print a warning notifying users that they are using this soft default and that they should make the minimum version explicit if they want predictable builds. (By not making the attribute mandatory, we replicate Xcode's defaults and we don't penalize the use case of quickly whipping up a BUILD target for experimentation/prototypes.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.