#### « Reveal Integration Guide

# Remove Reveal from your Xcode Project

Depending on the option you used to integrate Reveal with your project, please follow the relevant guide below to remove the Reveal Server framework from your project.

Once the framework has been successfully removed, the following line should no longer be logged in Xcode's console upon starting your app:

    INFO: Reveal Server started (Protocol Version X).

## Linking RevealServer.framework into your Xcode project

1. Open your iOS or tvOS project in Xcode.
2. Remove any RevealServer.framework references from the Project Navigator.
3. If present, remove the custom codesign and copy framework Run Script(s) from your Build Phases.
4. Select your project in Xcode's Project Navigator, then for each target you've integrated Reveal with, select the Build Settings tab and remove the following from the Debug configuration of the Other Linked Flags setting:
   - `-weak_framework RevealServer`
   - `-ObjC` and `-lz` (check that these are only required by Reveal).
5. Still in the Build Settings tab, search for Framework Search Paths, and remove the path to Reveal.app if it is there.
6. If present, remove the `loadReveal` / `startReveal` methods from your code.
7. That's it - run your app and verify that Reveal cannot connect to your application.

## CocoaPods

1. Remove the following line from your `Podfile`:

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

2. Run `pod install` in your project directory.

3. If `Reveal-SDK` was the only pod in your `Podfile`, please follow these instructions to completely remove CocoaPods from your project.
4. That's it - run your app and verify that Reveal cannot connect to your application.

## Load the Reveal Server via an Xcode Breakpoint

If you have added a build phase to your project to enable the Reveal Xcode Breakpoint to work on device, simply remove that build phase, clean the build folder and delete the app from your device before running it again.

If you would also like to stop Reveal from loading in the Simulator, disable or delete the `UIApplicationMain` breakpoint containing the `reveal load` command from Xcode's Breakpoint Navigator. Please note that this will affect all your apps if the breakpoint was in the User section of Breakpoint Navigator.