# POD's setup for React.Native-IOS

**URL:** https://forums.rocket.chat/t/pods-setup-for-react-native-ios/18613
**Category:** Community Support
**Tags:** mobile, rocketchat-apps
**Created:** [November 23, 2023, 6:33am UTC](https://forums.rocket.chat/t/pods-setup-for-react-native-ios/18613 "2023-11-23T06:33:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alain.bibera](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@alain.bibera](https://forums.rocket.chat/u/alain.bibera)
#### Post date: [November 23, 2023, 6:33am UTC](https://forums.rocket.chat/t/pods-setup-for-react-native-ios/18613/1 "2023-11-23T06:33:42Z")

</div>

### Description

POD’s do not install when executing through npx pod-install in mac terminal, seems that it was not able to locate the react\_native\_pods, anyone has any idea what causes the problem, below are execution result.

### Server Setup Information

- Version of Rocket.Chat Server: -
- Operating System: MacOS Sonoma
- Deployment Method: React.Native
- Number of Running Instances: -
- DB Replicaset Oplog: -
- NodeJS Version: 20.9.0
- MongoDB Version: -
- Proxy: 
- Firewalls involved:

### Any additional Information

ios % npx pod-install  
Scanning for pods…  
1.14.3

> pod install

[!] Invalid `Podfile` file: cannot load such file – /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/node\_modules/react-native/scripts/react\_native\_pods.

# from /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/ios/Podfile:1

# -------------------------------------------

> require\_relative ‘../node\_modules/react-native/scripts/react\_native\_pods’

# require\_relative ‘../node\_modules/@react-native-community/cli-platform-ios/native\_modules’

# -------------------------------------------

Couldn’t install Pods. Updating the Pods project and trying again…

> pod install --repo-update

[!] Invalid `Podfile` file: cannot load such file – /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/node\_modules/react-native/scripts/react\_native\_pods.

# from /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/ios/Podfile:1

# -------------------------------------------

> require\_relative ‘../node\_modules/react-native/scripts/react\_native\_pods’

# require\_relative ‘../node\_modules/@react-native-community/cli-platform-ios/native\_modules’

# -------------------------------------------

Couldn’t install Pods. Updating the Pods project and trying again…  
Command `pod install` failed.  
└─ Cause: Invalid `Podfile` file: cannot load such file – /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/node\_modules/react-native/scripts/react\_native\_pods.

# from /Users/…/Documents/RocketChat/Rocket.Chat.ReactNative/ios/Podfile:1

# -------------------------------------------

> require\_relative ‘../node\_modules/react-native/scripts/react\_native\_pods’

# require\_relative ‘../node\_modules/@react-native-community/cli-platform-ios/native\_modules’

# -------------------------------------------
