Skip to content

Introduction & Setup

What is RocketSim Connect and how does it work?

RocketSim Connect creates a connection between your running application and RocketSim. A dynamic library gets injected at runtime and opens a network connection which allows RocketSim to capture events.

RocketSim Connect works by implementing a small piece of code into your application. The app will guide you and provides a Copy Code button.

CleanShot%202024-07-01%20at%2014.42.06@2x.png

CleanShot 2024-07-04 at 10.22.32@2x.png

You can find the onboarding by following these steps:

  1. Select the Recent Builds tab
  2. Select the Networking tab
  3. Press the Setup RocketSim Connect button

Can I integrate RocketSim Connect using a breakpoint?

Section titled “Can I integrate RocketSim Connect using a breakpoint?”

Yes, you can!

img_7335.png

  1. Define a symbolic breakpoint for UIApplicationMain
  2. Add a debugger command action using expr (void *)dlopen("/Applications/RocketSim.app/Contents/Frameworks/RocketSimConnectLinker.nocache.framework/RocketSimConnectLinker", 0x2) Note: make sure to point to RocketSim’s .app path correctly.
  3. Enable “Automatically continue after evaluating actions”
  4. Move the breakpoint to “User” using the right-click menu to make it apply on all your Xcode projects

Not officially supported, but from the community, we’ve been told it’s working by using this gist.

Will RocketSim’s code end up in my release builds?

Section titled “Will RocketSim’s code end up in my release builds?”

Absolutely not. RocketSim’s setup code ensures it’s only running in debug builds using the #if DEBUG checks.

What kind of code are you injecting in my app?

Section titled “What kind of code are you injecting in my app?”

Injecting sounds scary, but it really is not. RocketSim will never harm your app’s performance, influence it’s data, and will never perform any privacy impacting actions. All communication finds place locally on a local network and will never leave your machine.