Skip to content
AppScend
← Rejection guide to the App Store Review Guidelines

Guideline 2.5.5: IPv6 networks

Apps must work fully on networks that only support IPv6.

Part of Guideline 2.5: Software Requirements

Copies this guide as instructions for your coding agent (or read it as Markdown).
Often a rejectionEstimate

The app connects to a hard-coded IPv4 address

What Apple wants

undefined App Review tests on an IPv6-only network, where an IPv4 address written into the app can't be reached, so whatever it serves fails for the reviewer (Guideline 2.5.5).

How to fix it

Reach the server by its host name instead of its IPv4 address.

Steps

  1. Find the address on this card in the code and configuration.
  2. Use the host name of that server instead (it resolves on IPv6-only networks), and use the system's networking APIs rather than raw sockets to an address.
  3. Run the test again.
Often a rejectionEstimate

Networking may fail on IPv6-only networks

What Apple wants

App Review tests on IPv6-only networks, and the app has to work fully there (Guideline 2.5.5). Hard-coded IPv4 addresses and IPv4-only socket code can fail.

How to fix it

Use hostnames over HTTPS with the system's standard networking APIs.

Steps

  1. Replace IP addresses with a hostname.
  2. Replace IPv4-only socket code with URLSession, fetch or the Network framework.

Check your app for this, and everything else reviewers flag

AppScend scans your project on your Mac, ranks what will get it rejected, and your own coding agent fixes it on a branch you review.

npx appscend