瀏覽代碼

Configure build settings for iOS compatibility

master
Said Achmiz 9 年之前
父節點
當前提交
548aeed8f1
共有 2 個文件被更改,包括 7 次插入3 次删除
  1. 6
    2
      IRCClient.xcodeproj/project.pbxproj
  2. 1
    1
      IRCClient/IRCClientSession.m

+ 6
- 2
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;
};

+ 1
- 1
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
{

Loading…
取消
儲存