pod-install
Ensure CocoaPods are installed in your project
Last updated 8 months ago by dsokal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pod-install 
SYNC missed versions from official npm registry.

???? Welcome to
pod-install

A fast, zero-dependency package for cutting down on common issues developers have when running pod install.

Install pod-install instantly

???? Usage

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).

???? Why?

All native packages (especially those installed with NPM) often need to explain the following:

  • What is CocoaPods.
  • What is gem.
  • How to install CocoaPods.
  • cd into the proper directory before running pod install.
  • You may need run pod repo update to fix your project.
  • Why CocoaPods requires a darwin machine.

But now you can simply instruct users to run npx pod-install.

This package will do the following:

  • Check if the machine is darwin.
    • If not then it'll quit with a helpful error message.
  • Ensure CocoaPods CLI is installed on the machine.
    • If not then it'll try to install CocoaPods CLI, first with gem, then with homebrew.
  • Check if there is an Xcode project in the current directory
    • If not then it'll try again in an ios/ directory (if one exists).
  • Run pod install
    • If pod install fails because the repo is out of date, then it'll run pod repo update and try again.

⚙️ Options

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

License

The Expo source code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.

Current Tags

  • 0.1.12                                ...           latest (2 months ago)

28 Versions

  • 0.1.12                                ...           2 months ago
  • 0.1.11                                ...           2 months ago
  • 0.1.10                                ...           3 months ago
  • 0.1.9                                ...           4 months ago
  • 0.1.8                                ...           5 months ago
  • 0.1.7                                ...           5 months ago
  • 0.1.6                                ...           6 months ago
  • 0.1.5                                ...           6 months ago
  • 0.1.4                                ...           6 months ago
  • 0.1.3                                ...           6 months ago
  • 0.1.2                                ...           6 months ago
  • 0.1.1                                ...           6 months ago
  • 0.1.0                                ...           6 months ago
  • 0.0.0-alpha.15                                ...           6 months ago
  • 0.0.0-alpha.14                                ...           7 months ago
  • 0.0.0-alpha.13                                ...           7 months ago
  • 0.0.0-alpha.12                                ...           7 months ago
  • 0.0.0-alpha.11                                ...           7 months ago
  • 0.0.0-alpha.10                                ...           7 months ago
  • 0.0.0-alpha.9                                ...           7 months ago
  • 0.0.0-alpha.8                                ...           8 months ago
  • 0.0.0-alpha.7                                ...           8 months ago
  • 0.0.0-alpha.6                                ...           8 months ago
  • 0.0.0-alpha.5                                ...           8 months ago
  • 0.0.0-alpha.4                                ...           8 months ago
  • 0.0.0-alpha.3                                ...           8 months ago
  • 0.0.0-alpha.1                                ...           8 months ago
  • 0.0.0-alpha.0                                ...           8 months ago

Copyright 2014 - 2017 © taobao.org |