A quick guide on how to solve confusing React Native errors
When installing React Native to run the project on iOS, I ran into a problem.
I entered the project
iosFolder to run
pod installFollow my instructions.
But when I ran the command, I received a long error message:
From this error i read
error: SDK "iphoneos" cannot be located.
Looks suspicious, right?
So I researched it and the reason to solve the problem is to run the command
sudo xcode-select --switch /Applications/Xcode.app
pod installIt works fine again!
Download mine for freeResponse Handbook
More native tutorials:
- How to use React Native to solve the "unrecognized command run-ios" error
- How to fix the ``Cannot locate iphoneos'' error in MacOS
- How to fix "EMFILE: Too many open files, please pay attention" error in macOS