From 6e86b4c5d02debb0d16ffbb86b99f07405323989 Mon Sep 17 00:00:00 2001 From: Valdas Petrulis Date: Thu, 19 Sep 2024 19:45:49 +0300 Subject: [PATCH] Start using WireGuardKit pod, which is already compiled --- darwin/wireguard_dart.podspec | 2 +- example/ios/Podfile | 2 ++ example/ios/Podfile.lock | 2 +- example/macos/Podfile | 2 ++ example/macos/Podfile.lock | 19 +++++++++---------- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/darwin/wireguard_dart.podspec b/darwin/wireguard_dart.podspec index b43b815..ba76476 100644 --- a/darwin/wireguard_dart.podspec +++ b/darwin/wireguard_dart.podspec @@ -26,6 +26,6 @@ Wireguard Dart SDK for iOS/macOS s.ios.deployment_target = "15.0" s.osx.deployment_target = "12.0" - s.dependency "WireGuardKit", "0.3" + s.dependency "WireGuardKit", "0.4" end diff --git a/example/ios/Podfile b/example/ios/Podfile index 2f0c7f2..08409af 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -31,6 +31,8 @@ target "Runner" do use_frameworks! use_modular_headers! + pod 'WireGuardKit', :podspec => "https://raw.githubusercontent.com/mysteriumnetwork/wireguard-apple/0.4/WireGuardKit.podspec" + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) target "tun" do diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index c9c0487..f7f39fd 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -27,4 +27,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: ade4dc95c753c461e86203a02270c4756b4c2b1a -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/example/macos/Podfile b/example/macos/Podfile index b392f04..fd342c2 100644 --- a/example/macos/Podfile +++ b/example/macos/Podfile @@ -30,6 +30,8 @@ target "Runner" do use_frameworks! use_modular_headers! + pod 'WireGuardKit', :podspec => "https://raw.githubusercontent.com/mysteriumnetwork/wireguard-apple/0.4/WireGuardKit.podspec" + flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) end diff --git a/example/macos/Podfile.lock b/example/macos/Podfile.lock index 0a0f81f..6c4fd2c 100644 --- a/example/macos/Podfile.lock +++ b/example/macos/Podfile.lock @@ -3,28 +3,27 @@ PODS: - wireguard_dart (0.0.1): - Flutter - FlutterMacOS - - WireGuardKit (= 0.3) - - WireGuardKit (0.3) + - WireGuardKit (= 0.4) + - WireGuardKit (0.4) DEPENDENCIES: - FlutterMacOS (from `Flutter/ephemeral`) - wireguard_dart (from `Flutter/ephemeral/.symlinks/plugins/wireguard_dart/darwin`) - -SPEC REPOS: - trunk: - - WireGuardKit + - WireGuardKit (from `https://raw.githubusercontent.com/mysteriumnetwork/wireguard-apple/0.4/WireGuardKit.podspec`) EXTERNAL SOURCES: FlutterMacOS: :path: Flutter/ephemeral wireguard_dart: :path: Flutter/ephemeral/.symlinks/plugins/wireguard_dart/darwin + WireGuardKit: + :podspec: https://raw.githubusercontent.com/mysteriumnetwork/wireguard-apple/0.4/WireGuardKit.podspec SPEC CHECKSUMS: FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 - wireguard_dart: e9f4586e6433f14a16864e80abbdb63239e1aa12 - WireGuardKit: 8b9e7f28441b67aafe60d59c15b8c70bed5ab092 + wireguard_dart: 243daf647faad658d89ececebd2fae120c53f9e6 + WireGuardKit: 4279043137fb39ac85bd2821f613ecd94b826a68 -PODFILE CHECKSUM: be01cccb06a368ce7b4626ad8fc3db0759a91741 +PODFILE CHECKSUM: 43ff72062d07ffe680bc4a6bed2fdd1fbf7ba5a4 -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2