You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops, that pull request is missing that extra check. I'll leave this bug open until it's implemented. (And once I've merged the above, someone else is free to submit a PR if they get to it first!)
Attachment: Download
Environment
Xcode 8 Beta
Additional Detail from JIRA
md5: 5e0dd7554fd3dec93fc328131866a4a4
relates to:
Issue Description:
Starting in Sierra, Apple's Mac-based OS (OS X) will be renamed "macOS".
The `#if os(OSX)` test should be aliased to `#if os(macOS)` along these lines:
in Lib/Basic/LangOptions.cpp
static const StringRef SupportedConditionalCompilationOSs[] = {
"OSX",
"macOS", // add
"tvOS",
"watchOS",
"iOS",
"Linux",
"FreeBSD",
"Windows",
"Android"
};
// Set the "os" platform condition.
if (Target.isMacOSX()) {
addPlatformConditionValue("os", "OSX");
addPlatformConditionValue("os", "macOS");
}
Proposal: SE-0106
The text was updated successfully, but these errors were encountered: