Skip to content

Commit ab91929

Browse files
authored
Merge pull request #986 from AvdLee/docs/update-connect-breakpoint-fallback
Update RocketSim Connect manual breakpoint docs
2 parents b4e27fb + 56fff64 commit ab91929

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/content/docs/docs/getting-started/setting-up-rocketsim-connect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ Select the **Recent Builds** tab, then the **Networking** tab, and press **Setup
3535

3636
## Setup via breakpoint
3737

38-
If you prefer a zero-code approach, use a symbolic breakpoint. Set a breakpoint on `UIApplicationMain` and add this debugger command:
38+
RocketSim can install the symbolic breakpoint for you from the onboarding flow. If you need to add it manually as a fallback, create a symbolic breakpoint named `UIApplicationMain` and add this debugger command:
3939

4040
```
41-
expr dlopen("/Applications/RocketSim.app/Contents/Frameworks/RocketSimConnectLinker.nocache.framework/Contents/MacOS/RocketSimConnectLinker", 1)
41+
expr -l objc -- (void *)NSClassFromString(@"RocketSimConnectCoreLinker") != nil ? 0x0 : (void *)(BOOL)[[NSBundle bundleWithPath:@"/Applications/RocketSim.app/Contents/Frameworks/RocketSimConnectLinker.nocache.framework"] load]
4242
```
4343

44-
The breakpoint fires once at launch, loads the framework, and you're done. No code changes required.
44+
This loads the framework bundle from the default App Store install path and only runs if RocketSim Connect is not already loaded. The breakpoint fires once at launch, and no code changes are required.
4545

4646
![RocketSim Connect setup via breakpoint](./setting-up-rocketsim-connect/img_7335.png)
4747

0 commit comments

Comments
 (0)