Skip to content

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

Closed

Description

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.

Activity

  1. lalitb commented on Apr 16, 2024

    @lalitb
    Contributor

    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 absaroj eduardo-camacho

  2. jacobjiangwei commented on Jun 20, 2024

    @jacobjiangwei

    any updates on the supported version?

  3. lalitb commented on Jun 20, 2024

    @lalitb
    Contributor

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

  4. self-assigned this
    on May 30, 2026
  5. bmehta001 commented on May 30, 2026

    @bmehta001
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions