WireGuard Apple: Xcode 16.0 compatibility issues - Urgent fix needed

Houman houmie at gmail.com
Mon Sep 23 07:38:17 UTC 2024


This project is in urgent need of maintenance to make it work with Xcode 16.0.
First I had to update Swift-tools-version:5.5 in Package.swift to be
able to even add the library via Swift Package Manager to my project.

After that despite following all the integration instructions, I see
errors that I have never seen before:

".../WireGuardKitC/WireGuardKitC.h:10:5 Declaration of 'u_int32_t'
must be imported from module
'DarwinFoundation.unsigned_types.u_int32_t' before it is required"

".../WireGuardKitC/WireGuardKitC.h:14:5 Declaration of 'u_char' must
be imported from module 'DarwinFoundation.unsigned_types.u_char'
before it is required"

".../WireGuardKitC/WireGuardKitC.h:16:5 Declaration of 'u_int16_t'
must be imported from module
'DarwinFoundation.unsigned_types.u_int16_t' before it is required"

Jason can you please fix this?

Or alternatively if Jason is too busy, is there any reliable fork from
WireGuard that is being maintained, please?

Thank you so much.
Houman


More information about the WireGuard mailing list