« Integrating Reveal

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 library from your project.

Once the library 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).

Static Linking

  1. Open your iOS or tvOS project in Xcode.
  2. Remove the Reveal.framework or Reveal-tvOS.framework reference from the Project Navigator.
  3. 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:
    • -framework Reveal
    • -ObjC and -lz (check that these are only required by Reveal).
  4. That's it - run your app and verify that Reveal cannot connect to your application.

Dynamic Linking

  1. Open your iOS or tvOS project in Xcode.
  2. Remove libReveal.dylib or libReveal-tvOS.dylib reference from the Project Navigator.
  3. Select your project in Xcode's Project Navigator, then for each target you've integrated Reveal with, select the Build Phases tab and remove the following libraries to the Link Binary With Libraries section if they were only required by Reveal:
    • libz.tbd
    • CFNetwork.framework
    • QuartzCore.framework
    • CoreGraphics.framework
  4. If present, remove the custom codesign Run Script from your Build Phases.
  5. If present, remove the loadReveal / startReveal methods from your code.
  6. That's it - run your app and verify that Reveal cannot connect to your application.

CocoaPods

  1. Remove the following line from your Podfile:

    For iOS projects:

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

    Or, for tvOS projects:

    ```ruby
    

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

  2. Run pod update in your project directory.

  3. If Reveal-iOS-SDK or Reveal-tvOS-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.