Closed
Description
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 inCargo.lock
) - Dioxus CLI version:
0.6.3
(viacargo-binstall
) - Rust version:
1.85.0
- OS info:
macOS 15.2
- App platform:
desktop