A.编译报错SimplePing.h

check_compile_time(sizeof(IPHeader) == 20);check_compile_time(offsetof(IPHeader, versionAndHeaderLength) == 0);check_compile_time(offsetof(IPHeader, differentiatedServices) == 1);check_compile_time(offsetof(IPHeader, totalLength) == 2);check_compile_time(offsetof(IPHeader, identification) == 4);check_compile_time(offsetof(IPHeader, flagsAndFragmentOffset) == 6);check_compile_time(offsetof(IPHeader, timeToLive) == 8);check_compile_time(offsetof(IPHeader, protocol) == 9);check_compile_time(offsetof(IPHeader, headerChecksum) == 10);check_compile_time(offsetof(IPHeader, sourceAddress) == 12);check_compile_time(offsetof(IPHeader, destinationAddress) == 16);
check_compile_time 改为 __Check_Compile_Time

B.WKWebview 运行时Crash,在代理方法中添加如下可解决

- (void)webView:(WKWebView*)webView decidePolicyForNavigationAction:(WKNavigationAction*)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler {       WebViewJavascriptBridgeBase *base = [[WebViewJavascriptBridgeBase alloc] init];        if ([base isWebViewJavascriptBridgeURL:navigationAction.request.URL]) {            return;        }  // Add this IF statement in my project,  don`t need modify WebViewJavascriptBridge`s source code.        decisionHandler(WKNavigationActionPolicyAllow);}