When i type \"pod install\" in a correct directory I always get this
Analyzing dependencies
[!] Could not automatically select an Xcode project. Specify
This seems to be an issue with an additional file being added to Xcode. In case you are trying to troubleshoot, it makes sense to look at any additional files you may have added. Either on Xcode or directly in your file.
In my case it was this: /node_modules/react-native-gesture-handlers/ios/RNGestureHandler
After deleting this I hit pod install, and it worked fine.