diff options
author | Avery Pierce <apierce@partstown.com> | 2017-01-14 14:57:46 -0600 |
---|---|---|
committer | Avery Pierce <apierce@partstown.com> | 2017-01-14 14:57:46 -0600 |
commit | 30851905b595eb88c20c617e60100e307caa55c3 (patch) | |
tree | 618e7a0d93a2d9389a99e54e1a868a8d26a86ed5 /xcode/OLMKit | |
parent | 860740a91ee0efcf3c594ece23ef0a38ddda394e (diff) |
Add macOS support to the Podspec
Diffstat (limited to 'xcode/OLMKit')
-rw-r--r-- | xcode/OLMKit/OLMKit.h | 5 |
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(); |