Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditionally use deprecated signature for initWithContentsOfURL
Homebrew's CI is breaking on 10.12 (Sierra), for Bazel 0.24+ due to the signature used for NSDictionary:initWithContentsOfURL introduced in the fix for bazelbuild#7371. This signature with an error parameter is only available on 10.13+ (High Sierra). Here's Apple's documentation: https://developer.apple.com/documentation/foundation/nsdictionary/1416069-initwithcontentsofurl?language=objc The Homebrew issue: Homebrew/homebrew-core#38651 Closes bazelbuild#8068. PiperOrigin-RevId: 244357959
- Loading branch information