Improve: reduce warning

This commit is contained in:
yicheng 2018-09-27 23:14:50 +08:00
parent 05b775237f
commit edcb3f1124
2 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.2;
};
name = Debug;
@ -248,7 +248,7 @@
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.2;
};
name = Release;

View File

@ -93,7 +93,7 @@ extension ClashWebViewContoller:WKUIDelegate,WKNavigationDelegate {
}
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
Logger.log(msg: "\(navigation)", level: .debug)
Logger.log(msg: "\(String(describing: navigation))", level: .debug)
}
func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) {