Issue
I've build a react-native application and suddenly I get this error message on my terminal during run of the command react-native run-ios. The same code work fine 10 minutes ago and suddenly I get this error message. Please help...
Solution
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.
Answered By - Nana Adjei
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.