Configure build settings for iOS compatibility

This commit is contained in:
Said Achmiz 2016-03-11 02:46:41 -05:00
parent 3f03efb091
commit 548aeed8f1
2 changed files with 7 additions and 3 deletions

View File

@ -365,12 +365,14 @@
"$(PROJECT_DIR)/libircclient", "$(PROJECT_DIR)/libircclient",
); );
MACOSX_DEPLOYMENT_TARGET = 10.6; MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = saidachmiz.IRCClient; PRODUCT_BUNDLE_IDENTIFIER = saidachmiz.IRCClient;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
RUN_CLANG_STATIC_ANALYZER = YES; RUN_CLANG_STATIC_ANALYZER = YES;
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
STRINGS_FILE_OUTPUT_ENCODING = "UTF-8"; STRINGS_FILE_OUTPUT_ENCODING = "UTF-8";
VALID_ARCHS = x86_64; SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator";
VALID_ARCHS = "x86_64 arm64 armv7 armv7s";
}; };
name = Debug; name = Debug;
}; };
@ -404,12 +406,14 @@
"$(PROJECT_DIR)/libircclient", "$(PROJECT_DIR)/libircclient",
); );
MACOSX_DEPLOYMENT_TARGET = 10.6; MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = saidachmiz.IRCClient; PRODUCT_BUNDLE_IDENTIFIER = saidachmiz.IRCClient;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
RUN_CLANG_STATIC_ANALYZER = YES; RUN_CLANG_STATIC_ANALYZER = YES;
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
STRINGS_FILE_OUTPUT_ENCODING = "UTF-8"; STRINGS_FILE_OUTPUT_ENCODING = "UTF-8";
VALID_ARCHS = x86_64; SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator";
VALID_ARCHS = "x86_64 arm64 armv7 armv7s";
}; };
name = Release; name = Release;
}; };

View File

@ -477,7 +477,7 @@ static NSDictionary* ircNumericCodeList;
} }
else if (!strcmp (the_request, "TIME")) else if (!strcmp (the_request, "TIME"))
{ {
irc_cmd_ctcp_reply(_irc_session, the_nick, [[[NSDate dateWithTimeIntervalSinceNow:0] descriptionWithCalendarFormat:@"TIME %a %b %e %H:%M:%S %Z %Y" timeZone:nil locale:[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]] cStringUsingEncoding:_encoding]); // irc_cmd_ctcp_reply(_irc_session, the_nick, [[[NSDate dateWithTimeIntervalSinceNow:0] descriptionWithCalendarFormat:@"TIME %a %b %e %H:%M:%S %Z %Y" timeZone:nil locale:[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]] cStringUsingEncoding:_encoding]);
} }
else else
{ {