passepartoutvpn / tunnelkit

VPN client library for Apple platforms.
GNU General Public License v3.0
9 stars 8 forks source link

Issue compiling with latest Xcode and macOS #345

Closed Jdgmx closed 11 months ago

Jdgmx commented 11 months ago

Summary

Get an error message: type 'struct rt_metrics' has incompatible definitions in different translation units.

Steps to reproduce

Just building project after updating to the newest XCode 15.1 and MacOS 14.2.

What is the current bug behavior?

Error while building module.

What is the expected correct behavior?

A successful compile.

Possible fixes suggested remediation

Structure rt_metrics in bsd/net/route.h was updated with u_int32_t rmx_filler[4]; instead of u_int32_t rmx_filler[3]; in CTunnelKitCore/include/route.h.

Maybe needs to be updated.