From 30851905b595eb88c20c617e60100e307caa55c3 Mon Sep 17 00:00:00 2001 From: Avery Pierce Date: Sat, 14 Jan 2017 14:57:46 -0600 Subject: Add macOS support to the Podspec --- xcode/OLMKit/OLMKit.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xcode') 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 +#elif TARGET_OS_MAC +#import +#endif + //! Project version string for OLMKit, the same as libolm. NSString *OLMKitVersionString(); -- cgit v1.2.3 From b2b93d7a1f03a620c5ee87491076bf18764adeb4 Mon Sep 17 00:00:00 2001 From: Avery Pierce Date: Sat, 14 Jan 2017 20:13:16 -0600 Subject: Strip down to Foundation (no need to include UIKit or Cocoa) --- xcode/OLMKit/OLMKit.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'xcode') diff --git a/xcode/OLMKit/OLMKit.h b/xcode/OLMKit/OLMKit.h index 6fcaa56..e23a9f1 100644 --- a/xcode/OLMKit/OLMKit.h +++ b/xcode/OLMKit/OLMKit.h @@ -16,11 +16,7 @@ limitations under the License. */ -#if TARGET_OS_IPHONE -#import -#elif TARGET_OS_MAC -#import -#endif +#import //! Project version string for OLMKit, the same as libolm. -- cgit v1.2.3