aboutsummaryrefslogtreecommitdiffstats
path: root/CopyMailto.xcodeproj
diff options
context:
space:
mode:
authorTeddy Wing2018-09-05 20:16:38 +0200
committerTeddy Wing2018-09-05 20:16:38 +0200
commit42778b8279444872811b855989d4d2fdec2572bf (patch)
tree243fd3b5065043b102b0bbb0876743189f0a66a1 /CopyMailto.xcodeproj
parent572d63b9782b97f419aadb13173f6207e36a158f (diff)
downloadCopy-Mailto-42778b8279444872811b855989d4d2fdec2572bf.tar.bz2
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.
Diffstat (limited to 'CopyMailto.xcodeproj')
-rw-r--r--CopyMailto.xcodeproj/project.pbxproj7
1 files changed, 5 insertions, 2 deletions
diff --git a/CopyMailto.xcodeproj/project.pbxproj b/CopyMailto.xcodeproj/project.pbxproj
index 0012db7..26d3983 100644
--- a/CopyMailto.xcodeproj/project.pbxproj
+++ b/CopyMailto.xcodeproj/project.pbxproj
@@ -102,6 +102,11 @@
D1F170F621402BB000BD08A0 = {
CreatedOnToolsVersion = 9.2;
ProvisioningStyle = Automatic;
+ SystemCapabilities = {
+ com.apple.Sandbox = {
+ enabled = 0;
+ };
+ };
};
};
};
@@ -267,7 +272,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = CopyMailto/CopyMailto.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = CopyMailto/Info.plist;
@@ -282,7 +286,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = CopyMailto/CopyMailto.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = CopyMailto/Info.plist;