diff --git a/Support/HockeySDKTests/BITCrashManagerTests.m b/Support/HockeySDKTests/BITCrashManagerTests.m index cefe8ae885..fa5729a19a 100644 --- a/Support/HockeySDKTests/BITCrashManagerTests.m +++ b/Support/HockeySDKTests/BITCrashManagerTests.m @@ -95,7 +95,7 @@ #if __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_7_1 data = [[NSData alloc] initWithBase64EncodedString:@"TestData" options:0]; -#elif +#else if ([[NSData class] respondsToSelector:@selector(initWithBase64EncodedString:options:)]) { data = [[NSData alloc] initWithBase64EncodedString:@"TestData" options:0]; } else {