From d748c4f37169c7f5440166a742906c8003c3e141 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Sat, 10 Apr 2021 14:15:16 -0500 Subject: [PATCH] fix(app, ios-plist): make sure Info.plist exists before processing Previously there was no dependency stated on Info.plist, so occasionally we would "lose the race" and attempt to interpolate values prior to it existing Since ads requires the Info.plist admob ids in the Info.plist, this resulted in crashes on startup occasionally for users of the admob module Fixes #5152 --- packages/app/react-native.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/app/react-native.config.js b/packages/app/react-native.config.js index 769591fd77..de7580404c 100644 --- a/packages/app/react-native.config.js +++ b/packages/app/react-native.config.js @@ -10,6 +10,7 @@ module.exports = { name: '[RNFB] Core Configuration', path: './ios_config.sh', execution_position: 'after_compile', + input_files: ['$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)'], }, ], },