use-cases/collections/native-development.md +76 −0 added
1# Native development
2
3Codex works great on Apple platform projects when each pass has a build, run, or simulator loop attached to it.
4These use cases are helpful when you are building new or existing iOS and macOS apps and need to iterate on the UI and debug issues.
5
6## Build the app shell
7
8Ask Codex to scaffold iOS and macOS apps with repeatable build loops. The Mac shell use case goes deeper on sidebar-detail-inspector layouts, commands, settings, and other desktop-native structure.
9
10[
11
12### Build for iOS
13
14Use Codex to scaffold iOS SwiftUI projects, keep the build loop CLI-first with `xcodebuild`...
15
16iOS Code](https://developers.openai.com/codex/use-cases/native-ios-apps)[
17
18### Build for macOS
19
20Use Codex to build macOS SwiftUI apps, wire a shell-first build-and-run loop, and add...
21
22macOS Code](https://developers.openai.com/codex/use-cases/native-macos-apps)[
23
24### Build a Mac app shell
25
26Use Codex and the Build macOS Apps plugin to turn an app idea into a desktop-native...
27
28macOS Code](https://developers.openai.com/codex/use-cases/macos-sidebar-detail-inspector)
29
30## Refactor iOS SwiftUI screens
31
32Use Codex to split large SwiftUI views without changing behavior, then move selected iOS flows to Liquid Glass when the app is ready.
33
34[
35
36### Refactor SwiftUI screens
37
38Use Codex and the Build iOS Apps plugin to break a long SwiftUI view into dedicated section...
39
40iOS Code](https://developers.openai.com/codex/use-cases/ios-swiftui-view-refactor)[
41
42### Adopt liquid glass
43
44Use Codex and the Build iOS Apps plugin to audit existing iPhone and iPad UI, replace custom...
45
46iOS Code](https://developers.openai.com/codex/use-cases/ios-liquid-glass)
47
48## Expose iOS actions to the system
49
50Leverage Codex to identify the actions and entities your app should expose through App Intents, so users can reach app behavior from system surfaces.
51
52[
53
54### Add iOS app intents
55
56Use Codex and the Build iOS Apps plugin to identify the actions and entities your app should...
57
58iOS Code](https://developers.openai.com/codex/use-cases/ios-app-intents)
59
60## Debug your app
61
62Have Codex reproduce bugs in Simulator or add telemetry to your macOS app to help you debug and fix issues.
63
64[
65
66### Debug in iOS simulator
67
68Use Codex to discover the right Xcode scheme and simulator, launch the app, inspect the UI...
69
70iOS Code](https://developers.openai.com/codex/use-cases/ios-simulator-bug-debugging)[
71
72### Add Mac telemetry
73
74Use Codex and the Build macOS Apps plugin to add a few high-signal `Logger` events around...
75
76macOS Code](https://developers.openai.com/codex/use-cases/macos-telemetry-logs)