From e8ac6e99e2203ff40cefedb48e34fe50fa01e06a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AE=8F=E8=B0=8B?= Date: Sat, 6 May 2023 14:11:31 -0600 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'ios/Classes/SystemProxyPl?= =?UTF-8?q?ugin.m'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Classes/SystemProxyPlugin.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ios/Classes/SystemProxyPlugin.m b/ios/Classes/SystemProxyPlugin.m index e9e0207..85ef487 100644 --- a/ios/Classes/SystemProxyPlugin.m +++ b/ios/Classes/SystemProxyPlugin.m @@ -1,5 +1,10 @@ #import "SystemProxyPlugin.h" -#import +#if __has_include() + #import +#else +// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816 + #import "system_proxy-Swift.h" +#endif @implementation SystemProxyPlugin + (void)registerWithRegistrar:(NSObject*)registrar {