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.

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', :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).