Skip to content

Bundled fullstack app for macOS crashes on server request #3884

Closed
@Sitin

Description

@Sitin

Problem

Default fullstack project crashes on server request when bundled for OS X.

Steps To Reproduce

Create a new project:

dx new test && cd test

Options:

  • ? 🤷 Which sub-template should be expanded? — anything
  • ? 🤷 Do you want to use Dioxus Fullstack?true
  • ? 🤷 Do you want to use Dioxus Router? — anything
  • ? 🤷 Do you want to use Tailwind CSS? — anything
  • ? 🤷 Which platform do you want DX to serve by default?Desktop

Fill [bundle] section in Dioxus.toml:

[bundle]
identifier = "com.mycompany"
publisher = "MyCompany"

Bundle application for macOS:

dx bundle --platform desktop \
    --package-types "macos" \
    --package-types "dmg"

Open application (directly or installed from the .dmg) and type anything in the ServerFn Echo input.

Application closes immediately.

Expected behavior

There should be an echo response from the server.

Environment:

  • Dioxus version: 0.6.3 (as resolved by Cargo and set in Cargo.lock)
  • Dioxus CLI version: 0.6.3 (via cargo-binstall)
  • Rust version: 1.85.0
  • OS info: macOS 15.2
  • App platform: desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliRelated to the dioxus-cli programdesktopSuggestions related to the desktop renderer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions