[REACT NATIVE] Bugfix -> casing Podfile (#18861)

### Description
The casing of Podfile is incorrect in the plugin. This causes issues
when building iOS on case-sensitive systems such as Linux.

### Motivation and Context
because cannot build ios on case sensitive systems
This commit is contained in:
Frank 2023-12-19 01:20:46 +01:00 committed by GitHub
parent 3ff4a4c393
commit 63b47ceaf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ const withOrt = (config) => {
config = configPlugin.withDangerousMod(config, [
'ios',
(config) => {
const podFilePath = path.join(config.modRequest.platformProjectRoot, 'PodFile');
const podFilePath = path.join(config.modRequest.platformProjectRoot, 'Podfile');
const contents = fs.readFileSync(podFilePath, {encoding: 'utf-8'});
const updatedContents =
generateCode