Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 2b37595

Browse files
liamxujialiamvelimir-jankovic
authored
[swift] Fix imports for Cocoapods + Swift projects + (#2004)
Co-authored-by: liam <liamxujia@gmail.com> Co-authored-by: velimir-jankovic <84719115+velimir-jankovic@users.noreply.github.com>
1 parent df2de5e commit 2b37595

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ios/CodePush/CodePushPackage.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "CodePush.h"
2+
#if __has_include(<SSZipArchive/SSZipArchive.h>)
3+
#import <SSZipArchive/SSZipArchive.h>
4+
#else
25
#import "SSZipArchive.h"
6+
#endif
37

48
@implementation CodePushPackage
59

0 commit comments

Comments
 (0)