0.2.0 ā€¢ Published 9 days ago

pod-install v0.2.0

Weekly downloads
14,911
License
MIT
Repository
github
Last release
9 days ago

šŸš€ 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)

FlagInputDescriptionDefault
--non-interactive[boolean]Skip prompting to install CocoaPods with sudoprocess.stdout.isTTY
--quiet[boolean]Only print errorsfalse

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.

0.2.0

4 months ago

0.1.39

7 months ago

0.1.38

2 years ago

0.1.37

2 years ago

0.1.34

2 years ago

0.1.35

2 years ago

0.1.36

2 years ago

0.1.33

2 years ago

0.1.30

2 years ago

0.1.31

2 years ago

0.1.32

2 years ago

0.1.29

2 years ago

0.1.28

2 years ago

0.1.27

3 years ago

0.1.26

3 years ago

0.1.25

3 years ago

0.1.24

3 years ago

0.1.22

3 years ago

0.1.23

3 years ago

0.1.21

3 years ago

0.1.20

3 years ago

0.1.19

3 years ago

0.1.19-alpha.0

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.0-alpha.15

4 years ago

0.0.0-alpha.14

4 years ago

0.0.0-alpha.13

4 years ago

0.0.0-alpha.12

4 years ago

0.0.0-alpha.11

4 years ago

0.0.0-alpha.10

4 years ago

0.0.0-alpha.9

4 years ago

0.0.0-alpha.8

4 years ago

0.0.0-alpha.7

4 years ago

0.0.0-alpha.6

4 years ago

0.0.0-alpha.5

4 years ago

0.0.0-alpha.3

4 years ago

0.0.0-alpha.4

4 years ago

0.0.0-alpha.1

4 years ago

0.0.0-alpha.0

4 years ago