Fix compilation error when installed by CocoaPods in Swift projects (#627)

This commit is contained in:
Richard Hua
2016-12-02 16:37:01 -08:00
committed by GitHub
parent 76b4f4d558
commit 32032f191a

View File

@@ -1,4 +1,9 @@
#if __has_include("RCTEventEmitter.h")
#import "RCTEventEmitter.h"
#else
#import "React/RCTEventEmitter.h" // Required when used as a Pod in a Swift project
#endif
#import <Foundation/Foundation.h>
@interface CodePush : RCTEventEmitter