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

Durul Dalkanat
2 min readApr 22, 2017

Starting a Project

  1. Download and install Xcode from the App Store.
  2. Open Xcode, and select ‘Create a new Xcode project’.
  3. Select Single View Application from the iOS >Application list.
  4. Click Next
  5. 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.

Installing CocoaPods, third-party libraries

Make sure you have installed cocoapods by running the following command in terminal.

$ 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!

Source code: https://github.com/durul/combat

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.

--

--