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.
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 withu_int32_t rmx_filler[4];
instead ofu_int32_t rmx_filler[3];
inCTunnelKitCore/include/route.h
.Maybe needs to be updated.