cpp_client_telemetry icon indicating copy to clipboard operation
cpp_client_telemetry copied to clipboard

Compilation errors in MacOS 14.4.1 with 'Apple clang version 15.0.0'

Open abuhsayem opened this issue 1 year ago • 3 comments

Describe your environment. MacOS 14.4.1

Steps to reproduce. Build 1DS SDK on latest MacOS 14.4.1

What is the expected behavior? No compilation errors

What is the actual behavior? Compilation error due to deprecated API (attached log) error: 'SCNetworkReachabilityCreateWithName' is deprecated: first deprecated in macOS 14.4 [-Werror,-Wdeprecated-declarations] build_error_mac.txt

Additional context. Add any other context about the problem here.

abuhsayem avatar Apr 10 '24 17:04 abuhsayem

@abuhsayem Thanks for reporting. SCNetworkReachabilityCreateWithName is used by 1DS SDK to detect the network type - whether the network connection is via WiFi, cellular, or wired Ethernet. We should be using nwpathmonitor for newer versions of iOS and MacOS. cc @absaroj @eduardo-camacho

lalitb avatar Apr 16 '24 01:04 lalitb

any updates on the supported version?

jacobjiangwei avatar Jun 20 '24 14:06 jacobjiangwei

@jacobjiangwei This is not yet fixed. Have tagged it as "Help Wanted", so if someone willing to contribute.

lalitb avatar Jun 20 '24 17:06 lalitb