RuleIn force
IPv6-only network support
Guideline 2.5.5: apps must be fully functional on IPv6-only networks. This has been required for App Store submissions since June 1, 2016.
Required for submissions since June 1, 2016
What the rule is
Guideline 2.5.5 says apps must be fully functional on IPv6-only networks.
As of June 1, 2016, all apps submitted to the App Store must support IPv6-only networks. Most apps that use NSURLSession or CFNetwork already do. Apps that use IPv4-specific APIs or hardcoded IP addresses need changes.
Who it affects
Every app submitted to the App Store, especially those that hardcode IPv4 addresses or use custom networking instead of NSURLSession or CFNetwork.
How to fix it
- Use address-family agnostic system APIs such as NSURLSession, and avoid hardcoded IPv4 addresses.
- Test the app on an IPv6-only DNS64/NAT64 network before you submit, and turn off cellular data on a WWAN device so the test uses IPv6-only Wi-Fi.