diff --git a/IRCClient.xcodeproj/project.pbxproj b/IRCClient.xcodeproj/project.pbxproj index f96b6e8..5fd08bf 100644 --- a/IRCClient.xcodeproj/project.pbxproj +++ b/IRCClient.xcodeproj/project.pbxproj @@ -365,12 +365,14 @@ "$(PROJECT_DIR)/libircclient", ); MACOSX_DEPLOYMENT_TARGET = 10.6; + ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = saidachmiz.IRCClient; PRODUCT_NAME = "$(TARGET_NAME)"; RUN_CLANG_STATIC_ANALYZER = YES; SKIP_INSTALL = YES; STRINGS_FILE_OUTPUT_ENCODING = "UTF-8"; - VALID_ARCHS = x86_64; + SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator"; + VALID_ARCHS = "x86_64 arm64 armv7 armv7s"; }; name = Debug; }; @@ -404,12 +406,14 @@ "$(PROJECT_DIR)/libircclient", ); MACOSX_DEPLOYMENT_TARGET = 10.6; + ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = saidachmiz.IRCClient; PRODUCT_NAME = "$(TARGET_NAME)"; RUN_CLANG_STATIC_ANALYZER = YES; SKIP_INSTALL = YES; STRINGS_FILE_OUTPUT_ENCODING = "UTF-8"; - VALID_ARCHS = x86_64; + SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator"; + VALID_ARCHS = "x86_64 arm64 armv7 armv7s"; }; name = Release; }; diff --git a/IRCClient/IRCClientSession.m b/IRCClient/IRCClientSession.m index c22537e..70bc2e0 100644 --- a/IRCClient/IRCClientSession.m +++ b/IRCClient/IRCClientSession.m @@ -477,7 +477,7 @@ static NSDictionary* ircNumericCodeList; } 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 {