aboutsummaryrefslogtreecommitdiff
path: root/xcode/OLMKit
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2016-09-27 11:57:29 +0200
committermanuroe <manu@matrix.org>2016-09-27 14:07:30 +0200
commit6f113dd7b3b4de918c4efb81d38a1ffe1d391b5b (patch)
tree19311a94dc999d776b36535d28f2c751cb7d629f /xcode/OLMKit
parent1d06f2a4d9565c332081bc685edd8fd61d6507ef (diff)
OLMKit: Make the project build
Make OLMKit CocoaPods expose the obj-c wrapper of libolm
Diffstat (limited to 'xcode/OLMKit')
-rw-r--r--xcode/OLMKit/OLMAccount_Private.h4
-rw-r--r--xcode/OLMKit/OLMKit.h8
-rw-r--r--xcode/OLMKit/OLMSession.m2
-rw-r--r--xcode/OLMKit/OLMSession_Private.h4
4 files changed, 9 insertions, 9 deletions
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 <OLMKit/PublicHeader.h>
-#import "OLMAccount.h"
-#import "OLMSession.h"
-#import "OLMMessage.h"
-#import "OLMUtility.h" \ No newline at end of file
+#import <OLMKit/OLMAccount.h>
+#import <OLMKit/OLMSession.h>
+#import <OLMKit/OLMMessage.h>
+#import <OLMKit/OLMUtility.h>
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