...and how I fixed it :)
The below fixes are for things failing on Mac.
(But, in some cases, could be cross-platform issues too.)
Got SDK "iphoneos" cannot be located
when running pod install
via react-native init <project>
.
Fixed by installing XCode
in the App Store and then running this:
sudo xcode-select --switch /Applications/Xcode.app