Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built app doesn't open on MacOs #12

Open
dshomoye opened this issue Mar 8, 2021 · 3 comments
Open

Built app doesn't open on MacOs #12

dshomoye opened this issue Mar 8, 2021 · 3 comments

Comments

@dshomoye
Copy link

dshomoye commented Mar 8, 2021

I had worked on an app that worked fine with the npm run start command. I decided to build the app but trying to open the built app fails.
I reverted to the default code here in this repo and did a rebuilt and that didn't work either:
image

A sample from console:
image

@r0x0r
Copy link
Owner

r0x0r commented Apr 22, 2021

Sorry for the late response.
I reproduced the issue but I get a different error info. This is a py2app issue and it looks like security model has changed in Big Sur. Switching to pyinstaller might help too.

assessment denied for .app
com.apple.message.domain: com.apple.security.assessment.outcome2
com.apple.message.signature2: bundle:org.pythonmac.unspecified.index
com.apple.message.signature3: .app
com.apple.message.signature5: 0.0.0
com.apple.message.signature4: 1
com.apple.message.signature: denied:no usable signature
SenderMachUUID: 818DB070-4938-3106-9784-559DA9C41D40

@mihow
Copy link

mihow commented Mar 20, 2023

Does this apply to all pywebview apps on macOS or just this react boilerplate? Does pywebview still work on macOS? Thanks for all your great work.

@r0x0r
Copy link
Owner

r0x0r commented Jul 29, 2023

I revisited this issue in Ventura and after fixing build-macos.py, the executable produced by npm run build works with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants