From bce4f007b1f0077260452912a95f0bf175e24108 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Sat, 6 Nov 2021 11:54:50 +0100 Subject: [PATCH] Use classic instead of semantic import This replaces the semantic import for the Security framework with a classic one. Semantic imports are currently not compatible with Kotlin Multiplatform Mobile projects which makes OLMKit (and consequently the iOS Matrix SDK) unusable in KMM. Fixes: https://github.com/matrix-org/olm/issues/67 Signed-off-by: Johannes Marbach --- xcode/OLMKit/OLMAccount.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/OLMKit/OLMAccount.m b/xcode/OLMKit/OLMAccount.m index 638e9ee..0aa8beb 100644 --- a/xcode/OLMKit/OLMAccount.m +++ b/xcode/OLMKit/OLMAccount.m @@ -23,7 +23,7 @@ #import "OLMUtility.h" #import "OLMKit.h" -@import Security; +#import @implementation OLMAccount