We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68f32fc + 786f6f4 commit ab5ce2eCopy full SHA for ab5ce2e
stdlib/public/stubs/Availability.mm
@@ -30,7 +30,7 @@
30
static NSDictionary *systemVersionDictionaryFromPlist() {
31
NSString *plistPath = @"/System/Library/CoreServices/SystemVersion.plist";
32
33
-#if TARGET_IPHONE_SIMULATOR
+#if TARGET_OS_SIMULATOR
34
// When targeting the iOS simulator, look in a special location so we do
35
// not pick up the host OS version.
36
const char *simulatorRoot = getenv("IPHONE_SIMULATOR_ROOT");
0 commit comments