From 31ab562a98b20892e507f0eaf39a7c8ab5178613 Mon Sep 17 00:00:00 2001 From: pschsch <44177478+Pschsch@users.noreply.github.com> Date: Mon, 19 Dec 2022 18:32:00 +0300 Subject: [PATCH] Kotlin Multiplatform CocoaPods dependency support @import declaration breaks using TrueTime as CocoaPods dependency in Kotlin Multiplatform because modules are disabled. #import declaration fixes this issue --- Sources/TrueTime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TrueTime.h b/Sources/TrueTime.h index a9b09ab..875d6f4 100644 --- a/Sources/TrueTime.h +++ b/Sources/TrueTime.h @@ -6,7 +6,7 @@ // Copyright © 2016 Instacart. All rights reserved. // -@import Foundation; +#import "Foundation/Foundation.h" #import "ntp_types.h" NS_ASSUME_NONNULL_BEGIN