A small SwiftUI app for validating ChatGPTConnect on physical iPhone and iPad devices.
The app demonstrates:
- Browser-based ChatGPT OAuth with PKCE
- Device-local session restoration and sign-out
- Live subscription model discovery
- Model-aware reasoning selection
- Streamed chat responses, cancellation, errors, request IDs, and token usage
- An adaptive SwiftUI chat interface for iPhone and iPad
The dependency is pinned to the exact public package release recorded in Package.resolved; it
does not use a relative local package path.
- Open
ChatGPTConnectSandbox.xcodeprojin Xcode. - Select a connected physical iPhone or iPad.
- Build and run the
ChatGPTConnectSandboxscheme. - Sign in with your own ChatGPT account.
- Confirm the live model selection and send a message.
No OpenAI API key is required. Each installation uses the signed-in user's own ChatGPT/Codex access. ChatGPTConnect is an experimental, unofficial compatibility package; read its supportability notes before using it in a distributed product.
make format
make checkThe repository intentionally excludes Xcode xcuserdata, Derived Data, package build caches, and
other machine-specific files.