Part 1: Installing CocoaPods, third-party libraries and Starting a Project

Image for post
Image for post

Starting a Project

  1. Open Xcode, and select ‘Create a new Xcode project’.
  2. Select Single View Application from the iOS >Application list.
  3. Click Next
  4. Configure your project:
  • Product Name: combat
  • Team: None ( unless you have an Apple Developer Account )
  • Organization Name: Whatever you want
  • Organization Identifier: com.(OrganizationName or YourName)

6. Make sure Swift is selected as the language, and Devices is set to Universal. Also check that you have included Unit Tests and UI Tests. Don’t check CoreData. Click Next.

Select a place to save your project, then hit Create.

Image for post
Image for post

Installing CocoaPods, third-party libraries

$ gem install cocoapods

We’re going to make a Podfile, which is where cocoapods will look each time it updates the project’s pods.

Now navigate to your project and type the following command on terminal.

$ touch Podfile

Hit enter and type the following command

$ atom Podfile

Now copy and paste all code blocks into Podfile and type the following command on terminal

$ pod install

If all goes well, the following handy command will open your project.

$ open combat.xcworkspace

Done!

Next Part 2: Installing Theme Manager

That’s it. 😃😃😃 Thanks for reading.

If you want to follow me in social media, here are some links. github, twitter, linkedin

You can check my previous article here.

Written by

Health Research Program’s iOS Developer, currently lives in Washington, D.C http://www.about.me/durul

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store