user1431870
user1431870

Reputation: 21

Sandboxd Deny network-bind error message when binds socket

I have developed webkit based application and sandboxed the application. But after sandboxing the same, I could not load webpages in the application. The webpages are crashing. Here is the error message ..

sandboxd : Deny network-bind [application support folder path]

Anyone faced such an issue? Not sure what entitlement key and value need to be given to resovle this issue.

Upvotes: 2

Views: 753

Answers (2)

mardy
mardy

Reputation: 176

I faced the same issue, though not with WebKit but with a Qt application using a QTcpServer instance listening on the local host.

You need to add the com.apple.security.network.server entitlement to your application's manifest. It's documented in Apple's Entitlement Key Reference.

Upvotes: 0

usain
usain

Reputation: 756

I faced this problem, and after a while I found that sandbox don't allow to bind, on a socket created outside the app container.

Upvotes: 1

Related Questions