Supporting IPv6 using getaddrinfo()

Our application use IPv4 literal, so we are testing getaddrinfo().

But according to "iOS SDK 9.2 Release Notes" by Apple, getaddrinfo() returns synthesized IPv6 address on iOS 9.2 or later.

This means our application does not work on iOS 9.0 or 9.1 even if we use getaddrinfo().

Does this result in rejecting from App Store?



(Link)

-iOS SDK 9.2 Release notes

https://developer.apple.com/library/ios/releasenotes/General/RN-iOSSDK-9.2/



-Supporting IPv6 DNS64/NAT64 Networks

https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

Does this result in rejecting from App Store?

AFAIK App Review is not yet enforcing any IPv6 requirements. As to what will happen if and when they start doing that, I’m reluctant to speculate about The Future™.

My suggestion is that you not focus on App Review but focus on your customers. If you switch to using a DNS name, your app will be compatible with all recent versions of iOS. That’s clearly the best way forward.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

DTS will close for the winter holidays at the end of business on Wed, 23 Dec 2015 and re-open on Mon, 4 Jan 2016.

Hi Eskimo,


Thank you for quick response.


I agree with you.

Acturally our application use an address that user input.

If user input DNS name then our application work correctory in DNS64/NAT64.

But if user input ipv4 address then our application doesn't work.

My concern is "should we support the second case(user input ipv4 address)?".


For example, Safari or other browsering application is also able to be inputed ipv4 address.

In that case, should those application support ipv4 inputting?


Best regards,

makihiro

Hi Eskimo,


Is there any update on IPV6 requirements in the App Review ? When is Apple going to start enforcing this requirement ? More importantly, is there any more detailed description of this requirement ? Support for IPV6 is not exactly equivalent to NAT64. What if an app connects to IPV6-only servers (regardless how impossible it sounds) ? It would be very helpful to have precise information like: must work correctly in IPV6-only network or must be able to connect to IPV4 servers through the NAT64 gateway.


Thanks,

Maciej

Is there any update on IPV6 requirements in the App Review ?

No. Realistically, such things are not announced here on DevForums but rather get announced on stage at WWDC, via a developer news post, and so on.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Supporting IPv6 using getaddrinfo()
 
 
Q