更新 'ios/Classes/SystemProxyPlugin.m'

This commit is contained in:
刘宏谋 2023-05-06 14:11:31 -06:00
parent 113ef87d8b
commit e8ac6e99e2

View File

@ -1,5 +1,10 @@
#import "SystemProxyPlugin.h"
#import <system_proxy/system_proxy-Swift.h>
#if __has_include(<system_proxy/system_proxy-Swift.h>)
#import <system_proxy/system_proxy-Swift.h>
#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<FlutterPluginRegistrar>*)registrar {