« Integrating Reveal

CocoaPods

CocoaPods has a Podspec for integrating Reveal into your Xcode project.

WARNING: Never ship a product which has been linked with the Reveal library. The instructions below outline a way to use build configurations to isolate linking the Reveal static library to Debug builds.

These instructions assume that you've already configured your project and workspace for use with CocoaPods — if you haven't, please do that now.

  1. Add the following to your Podfile:

    For iOS projects:

     pod 'Reveal-iOS-SDK', :configurations => ['Debug']

    For tvOS projects:

     pod 'Reveal-tvOS-SDK', :configurations => ['Debug']
  2. Run pod install in your project directory (or pod update if you've previously used CocoaPods with your project).

Notes:

  1. We endeavour to keep our Podspec in the CocoaPods repository up to date, but at times it may lag slightly behind released versions of Reveal.
  2. If you're running a version of CocoaPods prior to version 0.34, you will see the following error in your console when running pod install or pod update:

     [!] Unknown external source parameters for `Reveal-iOS-SDK`: `{:configurations=>["Debug"]}`

    Update CocoaPods to the latest version to resolve this issue.

Getting Help

If you have any problems or questions about integrating Reveal into your app, head over to our support site.