Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abuhsayem opened this issue Apr 10, 2024 · 3 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@abuhsayem
Copy link

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 abuhsayem added the bug Something isn't working label Apr 10, 2024
@lalitb
Copy link
Contributor

lalitb commented Apr 16, 2024

@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

@jacobjiangwei
Copy link

any updates on the supported version?

@lalitb lalitb added the help wanted Extra attention is needed label Jun 20, 2024
@lalitb
Copy link
Contributor

lalitb commented Jun 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants