Deprecate NetworkReachabilityManager
#3947
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Link 🔗
Fixes #3943
Goals ⚽
Apple's
SCNetworkReachability
types were deprecated in iOS 17.4 related OS versions. This PR deprecatesNetworkReachabilityManager
in favor ofNWPathMonitor
from Network.framework, which has been the better solution for many years now.This PR also updates various infrastructure bits, and deletes the
.swiftpm
directory to prevent Xcode from generating schemes when integrating the package.Implementation Details 🚧
Class deprecated.
Testing Details 🔍
Tests deprecated.