You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/29 09:57:44 UTC

[GitHub] cxfeng1 closed pull request #1846: * [iOS] fix sdk build error, ignored "-Wundeclared-selector"

cxfeng1 closed pull request #1846: * [iOS] fix sdk build error, ignored "-Wundeclared-selector"
URL: https://github.com/apache/incubator-weex/pull/1846
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/ios/sdk/WeexSDK/Sources/Monitor/WXAnalyzerCenter.m b/ios/sdk/WeexSDK/Sources/Monitor/WXAnalyzerCenter.m
index 186f7749b4..4207bb2956 100644
--- a/ios/sdk/WeexSDK/Sources/Monitor/WXAnalyzerCenter.m
+++ b/ios/sdk/WeexSDK/Sources/Monitor/WXAnalyzerCenter.m
@@ -199,6 +199,8 @@ +(void) switchInteractionLog:(BOOL) isOpen
      [WXLog setLogLevel: isOpen?WXLogLevelDebug:WXLogLevelWarning];
 #endif
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wundeclared-selector"
     if ([WXSDKManager.bridgeMgr respondsToSelector:@selector(bridgeCtx)]) {
         id bridgeCtx = [WXSDKManager.bridgeMgr performSelector:@selector(bridgeCtx) withObject:nil];
         if (nil != bridgeCtx && [bridgeCtx respondsToSelector:@selector(callJSMethod:args:)]) {
@@ -208,6 +210,7 @@ +(void) switchInteractionLog:(BOOL) isOpen
             });
         }
     }
+#pragma clang diagnostic pop
 }
 
 +(BOOL) isInteractionLogOpen


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services