From 6f113dd7b3b4de918c4efb81d38a1ffe1d391b5b Mon Sep 17 00:00:00 2001 From: manuroe Date: Tue, 27 Sep 2016 11:57:29 +0200 Subject: OLMKit: Make the project build Make OLMKit CocoaPods expose the obj-c wrapper of libolm --- xcode/OLMKit/OLMAccount_Private.h | 4 ++-- xcode/OLMKit/OLMKit.h | 8 ++++---- xcode/OLMKit/OLMSession.m | 2 +- xcode/OLMKit/OLMSession_Private.h | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'xcode/OLMKit') diff --git a/xcode/OLMKit/OLMAccount_Private.h b/xcode/OLMKit/OLMAccount_Private.h index 4eb3e2b..b8cf506 100644 --- a/xcode/OLMKit/OLMAccount_Private.h +++ b/xcode/OLMKit/OLMAccount_Private.h @@ -6,10 +6,10 @@ // // -@import olm; +#include "olm/olm.h" @interface OLMAccount() @property (nonatomic) OlmAccount *account; -@end \ No newline at end of file +@end diff --git a/xcode/OLMKit/OLMKit.h b/xcode/OLMKit/OLMKit.h index 745af43..954d6db 100644 --- a/xcode/OLMKit/OLMKit.h +++ b/xcode/OLMKit/OLMKit.h @@ -17,7 +17,7 @@ FOUNDATION_EXPORT const unsigned char OLMKitVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import -#import "OLMAccount.h" -#import "OLMSession.h" -#import "OLMMessage.h" -#import "OLMUtility.h" \ No newline at end of file +#import +#import +#import +#import diff --git a/xcode/OLMKit/OLMSession.m b/xcode/OLMKit/OLMSession.m index 119079f..41aef7e 100644 --- a/xcode/OLMKit/OLMSession.m +++ b/xcode/OLMKit/OLMSession.m @@ -10,7 +10,7 @@ #import "OLMUtility.h" #import "OLMAccount_Private.h" #import "OLMSession_Private.h" -@import olm; +#include "olm/olm.h" @implementation OLMSession diff --git a/xcode/OLMKit/OLMSession_Private.h b/xcode/OLMKit/OLMSession_Private.h index d906b14..bd7d25d 100644 --- a/xcode/OLMKit/OLMSession_Private.h +++ b/xcode/OLMKit/OLMSession_Private.h @@ -6,11 +6,11 @@ // // -@import olm; +#include "olm/olm.h" @interface OLMSession() @property (nonatomic) OlmSession *session; @property (nonatomic, strong) OLMAccount *account; -@end \ No newline at end of file +@end -- cgit v1.2.3