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 {