reactjsreact-nativecocoapodsreact-native-linking

pod is not recognized as an internal or external command in react native


I've installed image picker in my react native project and i am going to link the package in ios

I run these commands:

cd ios && pod install

But i'm getting this error:

pod is not recognized as an internal or external command

I am coding in windows 7 and my react native version is: "0.61.5"

How can i fix this?


Solution

  • pod is command for Cocoapods, dependency manager for xcode project, so it means that cocoapods is expected to be running on macOS. However if you want to try, you can see this article about running pod commands on windows.