Add input file to run script to fix build problems on server (#73)

* Add input file to run script

* Add conditional import for 0.40
This commit is contained in:
Christian Brevik 2017-04-27 00:01:16 +02:00 committed by Pedro Belo
parent a1056e175e
commit 17557df295
2 changed files with 6 additions and 1 deletions

View File

@ -138,12 +138,13 @@
files = (
);
inputPaths = (
"$(SRCROOT)/ReactNativeConfig/BuildDotenvConfig.ruby",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "./ReactNativeConfig/BuildDotenvConfig.ruby";
shellScript = ./ReactNativeConfig/BuildDotenvConfig.ruby;
};
/* End PBXShellScriptBuildPhase section */

View File

@ -1,4 +1,8 @@
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif
@interface ReactNativeConfig : NSObject <RCTBridgeModule>