How to test iOS app on supporting IPv6? Apple rejected app as it is not IPv6 compatible

家住魔仙堡 提交于 2019-11-30 04:57:20

This solution only works if you have an ethernet connection.

For creating an iPV6 NAT64 wifi network, follow these steps

Step 1 : Open system preferences

Step 2 : Open Sharing

Step 3 : Click on internet sharing

Step 4 : Click Wifi in the ports while pressing option(ALT) key. A Create NAT64 Network checkbox will be displayed on the bottom after that. It is important to press ALT while selecting WIFI for displaying the checkbox

Step 5 : check Create NAT64 Network checkbox.

Now test the application in the created network.

Dean

The following link from Apple outlines the requirements for transition to IPv6 support so I suggest reading it carefully. Apple provides guidelines to insure that your app is IPv6 compatible including which API's should and should not be used, not hard-coding IP addresses, etc. They even detail how to setup a local Mac-based IPv6 DNS64/NAT64 network to test against.

I've found this walkthrough in how to setup your Mac for Internet Sharing to test IPv6 from Brian Coleman to be quite helpful.

http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility/

It has several screenshots, step-by-step instructions to guide you through the process. I hope this helps!

Ronit

Holding command + option while clicking on the Sharing preference pane will add a "Create NAT64 Network" option for Internet Sharing. Enable that and devices connected through your shared connection will be in a NAT64 connection.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!