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.
1 parent 44a88d4 commit 786f6f4Copy full SHA for 786f6f4
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