« Reveal Integration Guide

Integrating Reveal with App Extensions

Assuming that you've already integrated Reveal framework with your iOS app using one of the available options, integrating it with an extension contained in that app follows similar steps.

Using CocoaPods

If you have followed the steps for integrating Reveal into your Xcode Project using CocoaPods, then repeat the same steps for your app extension target. As a result, your Podfile might look like this:

target 'YourMainAppTargetName' do
    pod 'Reveal-SDK', :configurations => ['Debug']
end

target 'YourAppExtensionTargetName' do
    pod 'Reveal-SDK', :configurations => ['Debug']
end

Loading the framework via an Xcode Breakpoint

If you have followed the steps for loading Reveal via an Xcode Breakpoint, you don't have to change anything to start inspecting your app extension. The breakpoint debugger command that you have already configured for your app will continue to work in the app extension. Please keep in mind that in order to use this integration method on device, you'll have to repeat the Debugging on device steps with your app extension target.

Linking the framework into your app extension

If you have followed the steps required to link Reveal into your app, just repeat steps from 4 to 9, but this time with your app extension target, instead of the iOS app target. Since you've already copied Reveal Server framework to the root directory of your project, there's no need to do that again.

Important Information

Known Issues

Getting Help

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