vaardan / wireguard-macos-app

Wireguard UI Universal Apple application
119 stars 11 forks source link

Build WireGuard for macOS/iOS problems #6

Open notecode opened 1 month ago

notecode commented 1 month ago

I'v just built WireGuard client successfully with the official source code. With Xcode 14.2 on macOS12.6. But, when running the app on macOS, I can not activate a tunnel. I got the error alert:

"Activation failure. The tunnel could not be activated. Please ensure that you are connected to the Internet."

wg-error

I can not get help from the official, so come to get help from you. I have used your release, which can be used successfully on my mac, so you must have solved this problem. I am not good at obj-c / swift programming, it hard for me to solve it. I think it maybe some network entitlements configuration needed.

wg-error2

Could you give me some advice? Thank you.

vaardan commented 1 month ago

Hi, honestly I have no idea. I've tried to compile it once, it didn't work (like at all), I gave up and just downloaded application from AppStore and then re-uploaded it here.

There can be many issues, mismatched versions of some stuff, missing components or libraries, etc. The error you got isn't helpful, so you might have to take a look at the actual logs for more info, wherever they may be. If the official devs are not responding, your best shot would be to find the informative error in the logs and search it on the Internet.

Regardless, IMHO just used the stuff I uploaded, if you say it works for you. Because even if you manage to make compiled version work, as far as I know you will still have issues with app not being properly signed and stuff.

notecode commented 1 month ago

Thank you for your so quick reply. I will try to check the logs then.