Simplified iOS 7 flag a bit

This commit is contained in:
PoomSmart
2021-05-08 21:20:51 +07:00
parent 199cddc91a
commit 16d0feca52
-5
View File
@@ -12,9 +12,7 @@
using namespace std;
#ifdef IOS7_SUPPORT
BOOL iOS7 = NO;
#endif
BOOL didHaveGlobalHeader = NO;
void globalHeader() {
@@ -274,9 +272,6 @@ int main(int argc, char *const argv[]) {
exit(EXIT_FAILURE);
}
}
#ifndef IOS7_SUPPORT
BOOL iOS7 = NO;
#endif
if (uuidFlag || deviceFlag || versionFlag || iOS7) {
if (xcodeVersion && xcodeVersion < 800.0) {
printf("WARNING: The selected Xcode version does not support multiple running iOS Simulator instances simultaneously. Booting this device may cause any other existing instances of the iOS Simulator to terminate.\n");