swifter icon indicating copy to clipboard operation
swifter copied to clipboard

Bind operation not permitted - MacOS - UITests

Open Krystek20 opened this issue 2 years ago • 0 comments

I saw this topic here: https://github.com/httpswift/swifter/issues/292 but unfortunately I got the same issue.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.network.client</key>
	<true/>
	<key>com.apple.security.network.server</key>
	<true/>
</dict>
</plist>

and if I run:

let server = HttpServer()
server["/hello"] = { .ok(.htmlBody("You asked for \($0)"))  }
server.start()

from main target it works, but from uiTests target it always fails.

Krystek20 avatar Oct 21 '23 08:10 Krystek20