Mistakenly thought TARGET_OS_MAC was useful

This commit is contained in:
Scott Kyle 2016-02-18 14:09:11 -08:00
parent f059d57bf4
commit cac3d09bcb
1 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@
#import "RealmAnalytics.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_MAC
#if TARGET_IPHONE_SIMULATOR || !TARGET_OS_IPHONE
#import <CommonCrypto/CommonDigest.h>
#import <sys/socket.h>
#import <sys/sysctl.h>
@ -188,10 +188,10 @@ static NSDictionary *RLMAnalyticsPayload() {
@"Framework": @"react-native",
@"Virtual Machine": @"jsc",
@"Realm Version": [[@(RealmReactVersionString) componentsSeparatedByString:@"-"] lastObject] ?: kUnknownString,
#if TARGET_OS_MAC
@"Target OS Type": @"osx",
#else
#if TARGET_OS_IPHONE
@"Target OS Type": @"ios",
#else
@"Target OS Type": @"osx",
#endif
// Current OS version the app is targetting
@"Target OS Version": [[NSProcessInfo processInfo] operatingSystemVersionString],