aboutsummaryrefslogtreecommitdiff
path: root/xcode/OLMKit
diff options
context:
space:
mode:
authorAvery Pierce <apierce@partstown.com>2017-01-14 14:57:46 -0600
committerAvery Pierce <apierce@partstown.com>2017-01-14 14:57:46 -0600
commit30851905b595eb88c20c617e60100e307caa55c3 (patch)
tree618e7a0d93a2d9389a99e54e1a868a8d26a86ed5 /xcode/OLMKit
parent860740a91ee0efcf3c594ece23ef0a38ddda394e (diff)
Add macOS support to the Podspec
Diffstat (limited to 'xcode/OLMKit')
-rw-r--r--xcode/OLMKit/OLMKit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xcode/OLMKit/OLMKit.h b/xcode/OLMKit/OLMKit.h
index 34db111..6fcaa56 100644
--- a/xcode/OLMKit/OLMKit.h
+++ b/xcode/OLMKit/OLMKit.h
@@ -16,7 +16,12 @@
limitations under the License.
*/
+#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
+#elif TARGET_OS_MAC
+#import <Cocoa/Cocoa.h>
+#endif
+
//! Project version string for OLMKit, the same as libolm.
NSString *OLMKitVersionString();