sandbox - Mac OS app entitlements block internet connection -
i have mac os app needs outgoing connections.
i've followed apple code signing guide (xcode 4.6.2) enable entitlements , target summary looks this:
i have myapp.entitlements file in project looks like:
everything seems set in right way, when try run app, if
- (void)webview:(webview *)sender didstartprovisionalloadforframe:(webframe *)frame
and
- (void)webview:(webview *)sender didfinishloadforframe:(webframe *)frame
are called, nothing loaded in webview. nor little snitch asks connection. then, in console no violation presented.
if try change entitlements setting, unchecking "allow outgoing connections", console shows sandbox violation way:
20/05/13 00:44:09,000 kernel[0]: sandbox: sandboxd(908) deny mach-lookup com.apple.coresymbolicationd 20/05/13 00:44:10,593 sandboxd[908]: ([904]) myapp(904) deny mach-lookup com.apple.systemconfiguration.scnetworkreachability 20/05/13 00:44:10,601 sandboxd[908]: ([904]) myapp(904) deny system-socket
if remove enable app sandboxing, works , webview loads contents...
i have tried:
- to exit xcode
- to reboot computer
- to boot in save mode
- to enable combination of permissions in entitlements
- to create new myapp.entitlements file
- to rename target
anybody has experienced behavior? suggestion appreciated... thank you.
well, ended reinstalling whole system , works...
Comments
Post a Comment