Skip to content

Commit ea6920c

Browse files
authored
fix(app, ios): correct path to 'Info.plist' for ios build dependency (#5677)
The path used in the script is `_TARGET_PLIST="${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}"`, but the path specified as "input files" was `$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)`. This caused that sometimes values from `firebase.json` were not taken into account on iOS, because build step "Processing Info.plist" could be executed after "[RNFB] Core Configuration" and it could overwrite the `Info.plist` file. Related #5152 Related #5153
1 parent ad361d2 commit ea6920c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/react-native.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
name: '[RNFB] Core Configuration',
1111
path: './ios_config.sh',
1212
execution_position: 'after_compile',
13-
input_files: ['$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)'],
13+
input_files: ['$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)'],
1414
},
1515
],
1616
},

0 commit comments

Comments
 (0)