WireGuardKitC: fix build with Xcode 16b1
This commit fixes build errors of the WireGuardKitC target appearing with Xcode 16b1. Errors are:
Declaration of 'u_int32_t'/'u_char'/'u_int16_t' must be imported from module 'DarwinFoundation.unsigned_types.*' before it is required"
This one is an important commit, merge this to resolve the Xcode 16 issue.
@zx2c4 Please merge this, simple a one-liner but now the APP won't build on xcode 16
Please merge this PR. Really helpful.
related StackOverflow discussion: https://stackoverflow.com/questions/79002585/wireguardkitc-h-failing-to-compile-in-xcode-16-0
Please merge the PR. This change is needed.
Kindly merge it ASAP. This change is required
@McNight Is there any way we can use your changes using package?
@McNight Is there any way we can use your changes using package?
You can fork my repo and use the fork URL as your dependency in your Package.swift or in Xcode.
@McNight Is there any way we can use your changes using package?
You can fork my repo and use the fork URL as your dependency in your Package.swift or in Xcode.
I tried using it but "master" branch is missing changes and "fix_xcode16_build" branch is not working for me. Unable to add the package using that branch.
anyone solved this? i have the same problem with new xcode
[ -n "" ] make: *** [/Users/admin/Library/Developer/Xcode/DerivedData/*****-cocnhptuqkaqhlasaffabzyuxaoj/Build/Intermediates.noindex/****/Debug-iphoneos/wireguard-go-bridge/goroot/.prepared] Error 1 Command ExternalBuildToolExecution failed with a nonzero exit code
Can someone help me with this problem
I forked and fix that issue. You can use my repository as a dependency.
https://github.com/groupofstars/wireguard-apple https://github.com/groupofstars/AtomWireguardTunnel
Thank you! This was the only solution that worked for me. Simply remove the existing WireGuard dependency (https://git.zx2c4.com/wireguard-apple) and replace it with this one: https://github.com/groupofstars/wireguard-apple. It works like a charm—boom!
Has anyone worked on Per-App VPN using WireGuard? @McNight @ZhaiMingchong @vanyasem
@dkawadePromobi Pls let's stay on topic! (Feel free to reach me at my personal email if needed)
@McNight, yes, reaching out to you via [email protected]
[ -n "" ] make: *** [/Users/admin/Library/Developer/Xcode/DerivedData/*****-cocnhptuqkaqhlasaffabzyuxaoj/Build/Intermediates.noindex/****/Debug-iphoneos/wireguard-go-bridge/goroot/.prepared] Error 1 Command ExternalBuildToolExecution failed with a nonzero exit code
Can someone help me with this problem
I have this same exact issue
I forked and fix that issue. You can use my repository as a dependency. https://github.com/groupofstars/wireguard-apple https://github.com/groupofstars/AtomWireguardTunnel
Thank you! This was the only solution that worked for me. Simply remove the existing WireGuard dependency (https://git.zx2c4.com/wireguard-apple) and replace it with this one: https://github.com/groupofstars/wireguard-apple. It works like a charm—boom!
Above not working. Have a fork https://github.com/ut360e/wireguard-apple.git