OpenVPNAdapter
OpenVPNAdapter copied to clipboard
No such module ‘OpenVPNAdapter’
Installed the pod files Added the capabilities File>New>Target>Network Extension> -Provider Type: Packer Tunnel
Working the PacketTunnelProvider.swift
Import OpenVPNAdapter
I get an error saying “No such module ‘OpenVPNAdapater’l
When I import the OpenVPNAdapter in ViewController.swift it is fine
Make sure that you open generated workspace, not the project
I have. When I add the new target application extension I select Network Extension. I chose the provider type to Packer Tunnel. When I write 'Import OpenVPNAdapter' in PacketTunnelProvider.swift it gives the error. If I write 'Import OpenVPNAdapter' in say ViewController.swift it imports with no issue. It seems to be an issue when creating the new target.
Ok, in this case check your Podfile and make sure that you add the pod to the correct target. It should be target containing PacketTunnelProvider
Facing same issue and my pod is added to the Network Extension Target
Facing same issue and my pod is added to the Network Extension Target
Same For Me !
Ok, in this case check your Podfile and make sure that you add the pod to the correct target. It should be target containing PacketTunnelProvider
In podfile file write down below line inside the extension target not in the project target and then install this pod.
pod 'OpenVPNAdapter', :git => 'https://github.com/ss-abramchuk/OpenVPNAdapter.git', :tag => '0.3.0'
Doesn't Solve The Problem. For iPhone Builds Works Fine But For iPad or Mac Build Got (No such module ‘OpenVPNAdapter’)
Here Is My Pod File :
target 'XXX' do
use_frameworks!
pod 'lottie-ios'
pod 'Alamofire', '~> 4.9.1'
end
target 'NetExtension' do
use_frameworks!
pod 'OpenVPNAdapter', :git => 'https://github.com/ss-abramchuk/OpenVPNAdapter.git', :tag => '0.4.0'
pod 'KeychainSwift'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
installer.pods_project.build_configurations.each do |config|
config.build_settings.delete('CODE_SIGNING_ALLOWED')
config.build_settings.delete('CODE_SIGNING_REQUIRED')
end
end
end
@farzinborujerdi did you find any solution for it?
No i didnt actually.
Mahmoud A Zinji Masters in Computer & Communication Engineering (CCE) m: +0096170097060 https://api.whatsapp.com/send?phone=96170097060 e: [email protected] https://lb.linkedin.com/in/mahmoudzinji https://www.instagram.com/mahmoudzinji/
Please consider the environment before printing this email.
The information contained in this electronic message & attachments (the "Message") is intended for 1 or more specific individuals or entities, and may be confidential, proprietary, or otherwise protected by law. If you are not the intended recipient, please notify the sender immediately, delete this Message & do not disclose, distribute, or copy it to any third party or otherwise use this Message. Electronic messages are not secure or error free & can contain viruses or may be delayed, & the sender is not liable for any of these occurrences. The sender reserves the right to monitor, record transfer cross border & retain electronic messages.
On Tue, 2 Feb 2021 at 14:46, Ayberk [email protected] wrote:
@farzinborujerdi https://github.com/farzinborujerdi did you find any solution for it?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ss-abramchuk/OpenVPNAdapter/issues/163#issuecomment-771610738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWFSCOMQQ6SMVBPP4LUNQ3S47X2FANCNFSM4LUM53VA .