# #前记
Recently changed work, life finally settled down, and can be more bo
# #正文
Recently the company in the online app (the whole is to write with JS, the use of my native controller), and then the app went online, was the Apple Baba refused. By reading an Apple reply to the email because of the IPv6 problem. Of course online about how OSX10.11 build IPv6 local test app blog has a lot, also very detailed, I mainly talk about the 10.12 build the feeling of OSX.
# # #首先确定问题是不是在客户端
Take today I scrap Dickens, because Mac build IPv6 local to test the app, is from the OSX10.11 after the appearance. However, the company's computer system is lower, and so I upgraded to 10.10, AppStore do not remind me to update the system, and then I can only go to update 10.12, then the AppID is family sharing, and changed the payment method. After I test, go to report to the supervisor (the supervisor is an old programmer who wrote the code for 20 years), said the test IPv6 no problem. The director said: "The company's only IPv4, how you test the IPV6, because when the outside network access, you test even IPv6, also eventually converted to IPV4.
I say this question, is when see is rejected because IPV6, first ask clear backstage is not support IPV6, do not work for a long time, job report, know backstage does not support IPV6.
# # #OSX10.12 Building a test app's attention point
Setting up the IPV6 test environment it's easy to use a Mac to make a hot spot, and then connect to the Wi-Fi with the IPhone, and it sounds like a lot easier, follow my steps. (Non-Wi-Fi mode for Mac)
And the normal way to open the Mac hotspot is the difference between this time we have a local IPv6 Dns64/nat64 network, this feature is OS X 10.11 new features (if your MAC system version is not the words must be upgraded Oh, in order to generate IPv6 hotspots).
Unlike the way we used to open hotspots, we have to press and hold the Option key while "System Preferences" OSX10.11 the interface with "share (sharing)" selected. While the OSX10.12 is selected on the interface while sharing, click "option" + "command". Such as:
# # #具体操作详见博客
Blog Address: http://www.jianshu.com/p/49442934b81d
# #后记
Refer to the blog when it depends on the date
OSX10.12 Build IPV6 Local environment test app