Skip to content

Commit

Permalink
Add input file to run script to fix build problems on server (lugg#73)
Browse files Browse the repository at this point in the history
* Add input file to run script

* Add conditional import for 0.40
  • Loading branch information
cbrevik authored and Pedro Belo committed Apr 26, 2017
1 parent a1056e1 commit 17557df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/ReactNativeConfig.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
4 changes: 4 additions & 0 deletions ios/ReactNativeConfig/ReactNativeConfig.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif

@interface ReactNativeConfig : NSObject <RCTBridgeModule>

Expand Down

0 comments on commit 17557df

Please sign in to comment.