Skip to content

MAC build app is not opened when excecute app #502

Closed
@avazquez-bit

Description

@avazquez-bit

What were you trying to do?

In detail and to have some context, this app is developed on linux and try to produce products to all platforms (Linux, Windows and Mac), at this point Linux is totally covered, tha app runs properly with native:serve and installed app, with windows is the same story work fine with native:serve and installed .exe app, with this 2 operative systems app works fine.

But with Mac we are facing some issues with installed apps, i have to menssiones in all cases native:serve command work properly in all tested devices

Next, some screenshots from diferent OS

This capture is from linux production app
Image

This capture is from Windows production app
Image

And this captures is from Mac OS development app (native:serve)
Image

In the first sreen a form is showed, no API call is triggered, just this littler form
Image

What happened?

So the issues...

  1. Installed app have diferentes behaviors, in a Mac with M2 processors builded app open a window with the message (I can recover screenshot for now)
Oops! An Error OccurredThe server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
  1. In a Mac with intel proccessor, the production app runs but no window is open
    Image

How to reproduce the bug

npm i

npm run build

composer i

php artisan native:install

php artisan native:build mac for all arquitechtures

Package Versions

{
"installed": [
{
"name": "nativephp/electron",
"direct-dependency": true,
"homepage": "https://github.com/nativephp/electron",
"source": "https://github.com/NativePHP/electron/tree/0.9.0",
"version": "0.9.0",
"description": "Electron wrapper for the NativePHP framework.",
"abandoned": false
},
{
"name": "nativephp/laravel",
"direct-dependency": false,
"homepage": "https://github.com/nativephp/laravel",
"source": "https://github.com/NativePHP/laravel/tree/0.7.0",
"version": "0.7.0",
"description": "Laravel wrapper for the NativePHP framework.",
"abandoned": false
},
{
"name": "nativephp/php-bin",
"direct-dependency": false,
"homepage": "https://nativephp.com",
"source": "https://github.com/NativePHP/php-bin/tree/0.5.6",
"version": "0.5.6",
"description": "PHP binaries used by the NativePHP framework",
"abandoned": false
}
]
}

PHP Version

8.4 or 8.3

Laravel Version

11.9

Node Version

22.12

Which operating systems have you seen this occur on?

macOS

OS version

macOS Sequoia 15.3.1 (M2), macOS 15.2 (intel)

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-inputFurther information is requestedsupportA support request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions