Book Image

Sparrow iOS Game Framework Beginner's Guide

By : Johannes Stein
Book Image

Sparrow iOS Game Framework Beginner's Guide

By: Johannes Stein

Overview of this book

Table of Contents (20 chapters)
Sparrow iOS Game Framework Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Afterword
Index

Time for action – installing CocoaPods


To install CocoaPods, follow these steps:

  1. Open a terminal.

  2. Enter sudo gem update –system and press Enter to confirm.

  3. Enter sudo gem install cocoapods.

  4. Enter pod setup. This may take a long time, so be patient.

What just happened?

As CocoaPods needs to be installed using the command line, our requirement is to have a terminal window opened.

In the second step, we are going to update RubyGems to the latest available version.

After that, we trigger the installation of CocoaPods. This also installs all dependencies. If there is a conflict, we get a prompt to deal with this conflict. If you are unsure about what to do, just press Enter in this case and the safest option will be chosen.

The last step is necessary in order to set up CocoaPods. It's recommended to run this command from time to time as it updates the local repository with all the latest specifications of libraries that can be used.

Now that CocoaPods is installed, we can go ahead and set up our Sparrow template.