the answer to solving it is here
but the code snippets they provided in the docs wasn't enough, i have to modify it to this
# Install Node.js using Homebrew
brew install node
# Install CocoaPods using Homebrew
brew install cocoapods
# Navigate to the project root directory
cd ..
# Install Node.js dependencies
npm install
# Navigate back to the ios directory
cd ios
# Install dependencies you manage with CocoaPods
pod install
and it was able to build succesfully without any pods error
PS: i am using reactnative
Topic:
App & System Services
SubTopic:
Core OS
Tags: