Merge pull request #147 from realm/al-headers

Fix for wrong headers when building release
This commit is contained in:
Ari Lazier 2015-11-17 13:10:41 -08:00
commit bc7111bd2e
1 changed files with 2 additions and 5 deletions

View File

@ -10,10 +10,6 @@ extern "C" {
#import <objc/runtime.h> #import <objc/runtime.h>
#import <dlfcn.h> #import <dlfcn.h>
#if DEBUG
#import <GCDWebServers/GCDWebServers.h>
#endif
@interface NSObject () @interface NSObject ()
- (instancetype)initWithJSContext:(void *)context; - (instancetype)initWithJSContext:(void *)context;
- (JSGlobalContextRef)ctx; - (JSGlobalContextRef)ctx;
@ -48,10 +44,11 @@ JSGlobalContextRef RealmReactGetJSGlobalContextForExecutor(id executor, bool cre
} }
} }
#import "shared_realm.hpp"
#if DEBUG #if DEBUG
#import <GCDWebServers/GCDWebServers.h> #import <GCDWebServers/GCDWebServers.h>
#import <RealmJS/RealmRPC.hpp> #import <RealmJS/RealmRPC.hpp>
#import "shared_realm.hpp"
@interface RealmReact () { @interface RealmReact () {
GCDWebServer *_webServer; GCDWebServer *_webServer;