问题描述
有应用程序,构建于 2015 年和 2014 年.我如何测试它们的 IPv6?如果我的应用不支持 IPv6,我该怎么办?
have apps, built 2015 and 2014. How can I test them for IPv6?If my apps doesn't support IPv6, what should I do?
我的应用正在使用 AFNetworking 和 Alamofire.我主要连接到域(例如 api.example.com/v1/...).只有 1 个应用程序使用 IP:(例如:12.12.12.12:3000/api/v1/...).
My apps are using AFNetworking and Alamofire. I'm connecting mostly to domains ( Ex. api.example.com/v1/...). Only 1 app use IP: (ex: 12.12.12.12:3000/api/v1/...).
推荐答案
此解决方案仅适用于具有以太网 连接的情况.
This solution only works if you have an ethernet connection.
要创建 iPV6 NAT64 wifi 网络,请按照以下步骤操作
For creating an iPV6 NAT64 wifi network, follow these steps
第一步:打开系统偏好
第 2 步:打开分享
第 3 步:点击互联网共享
第 4 步:在按下 option(ALT) 键的同时单击端口中的 Wifi.之后将在底部显示创建 NAT64 网络复选框.选择WIFI以显示复选框时按ALT很重要
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
第 5 步:选中创建 NAT64 网络复选框.
现在在创建的网络中测试应用程序.
Now test the application in the created network.
这篇关于如何测试支持 IPv6 的 iOS 应用程序?苹果拒绝了应用程序,因为它不兼容 IPv6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!