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
- Open your iOS or tvOS project in Xcode.
- Remove the Reveal.framework or Reveal-tvOS.framework reference from the Project Navigator.
- 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).
- That's it - run your app and verify that Reveal cannot connect to your application.
Dynamic Linking
- Open your iOS or tvOS project in Xcode.
- Remove libReveal.dylib or libReveal-tvOS.dylib reference from the Project Navigator.
- 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
- If present, remove the custom codesign Run Script from your Build Phases.
- If present, remove the
loadReveal
/ startReveal
methods from your code.
- That's it - run your app and verify that Reveal cannot connect to your application.
CocoaPods
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']
```
Run pod update
in your project directory.
- 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.
- That's it - run your app and verify that Reveal cannot connect to your application.