I\'m using NEHotspotConfigurationManager with on iOS 11 iPhone to connect to specific Wi-Fi spot and then disconnect from it.
Here is the c
I'm having the exact same issue. I've even tried powering the hotspot device wifi off and on (but of course given it's an "internal error" would appear that this is in iOS itself rather than the device).
Does this appear when you're running with the debugger? For me I noticed I had left my iPhone set up for network connectivity to Xcode (Devices window > "Connect via network" checked). Turning this off seemed to make the problem go away.
I'll keep this SO page open in case it comes back and I have to dig in even deeper