Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/nativescript-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e157c9f
Choose a base ref
...
head repository: NativeScript/nativescript-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 857e0bb
Choose a head ref
  • 8 commits
  • 20 files changed
  • 1 contributor

Commits on Oct 4, 2026

  1. feat: native release builds with --native and nativeRelease

    A release build can compile the app to Swift or Kotlin with
    @nativescript/native-release, a devDependency resolved from the project,
    instead of bundling it for the JavaScript runtime.
    
    - --native (implies --release) or nativeRelease in nativescript.config,
      per platform under ios/android; --no-native opts out for one build.
    - Prepare runs the project's compiler into platforms/native/<platform>,
      skipping webpack and the runtime's platform project.
    - Build runs xcodegen and xcodebuild (simulator .app, or a device archive
      exported with --team-id/--provision, unsigned otherwise) or Gradle with
      the --key-store-* options as AGP injected signing, --aab included.
    - The built package goes to the existing install and launch path, so
      ns run --release and ns deploy work unchanged.
    NathanWalker committed Oct 4, 2026
    Configuration menu
    Copy the full SHA
    cc1cdd7 View commit details
    Browse the repository at this point in the history
  2. native release: build the workspace the compiler integrated when the …

    …project has pods or Swift packages
    NathanWalker committed Oct 4, 2026
    Configuration menu
    Copy the full SHA
    8a84527 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2026

  1. Rename the native release flag to --compiled and the compiler package…

    … to @nativescript/compiler
    
    The flag is --compiled (--no-compiled to opt out), the CLI resolves
    @nativescript/compiler, and builds go to platforms/compiled/<platform>.
    NativeReleaseService becomes CompiledReleaseService. The nativescript.config
    key nativeRelease is unchanged.
    NathanWalker committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    cccf2ec View commit details
    Browse the repository at this point in the history
  2. Read the compiled release from release.compiled in nativescript.config

    release.compiled replaces nativeRelease, and ios.release / android.release
    override it per platform; --compiled / --no-compiled still win. The release
    object also carries the compiler's options, which replace nativeReleaseOptions.
    NathanWalker committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    a1f2fde View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2026

  1. Compiled release: unsigned device archives say so to xcodebuild

    The compiler's generated project now leaves device builds signable, so an
    archive in Xcode signs with the team chosen there. Without --team-id (no team,
    or --provision, which signs at export) the archive passes
    CODE_SIGNING_ALLOWED=NO itself.
    NathanWalker committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    dd2cdb1 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2026

  1. compiled release: build the project or workspace the compiler generated

    The compiler generates the Xcode project and names it in ns-native-project.json;
    XcodeGen runs here only for a compiler that does not.
    NathanWalker committed Oct 9, 2026
    Configuration menu
    Copy the full SHA
    31ab3e7 View commit details
    Browse the repository at this point in the history
  2. feat: ns compiled verify compares a compiled release with its JavaScr…

    …ipt release
    
    Builds both releases of the project, then runs the project's @nativescript/compiler ns-compiled-verify on them:
    the same steps (the project's verify.json, or a shot after launch) on one iOS Simulator, compared pixel by pixel,
    failing where a screenshot differs or an app stops running.
    NathanWalker committed Oct 9, 2026
    Configuration menu
    Copy the full SHA
    f86e31b View commit details
    Browse the repository at this point in the history
  3. Compiled builds run the project's before- and after-build hooks

    The same buildIOS and buildAndroid hooks the platform services run, with the
    same arguments; projectRoot is the compiled project.
    NathanWalker committed Oct 9, 2026
    Configuration menu
    Copy the full SHA
    857e0bb View commit details
    Browse the repository at this point in the history
Loading