If you don’t have cocoa pods installed you need to sudo gem install cocoapods
- run
cd ios - run
pod install cd ..- delete build folder
- run
react-native run-ios
if the error persists,
- delete build folder again
- open the
/iosfolder in x-code - navigate File -> Project Settings -> Build System -> change (Shared workspace settings and Per-User workspace settings): Build System -> Legacy Build System`
You should be good to go. I hope this helps.