Check the Logs
When connection or pairing gets stuck, the most reliable thing is still to look at the Mac side. In CodexPocket, the places used to identify the cause are fairly predictable:
Generalruntime, health, and warningsLogsBridge stdout and stderrDetailsCodex CLI,git,Shell, and the locations of saved files
The order worth checking
- open
Generalon the Mac - look at
RuntimeandHealth - if a warning is visible, clear that first
- inspect stdout and stderr in
Logs - if needed, inspect dependencies and paths in
Details
What General tells you
Runtime
Common states are:
RunningBridge is up.Starting...it is still coming up.StoppedBridge is not running.Detected external bridgeanother Bridge is already running on the same port.
Health
If you can see status and version, the Bridge health check is passing. If Runtime is Running but Health is missing, the Bridge process may exist but not be responding correctly.
Common warnings
Bridge prerequisites are not satisfiedoften meansCodex CLIorShellis not visible- legacy launchd warning
often means an old Bridge setting remains in
~/Library/LaunchAgentsand is conflicting No projects foundpairing may still work, but the iPhone will not get any workspaces
What Logs tells you
In the Logs tab, you can inspect:
stdoutthe normal output from Bridgestderrerrors and abnormal output
Use Refresh in the upper-right to reload the latest lines. Open Log Folder opens the actual storage location.
Where the logs are stored
Logs are stored here:
~/Library/Application Support/CodexPocketMac/logs/
The main files are:
bridge.stdout.logbridge.stderr.log
Use the Logs tab when you want to stay inside the app, and the log folder when you want to follow them in Finder.
What Details tells you
Details is where you confirm the prerequisites for Bridge and the relevant file paths.
Dependencies
Codex CLIwhethercodexis found and whethercodex app-server --helpworksgitneeded if you want branch-related actionsShellwhether an executable shell can be resolved
Paths
The main paths exposed there are:
- the settings file
projects.jsoncodex-remote.env- the real path to
Codex CLI - the real path to
git - the real path to
Shell
If something works in Terminal but not in the Mac app, checking the path seen by the app here is often the fastest cut.
What to inspect for each symptom
A state close to Codex CLI missing
Look at Codex CLI in Details. Even if which codex works in Terminal, the Mac app may see a different PATH. Restart the Mac app first, and if it still does not change, fix the PATH side.
git missing
This may not block ordinary thread use, but it does block branch creation and switching.
Another Bridge is already running on this port
That means another Bridge already owns the same port. Suspect an old launchd entry or another conflicting process. Check the warning in General and the legacy launchd information in Details.
Bridge process is running, but the health check failed
Bridge started, but it is not responding normally. Look for clues in stderr first.
Authentication failed
This often appears on the iPhone, but the Mac-side place to check is Pairing. Confirm whether Regenerate Token was used recently.
Information that is useful to keep when you are stuck
Whether you are narrowing it down yourself or reporting it later, this is usually enough:
- the
Runtimevisible inGeneralon the Mac Health- the relevant log lines
- the state of
Codex CLI/git/ShellinDetails - the message shown on the iPhone
A few lines from just before and after the symptom are usually more useful than pasting the entire log.