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.
Add the following to your Podfile:
For iOS projects:
pod 'Reveal-iOS-SDK', :configurations => ['Debug']
For tvOS projects:
pod 'Reveal-tvOS-SDK', :configurations => ['Debug']
Run pod install
in your project directory (or pod update
if you've previously used CocoaPods with your project).
Notes:
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.
If you have any problems or questions about integrating Reveal into your app, head over to our support site.