Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.74 KB

installation.md

File metadata and controls

62 lines (42 loc) · 1.74 KB

Installation

Manual Install

  1. Clone ExtendaBLE repositories
  2. Add the contents of /ExtendaBLE/Source

CocoaPods

  1. Edit the project's podfile, and save

    pod 'ExtendaBLE', '~> 0.4'
    
  2. Install ExtendaBLE by running

    pod install
    

Note: If you receive the following error [!] Unable to find a specification for ExtendaBLE (~> 0.4), run the following command to update the master cocoapods repo:

pod repo update master

Carthage

The installation instruction below for iOS and AppleTV

Installation

  1. Create/Update the Cartfile with with the following

    #ExtendaBLE
    git "https://github.com/AntonTheDev/ExtendaBLE.git" >= 0.4
    
  2. Run carthage update. This will fetch dependencies into a [Carthage/Checkouts][] folder, then build each one.

  3. 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.

  4. 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)

  5. 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
    
  6. Add the paths to the frameworks you want to use under “Input Files” within the carthage build phase as follows e.g.:

	  iOS  : $(SRCROOT)/Carthage/Build/iOS/ExtendaBLE.framework

  	OSX  : $(SRCROOT)/Carthage/Build/OSX/ExtendaBLE.framework

	  tvOS : $(SRCROOT)/Carthage/Build/tvOS/ExtendaBLE.framework