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:

enter image description here

i have myapp.entitlements file in project looks like:

enter image description here

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:

  1. to exit xcode
  2. to reboot computer
  3. to boot in save mode
  4. to enable combination of permissions in entitlements
  5. to create new myapp.entitlements file
  6. to rename target

anybody has experienced behavior? suggestion appreciated... thank you.

well, ended reinstalling whole system , works...


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -