I downloaded the latest version of SimpleTunnel.
https://developer.apple.com/library/content/samplecode/SimpleTunnel/Introduction/Intro.html#//apple_ref/doc/uid/TP40016140-Intro-DontLinkElementID_2
I have Xcode 8.1.
When I try to build this project, I get 2 times the error "Using undeclared type" NEAppProxyErrorDomain "in the ClientAppProxyConnection file in the following lines:
func handleErrorCondition (_ flowError: NEAppProxyErrorDomain? = nil, notifyServer: Bool = true) {func closeConnection (_ direction: TunnelConnectionCloseDirection, flowError: NEAppProxyErrorDomain?) {
I tried to clean up the project and rebuild it several times, and I deleted the whole project and downloaded it again, etc.
What can I do?
Hi,
Replace "NEAppProxyErrorDomain" with "NEAppProxyFlowError.Code".
This only happens with Xcode 8.1. I installed Xcode 8.0 again and it works well.