From 42778b8279444872811b855989d4d2fdec2572bf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 5 Sep 2018 20:16:38 +0200 Subject: Turn off Sandbox Turns out you can't register yourself as the default app handler when in a sandbox, which apparently is the default when creating a new Xcode project. > that’s all…. except that I’m running my application in a Sandbox > environment, and it returns the error -54 ! > > After trying to find a solution for this, and on the > devforums.apple.com forum, it seems that there is currently no > solution, Apple just decided to remove that feature since Yosemite…. > It still works on Mavericks. That of course very disappointing, and > even not mentioned in the Apple’s documentation. (https://blog.sovapps.com/make-your-application-reply-to-mailto-links/) Fuck that. Turn off sandboxing. Yay it works now. --- CopyMailto/CopyMailto.entitlements | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'CopyMailto/CopyMailto.entitlements') diff --git a/CopyMailto/CopyMailto.entitlements b/CopyMailto/CopyMailto.entitlements index f2ef3ae..0c67376 100644 --- a/CopyMailto/CopyMailto.entitlements +++ b/CopyMailto/CopyMailto.entitlements @@ -1,10 +1,5 @@ - - com.apple.security.app-sandbox - - com.apple.security.files.user-selected.read-only - - + -- cgit v1.2.3