Error trying to host app on itunes

8

We made an iPhone app with Embarcadero xe10 + PHP, but when trying to host it in:

He was turned down for not having IPV6 support.

I joined the site link and I noticed that IPV6 access is not supported.

Apple requires my application to work on an Ipv6 network, as per the site above.

In this host we only host the php files that are used in the app, there is some configuration we can do to fix this, since I contacted the hosting and they do not have ipv6 support.

Here's the return of itunes on the app:

De Apple
2. 1 PERFORMANCE: APP COMPLETENESS
Performance - 2.1


We discovered one or more bugs in your app when reviewed on iPad running iOS 10.2.1 on Wi-Fi connected to an IPv6 network.

Specifically, your app produced an error when we attempted to log in with the demo account you provided.

Please see attached screenshots for details.

Next Steps

Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.

If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.

Resources

For information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and About Networking.
    
asked by anonymous 01.03.2017 / 21:28

2 answers

2

Since June 2016, Apple has required apple-store applications to support IPv6-only, which is basically networks that do not use tunneling or IPv4 proxy.

  

However, if your app uses IPv4-specific APIs or hard-coded IP addresses, you will need to make changes.    link

That is, if your application has a specific IP address, such as a socket opening, or an access that directly uses an IP will fall into this rule.

In the documentation it says:

  

It is not necessary to remove from your application all references to   IPv4-only constructors. It is acceptable to have such references and use   constructs only for IPv4, provided they behave correctly in   an IPv6-only environment. IMPORTANT: We encourage you to adopt APIs   address-friendly agnostic methods rather than maintaining code paths   separated for IPv4 and IPv6.   (personal translation)

Agnostic APIs are domains that respond in both IPv6 and IPv4, rather than static IPv4.

To perform the compatibility tests you must follow the instructions on this page from Apple's support documentation

If your application needs to support IPv4 (an ssh connection application for example) you need to apply some modifications to support DNS64 / NAT64 to synthesize IPv4 over IPv6, the technique is described on this documentation page:

For more information, visit:

link

In addition, your server must be accessible via IPv6, so you can use CDNs such as Cloudflare Inc. that allow traffic via IPv6 without that you have 'AAAA' tickets. However, be aware that there are limitations such as connection timeout, calls that take too long to respond may fall into error 524 . Another detail about the CF is that it does not support socket, we would then have problems with stream and websocket for example.

If Cloudflare is not an option, you should opt for a server that has both IPv4 and IPv6 and correctly configure your DNS with "A" inputs for IPv4 and "AAAA" inputs for IPv6, and configure your server to receive IPv6 (network layer) connections and its web server (Application Layer) to respond to this IPv6.

As you are using the Embarcadero xe10, you need to understand how it handles this issue, because the code will be rewritten and in that process of rewriting it must be adequate to the specifications provided by Apple.

    
17.04.2017 / 16:11
0
  

He was turned down for not having IPV6 support .

     

I joined the link and verified site which does not support IPv6 access .

     

Apple requires my application to work on an Ipv6 network , as per the site above.

     

In this host we only host the php files that are used in the app, there is some configuration we can do to fix this, since I contacted the hosting and they do not have ipv6 support

. >

The answer lies in the question itself.

You have a comment here saying that removing a YYYY record on your DNS server could solve the problem. I do not think this will solve, because the AAAA record is what guarantees the correct resolution of an ipv6 address. Still, I do not think your current provider will support it.

There's only one way: find a host that can host your application. Companies that do this exist in the hills, and the lodging is relatively inexpensive. You will have an effort of a few hours of migration, but this way you guarantee your business.

If you want a list of suggestions, this wiki lists a few dozen companies around the world that have hosting services with ipv6 (native, no gambiarras).

    
15.04.2017 / 14:33