{"record":{"id":"7ea702d1d8b8ed88","repo":"openai/codex","slug":"no-app-bundle-found-at-mount-point","errorCode":null,"errorMessage":"no .app bundle found at {mount_point}","messagePattern":"no \\.app bundle found at (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/cli/src/desktop_app/mac.rs","lineNumber":313,"sourceCode":"    let direct = mount_point.join(\"Codex.app\");\n    if direct.is_dir() {\n        return Ok(direct);\n    }\n\n    for entry in std::fs::read_dir(mount_point).with_context(|| {\n        format!(\n            \"failed to read {mount_point}\",\n            mount_point = mount_point.display()\n        )\n    })? {\n        let entry = entry.context(\"failed to read mount directory entry\")?;\n        let path = entry.path();\n        if path.extension().is_some_and(|ext| ext == \"app\") && path.is_dir() {\n            return Ok(path);\n        }\n    }\n\n    anyhow::bail!(\n        \"no .app bundle found at {mount_point}\",\n        mount_point = mount_point.display()\n    );\n}\n\nasync fn copy_app_bundle(src_app: &Path, dest_app: &Path) -> anyhow::Result<()> {\n    let status = Command::new(\"ditto\")\n        .arg(src_app)\n        .arg(dest_app)\n        .status()\n        .await\n        .context(\"failed to invoke `ditto`\")?;\n\n    if status.success() {\n        return Ok(());\n    }\n    anyhow::bail!(\"ditto copy failed with {status}\");\n}","sourceCodeStart":295,"sourceCodeEnd":331,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/cli/src/desktop_app/mac.rs#L295-L331","documentation":"Error \"no .app bundle found at {mount_point}\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/cli/src/desktop_app/mac.rs:313 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}