Appearance
原生 macOS 应用
← All use cases
难度:高级
适用场景:Greenfield macOS SwiftUI apps where you want Codex to scaffold a desktop-native app shell and repeatable build script Existing Mac apps where Codex needs to work on windows, menus, sidebars, settings, AppKit interop, or signing issues Teams that want macOS work to stay shell-first while still respecting native desktop UX conventions
启动提示
Use the Build macOS Apps plugin to scaffold a starter macOS SwiftUI app and add a project-local script/build_and_run.sh entrypoint I can wire to a Run action. Constraints:
- Stay shell-first. Prefer
xcodebuildfor Xcode projects andswift buildfor package-first apps. - Model Mac scenes explicitly with a main window plus
Settings,MenuBarExtra, or utility windows only when they fit the product. - Prefer desktop-native sidebars, toolbars, menus, keyboard shortcuts, and system mate...