get_runtime_output MCP tool usually returns the runtime output of the most recent run of the app, so long as the app has been terminated before the call is made. However, in some cases, it can return the runtime output of the prior run.
I'm not positive but I believe this happened when the MCP server had last built against SchemeA, but then I ran SchemeB in Xcode. claude code called for get_runtime_output but got the results of the last SchemeA app run, rather than the SchemeB app.