Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Couldn’t communicate with a helper application" on 10.10

I'm suddenly getting this error on Yosemite:

***storageTaskManagerExistsWithIdentifier:withIdentifier failed: 
Error Domain=NSCocoaErrorDomain 
Code=4099 "Couldn’t communicate with a helper application." 
(The connection to service named com.apple.nsurlstorage-cache was invalidated.) 

UserInfo=0x6000000621c0 
{NSDebugDescription=The connection to service named com.apple.nsurlstorage-cache was invalidated.}; 

The app was working perfectly on Mavericks. Any ideas what might be going on?

(I don't even have a clue where too look at... Sure, I have a WebView in there, but I haven't yet manage to figure out where the error is triggered...)

like image 378
Dr.Kameleon Avatar asked Nov 09 '14 16:11

Dr.Kameleon


People also ask

Can you communicate with a helper application?

The “helper application” error is related to the OneDrive not being able to communicate with an application on his iOS device that should be installed in order to access the said cloud-based storage (OneDrive). We appreciate your patience and efforts in trying to reset your account.

What is the helper app on Mac?

A tiny app that enables more Pro features at no extra cost.


1 Answers

This issue is very likely due to sandboxing as @ingrid already pointed out. But if you want to distribute our app(s) via the Mac App Store you can not just switch sandboxing off (which isn't recommended anyway). Instead enable the 'Outgoing Connections' capability.

  • Click on your project file
  • Choose the App's build target
  • On the 'Capabilities' tab extend 'App Sandbox'
  • Enabled the 'Outgoing Connections (Client)' checkbox

enter image description here

like image 82
martn_st Avatar answered Oct 12 '22 01:10

martn_st