$ cnpm install pod-install
pod-install
A fast, zero-dependency package for cutting down on common issues developers have when running pod install
.
npx pod-install
???? Notice: This package is not limited to native React projects, you can use it with any iOS or Xcode project using CocoaPods (like Ionic, or Flutter).
All native packages (especially those installed with NPM) often need to explain the following:
cd
into the proper directory before running pod install
.pod repo update
to fix your project.But now you can simply instruct users to run npx pod-install
.
This package will do the following:
ios/
directory (if one exists).pod install
pod install
fails because the repo is out of date, then it'll run pod repo update
and try again.For more information run npx pod-install --help
(or -h
)
Flag | Input | Description | Default |
---|---|---|---|
--non-interactive |
[boolean] |
Skip prompting to install CocoaPods with sudo | process.stdout.isTTY |
--quiet |
[boolean] |
Only print errors | false |
The Expo source code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.
Copyright 2014 - 2016 © taobao.org |