Megamono

DOCUMENTATION

On this page
  1. When to use it
  2. Usage
  3. Options
  4. Next steps

Apple application

Create a SwiftUI macOS application with an inferred Nx project

When to use it

Create a SwiftUI macOS application with an inferred Nx project. Use this when you want to add the corresponding files or task to your workspace.

Usage

bash
npm exec -- nx generate @megamono/nx-apple:application --name="<name>" --dry-run

Replace angle-bracket placeholders with reviewed values. Nx's --dry-run previews generator writes; remove it only after reviewing the plan. Examples use npm; use your workspace's package manager if it differs.

Options

Use these options with @megamono/nx-apple:application. Nx uses the camelCase names shown here; the CLI reference describes command-line aliases. Some options are required only for particular choices.

OptionRequiredTypeDefaultDescription
nameYesstring—Nx project, Xcode project, target, and scheme name.
directoryNostring"apps/apple"Workspace-relative application directory.
displayNameNostring—User-facing application name.
bundleIdentifierNostring—Reverse-DNS application bundle identifier.
deploymentTargetNostring,number"14.0"Minimum macOS deployment version.
scopeNostring"shared"Megamono scope tag and nx-apple plugin scope.
tagsNostring—Comma-separated Nx project tags.
skipFormatNobooleanfalseSkip formatting generated workspace files.

Next steps

Review changed files and run the affected project's checks. For options that accept structured values, run the generator's --help or consult the schema in the installed package.

Megamono

One repository system for the applications, tools, and people building together inside it.

BUILD

Get startedGuidesDocumentationCLI referenceCapabilitiesInference

SOURCE

GitHub ↗

MIT licensed

© 2026 Megamono

By

Commune Software