# yillbrealone/nxnative-pocket-builder architecture

> Architecture diagram of the GitHub repository yillbrealone/nxnative-pocket-builder, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yillbrealone/nxnative-pocket-builder
- Repository: https://github.com/yillbrealone/nxnative-pocket-builder

## Overview

This repository is a small set of GitHub Actions workflow files for building unsigned iOS/iPadOS IPAs and running a separate Controls Editor build. The documented build takes game inputs and settings, prepares and packages the app, then provides artifacts. The tree also contains three named test workflows, but no source excerpts or README details establish their behavior, so they are shown without inferred runtime relationships.

Main entry points: [`.github/workflows/build.yml`](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/build.yml) (Prepare and package), [`.github/workflows/nxnative-ipa-builder-controls-test.yml`](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/nxnative-ipa-builder-controls-test.yml) (Controls Editor Test)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflows["Build workflows"]
  node_build["Generic IPA Builder<br/>[build.yml]"]
  node_controls["Controls Editor Test"]
  node_legacytest["Legacy iPad Test"]
  node_addressfix["Virtual Address Fix Test"]
end

subgraph group_delivery["Build delivery"]
  node_buildsteps["Prepare and package<br/>[build.yml]"]
end

node_user(("Build user"))
node_actions["GitHub Actions"]
node_gamefiles["Game and keys"]
node_gofile["GoFile"]
node_artifact["GitHub artifact"]

node_user -->|"starts run"| node_actions
node_actions -->|"runs"| node_build
node_actions -->|"runs"| node_controls
node_gamefiles -->|"provides inputs"| node_build
node_build -->|"prepares and packages"| node_buildsteps
node_buildsteps -->|"uploads IPA"| node_gofile
node_buildsteps -->|"uploads artifact"| node_artifact

click node_build "https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/build.yml"
click node_controls "https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/nxnative-ipa-builder-controls-test.yml"
click node_legacytest "https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/disco-legacy-ipad-test.yml"
click node_addressfix "https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/disco-virtual-address-fix-test.yml"
click node_buildsteps "https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/build.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_build,node_controls,node_legacytest,node_addressfix,node_user toneBlue
class node_buildsteps toneAmber
class node_actions,node_gamefiles,node_gofile,node_artifact toneIndigo
```

## Components

### Build workflows

- [Generic IPA Builder](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/build.yml): `.github/workflows/build.yml`
- [Controls Editor Test](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/nxnative-ipa-builder-controls-test.yml): `.github/workflows/nxnative-ipa-builder-controls-test.yml`
- [Legacy iPad Test](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/disco-legacy-ipad-test.yml): `.github/workflows/disco-legacy-ipad-test.yml`
- [Virtual Address Fix Test](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/disco-virtual-address-fix-test.yml): `.github/workflows/disco-virtual-address-fix-test.yml`

### Build delivery

- [Prepare and package](https://github.com/yillbrealone/nxnative-pocket-builder/blob/main/.github/workflows/build.yml): `.github/workflows/build.yml`

### Other components

- **Build user**
- **GitHub Actions**
- **Game and keys**
- **GoFile**
- **GitHub artifact**

## Connections

- Build user → GitHub Actions: starts run (evidence: `README.md`)
- GitHub Actions → Generic IPA Builder: runs (evidence: `README.md`)
- GitHub Actions → Controls Editor Test: runs (evidence: `README.md`)
- Game and keys → Generic IPA Builder: provides inputs (evidence: `README.md`)
- Generic IPA Builder → Prepare and package: prepares and packages (evidence: `README.md`)
- Prepare and package → GoFile: uploads IPA (evidence: `README.md`)
- Prepare and package → GitHub artifact: uploads artifact (evidence: `README.md`)
