Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.48 KB

installation.md

File metadata and controls

49 lines (33 loc) · 1.48 KB

Installation

Manual Install

  1. Clone the FlightLayout repository
  2. Add the contents of the Source Directory to the project

CocoaPods

  1. Edit the project's podfile, and save
    pod 'FlightLayout', :git => 'https://github.com/AntonTheDev/FlightLayout.git', :tag => '0.8.1'
  1. Install FlightLayout by running
    pod install

Carthage

The installation instruction below for iOS.

Installation

  1. Create/Update the Cartfile with with the following
    # FlightLayout
    git "https://github.com/AntonTheDev/FlightLayout.git" >= 0.8.1

  1. Run carthage update. This will fetch dependencies into a [Carthage/Checkouts][] folder, then build each one.
  2. In the application targets’ “General” settings tab, in the “Embedded Binaries” section, drag and drop each framework for use from the Carthage/Build folder on disk.
  3. Follow the installation instruction above. Once complete, perform the following steps (If you have setup a carthage build task for iOS already skip to Step 6)
  4. Navigate to the targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script with the following content:
    /usr/local/bin/carthage copy-frameworks
  1. Add the paths to the frameworks you want to use under “Input Files” within the carthage build phase as follows e.g.:
    $(SRCROOT)/Carthage/Build/iOS/FlightLayout.framework