📚AI 编程官方教程中文版
📚 官方教程中文版学习路线

原生应用开发路线

当每一次 pass 都配有 build、run 或 simulator loop 时,Codex 很适合 Apple platform projects。

当每一次 pass 都配有 build、run 或 simulator loop 时,Codex 很适合 Apple platform projects。

如果你正在构建新的或已有的 iOS / macOS apps,并需要持续迭代 UI 或 debug issues,这组 use cases 很有用。

配图:

构建应用基础壳

让 Codex scaffold iOS 和 macOS apps,并建立 repeatable build loops。

Mac shell use case 更深入覆盖 sidebar-detail-inspector layouts、commands、settings 和其他 desktop-native structure。

  • Build for iOS Use Codex to scaffold iOS SwiftUI projects, keeping the build loop CLI-first with xcodebuild. iOS · Code

  • Build for macOS Use Codex to build macOS SwiftUI apps, wire a shell-first build-and-run loop, and add desktop structure. macOS · Code

  • Build a Mac app shell Use Codex and the Build macOS Apps plugin to turn an app idea into a desktop-native shell. macOS · Code

重构 iOS SwiftUI 界面

用 Codex 拆分大型 SwiftUI views,同时不改变 behavior;当 app 准备好后,再把 selected iOS flows 迁移到 Liquid Glass。

  • Refactor SwiftUI screens Use Codex and the Build iOS Apps plugin to break a long SwiftUI view into dedicated sections. iOS · Code

  • Adopt liquid glass Use Codex and the Build iOS Apps plugin to audit existing iPhone and iPad UI, then replace custom surfaces. iOS · Code

向系统暴露 iOS 动作

让 Codex identify app 应该通过 App Intents 暴露的 actions 和 entities,使 users 能从 system surfaces 触达 app behavior。

  • Add iOS app intents Use Codex and the Build iOS Apps plugin to identify actions and entities your app should expose through App Intents. iOS · Code

调试应用

让 Codex 在 Simulator 中 reproduce bugs,或为 macOS app 添加 telemetry,帮助 debug 和 fix issues。

  • Debug in iOS simulator Use Codex to discover the right Xcode scheme and simulator, launch the app, and inspect the UI. iOS · Code

  • Add Mac telemetry Use Codex and the Build macOS Apps plugin to add high-signal Logger events around important flows. macOS · Code

On this page