ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
473 stars 209 forks source link

Compilation fails on Xcode 12.5 #204

Closed georgmay closed 3 years ago

georgmay commented 3 years ago

Compilation fails when linking OpenVPNAdapter to Network Extension via SPM.

image

PacketTunnelProvider.swift contains the code from readme.

I tested it on Xcode 12.4 prior to recent update, everything worked smoothly.

Interesting part is that OpenVPNAdapter was found, but OpenVPNAdapterPacketFlow didn't.

eschao commented 3 years ago

Same problem, who can help to resolve it? Thanks

eschao commented 3 years ago

@georgmay I used 'Carthage' instead of 'SPM' to get around this problem. I'm not familiar with SPM, I tried to fix but can't.

georgmay commented 3 years ago

@ss-abramchuk @eschao latest version works with SwiftPackages