From f9ace2283b576c1ea748ad781ca38669365426e1 Mon Sep 17 00:00:00 2001 From: Andreas Buff Date: Thu, 18 Mar 2021 16:09:20 +0100 Subject: [PATCH] IOSAD-202 stops setting per machine dir for mac. The defaults in Engine platform_unix.h should do. --- pEpObjCAdapter/PEPObjCAdapter.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pEpObjCAdapter/PEPObjCAdapter.m b/pEpObjCAdapter/PEPObjCAdapter.m index 9c1caae1..4c51c4eb 100644 --- a/pEpObjCAdapter/PEPObjCAdapter.m +++ b/pEpObjCAdapter/PEPObjCAdapter.m @@ -127,7 +127,7 @@ static id s_passphraseProvider = nil; // The engine will put its per_user_directory under this directory. setenv("HOME", [[s_homeURL path] cStringUsingEncoding:NSUTF8StringEncoding], 1); #else - // For macOS there is nothing toDo. + // For macOS there is nothing toDo. The defaults in Engine platform_unix.h should do. #endif } @@ -135,8 +135,7 @@ static id s_passphraseProvider = nil; #if TARGET_OS_IPHONE [self setPerMachineDirectory:[self homeURL]]; #else - NSURL *macPerMachineDir = [[NSURL alloc] initWithString:[@"/Library/Application Support/pEp" stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLPathAllowedCharacterSet]]; - [self setPerMachineDirectory:macPerMachineDir]; + // For macOS there is nothing toDo. The defaults in Engine platform_unix.h should do. #endif }