You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compilation errors in MacOS 14.4.1 with 'Apple clang version 15.0.0' #1261
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.
Abu Hasnat Sayem (@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 absarojeduardo-camacho
#1261 was initially addressed by Abu Hasnat Sayem (@abuhsayem)'s PR #1323, and #1431 later has now strengthened that fix by removing ODWReachability and the deprecated SCNetworkReachability path entirely in favor of NWPathMonitor. Please let me know if you have any questions. Closing this issue.
Activity
lalitb commentedon Apr 16, 2024
Abu Hasnat Sayem (@abuhsayem) Thanks for reporting.
SCNetworkReachabilityCreateWithNameis 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-camachojacobjiangwei commentedon Jun 20, 2024
any updates on the supported version?
lalitb commentedon Jun 20, 2024
Jacob Jiang (@jacobjiangwei) This is not yet fixed. Have tagged it as "Help Wanted", so if someone willing to contribute.
bmehta001 commentedon May 30, 2026
Hi Abu Hasnat Sayem (@abuhsayem) and Jacob Jiang (@jacobjiangwei), Thank you for your patience.
#1261 was initially addressed by Abu Hasnat Sayem (@abuhsayem)'s PR #1323, and #1431 later has now strengthened that fix by removing ODWReachability and the deprecated SCNetworkReachability path entirely in favor of NWPathMonitor. Please let me know if you have any questions. Closing this issue.