preface
Starting June 1st, Apple will require that all projects approved later must support iPv6. If they do not support iPv6, they will be rejected. The most recent review was rejected…. The reasons are as follows: Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required.
The reason is that LeanCloud updated a version to support IPv6. After the update, I found several articles about building IPv6 network, which were not satisfied, so I sorted out a blog to share my experience with you
To the chase
Material:
You need to prepare a Mac first
Iphone2 (one of them is for testing your project, please install your app)
Connect one cable
Step 1: Connect iPhone to MAC via cable
Step 2: Open the iPhone’s personal hotspot and select USB-only
If there is no option, turn off your phone’s Wi-Fi connection and use your phone’s own mobile network
Step 3: Turn on network preferences to make sure your Mac’s Wi-Fi is turned on and not connected to any network
Delete the previous network cache in advanced if you already have a wifi connection
Step 4: Turn on system preferences, hold down the Option (Alt) key and click Share
The IPv6 option will not appear if you do not hold down the option key
Step 5: Choose iPhone USB -> Wi-Fi -> Create NAT64
If no, repeat Step 4 to create a NAT64 network
Step 6: Select the Wi-Fi option in the lower right corner. You can set the password or not
Finally, don’t forget to check the option on the left, otherwise sharing will not be opened and Internet sharing will be displayed: Open represents successful operation
Use your other iPhone to connect to the IPv6 test network created by your Mac
If your DNS is in the format shown above, your IPv6 test environment is set up and ready to test your project
References:
IOS application support IPV6, that something: www.jianshu.com/p/a6bab07c4…
For apple’s latest audit requirements for the application compatibility IPv6:www.jianshu.com/p/69ed44897…
If you have any further questions about IPv6, let me know in the comments and I will work with you to solve them
other
It’s easier to do this than connecting to a wired network, but the downside is that it consumes a lot of traffic. Thanks for the flow and technology contributed by our colleagues…