wireguard-apple
wireguard-apple copied to clipboard
updating packagedescription to 5.5
error: 'v12' is unavailable .macOS(.v12), packageDescription.SupportedPlatform:15:27: note: 'v12' was introduced in PackageDescription 5.5
I also encountered the same problem, did you solve it?
Hi @coderDeviCheng yes most probably this PR will fix the issue, for now, you can use the previous version which is 1.0.15-26, while adding the package select the exact version and type the version mentioned above.
I tried to use your method, but still reported an error, here is the screenshot
Please select exact version instead of range.
Thanks for your reply, but have the same problem
So far i remember, you need to write complete version i.e 1.0.15-26
Yes this works, thank you very much for your help, best wishes
But I got a new error
Showing Recent Errors Only unable to spawn process '/usr/bin/make' (No such file or directory)
There have make file in usr/bin
Do you know how to fix it?
Yes, i have same issues then i have used some third party script for building.
Could you please send me a copy of the script, thanks
Or better yet, post it here
I will post it here soon.
But I got a new error
This never works like this. You have to use the absolute path.
But I got a new error
This never works like this. You have to use the absolute path.
It's my first time to use wireguard to develop vpn, can you be more specific, and how to connect after I integrate it, do you have relevant information? Thanks
There you go.. adjust the path.
There you go.. adjust the path.
Thank you for your reply, do you know where to find this file, I don't know where to find this file
You need to read the instructions mate. https://github.com/WireGuard/wireguard-apple#wireguardkit-integration
Hello @Shahzainali
I just have tried to install the latest 1.0.16-27 but it doesn't work, despite merging your PR. Then I tried to bump up swift-tools-version:5.8 but it didn't help.
Do you have any suggestions? It's a shame that the owner of repo doesn't allow collaboration on main repo.
Thanks
Hey @houmie I will check this and get back to you. Thanks
There you go.. adjust the path.
@houmie did you have an error there? When you chnage the path to make file.
There you go.. adjust the path.
@houmie After adjusting path I am getting a new error.
I tried adding "PATH" user defined variable in build settings with value "${PATH}:/opt/homebrew/opt/[email protected]/bin" . This is also not woking. Do you know how to fix this?
Thanks.
Have you installed the latest Go? And adjusted go path? Last but not least, the latest WireGuard version doesn't work anyway. You need an older version.
Have you installed the latest Go? And adjusted go path? Last but not least, the latest WireGuard version doesn't work anyway. You need an older version.
@houmie : I am working with WireGuardKit version 1.0.15-26 , Xcode 14.2 and go1.21.4. How to adjust the go path ? Could you please help?
Same issue, someone found how to resolve it?
Same issue, someone found how to resolve it?
@dlc-letelier :My path was wrong. '${PATH}:/usr/local/bin:/opt/homebrew/bin' worked for me. Also, give an absolute path instead of ${BUILD_DIR%Build/*} in the "Info" tab of the WireGuardGoBridge target.
Note that 1.0.15-27 won't work. You have added the package version 1.0.15-26.
Same issue, someone found how to resolve it?
@dlc-letelier :My path was wrong. '${PATH}:/usr/local/bin:/opt/homebrew/bin' worked for me. Also, give an absolute path instead of ${BUILD_DIR%Build/*} in the "Info" tab of the WireGuardGoBridge target.
Note that 1.0.15-27 won't work. You have added the package version 1.0.15-26.
@Sneha1231: thanks for your answer. Really worked. But now I get stuck here. Do you have any suggestion? Because of that error, I get a "Command SwiftCompile failed with a nonzero exit code".
The file "/Documents/wireguard-apple/Sources/WireGuardApp/WireGuard-Bridging-Header.h" exists
Hey guys, I'll be publishing an article explaining how to integrate WireGuard into an iOS application. I've been planning it for a few months but didn't get the chance. However, I'll have some time in the coming days, so I'll publish it soon. Thanks!
Hey guys, I'll be publishing an article explaining how to integrate WireGuard into an iOS application. I've been planning it for a few months but didn't get the chance. However, I'll have some time in the coming days, so I'll publish it soon. Thanks!
Hi @Shahzainali , Thank you very much! We will be waiting for it.
Hi @Shahzainali Can you please tell me if it is already possible to read the update on WireGuard integration?
Hi @Sneha1231 , @Shahzainali , After putting a user defined variable path with provided value, and putting an absolute path in the "Info" tab of the WireGuardGoBridge target, I got the same error as @dlc-letelier
Could you please help check this?

There you go.. adjust the path.