From 6c2632d2c7e9287af5f1a86d8af5f7ab30a58138 Mon Sep 17 00:00:00 2001 From: luancurti Date: Thu, 9 Jun 2022 21:15:59 -0300 Subject: [PATCH] fix: remove old prefix RNC (#659) BuildDotenvConfig.rb generates GeneratedInfoPlistDotEnv.h with old prefix RNC that isnt used anymore --- ios/ReactNativeConfig/BuildDotenvConfig.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/ReactNativeConfig/BuildDotenvConfig.rb b/ios/ReactNativeConfig/BuildDotenvConfig.rb index a9a17125..9df07cd6 100755 --- a/ios/ReactNativeConfig/BuildDotenvConfig.rb +++ b/ios/ReactNativeConfig/BuildDotenvConfig.rb @@ -26,7 +26,7 @@ File.open(path, 'w') { |f| f.puts template } # create header file with defines for the Info.plist preprocessor -info_plist_defines_objc = dotenv.map { |k, v| %Q(#define RNC_#{k} #{v}) }.join("\n") +info_plist_defines_objc = dotenv.map { |k, v| %Q(#define #{k} #{v}) }.join("\n") # write it so the Info.plist preprocessor can access it path = File.join(ENV["BUILD_DIR"], "GeneratedInfoPlistDotEnv.h")