I’ve been developing a ReactNative iOS project using XCode and it was working great until I tried to install Firebase and then everything started breaking. I decided to try to uninstall Firebase and start over, but after doing that, I can’t seem to make the npx react-native run-ios --device
command work. I keep getting the following error:
The following build commands failed:
PhaseScriptExecution Bundle React Native code and images /Users/[name]/Library/Developer/Xcode/DerivedData/MyProject-alvfgilyisilujgdmginpbfqaewh/Build/Intermediates.noindex/MyProject.build/Debug-iphoneos/MyProject.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'MyProject' from project 'MyProject')
(1 failure)
along with a whole page of other errors preceeding it.
What should be in XCode Bundle React Native and Images script? I’m not sure what could’ve changed in between my previous working version and the one right now, but I’m at a complete loss and help would be greatly appreciated.
Would it maybe be worth, since I still have all my actual coding saved, to try to restart the project? I’m just annoyed that the installation and setup phase will take way too long. I know I’m just a beginner developer, but I always feel like these types of errors take up way too much time and take away from the actual fun coding 🙁
If there is any other information I can provide that would be useful please let me know!! I will be actively updating and responding to answers I get.