Integrating Using CocoaPods

We maintain a CocoaPods Podspec for integrating Reveal into your Xcode projects. 

Our instructions assume that you've already configured your project or workspace for use with CocoaPods — if you haven't, please do so now. We also assume that you are using an up-to-date version of CocoaPods: if the instructions below aren't working, please update your copy of CocoaPods to the latest release.

Video Tutorial

Instructions

WARNING: Never ship a product which has been linked with the Reveal Server framework. The Podfile example below will only link the Reveal Server framework into builds of your app compiled using the "Debug" configuration.

  1. Add the following to your Podfile:

    target 'YourMainAppTargetName' do
        pod 'Reveal-SDK', :git => 'https://github.com/ittybittyapps/reveal-sdk.git', :configurations => ['Debug']
    end

    The :configurations parameter ensures that Reveal will only be linked into your Debug builds.

  2. Run pod install in your project directory (or pod update Reveal-SDK if you've previously used CocoaPods with your project).