Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

macOS build is broken #219

Closed
1 of 3 tasks
artheus opened this issue Aug 25, 2021 · 7 comments
Closed
1 of 3 tasks

macOS build is broken #219

artheus opened this issue Aug 25, 2021 · 7 comments
Assignees
Labels

Comments

@artheus
Copy link

artheus commented Aug 25, 2021

ISSUE

versions:

  • v1.9.3
  • v1.9.2
  • v1.9.1

platform:

  • windows
  • mac
  • Linux

package type: platform default

OS version: macOS Big Sur 11.5.2 (20G95)

description:

what happened?
I tried to open the application after installing. And I keep getting the following error message:
image

what's expected?
I expected the application to open normally

The last version to function properly was v1.9.0

log:

No logs created...

@vran-dev
Copy link
Owner

first:

sudo spctl --master-disable

second:
open System Preferences->Security & Privacy
select anywhere

final: reinstall prettyZoo

@artheus
Copy link
Author

artheus commented Aug 25, 2021

$ spctl --status
assessments disabled

image

@vran-dev This was already configured on my device. So that is not working..

@artheus
Copy link
Author

artheus commented Aug 25, 2021

Also this:

$ spctl --assess -v ~/Downloads/prettyZoo.app
/Users/artheus/Downloads/prettyZoo.app: accepted
override=security disabled

spctl considers it accepted

@vran-dev
Copy link
Owner

try to run it and then open the application

xattr -rc /Applications/prettyZoo.app

@artheus
Copy link
Author

artheus commented Aug 26, 2021

try to run it and then open the application

xattr -rc /Applications/prettyZoo.app

This worked!
Maybe this can be added as a step for the macOS build of the software?

@vran-dev
Copy link
Owner

try to run it and then open the application

xattr -rc /Applications/prettyZoo.app

This worked!
Maybe this can be added as a step for the macOS build of the software?

thanks for your suggestion, i will try it

@bobwenx
Copy link

bobwenx commented Dec 21, 2021

Move the install path from /Applications to ~/Applications,
then, simply call xattr is enough.

xattr -rc ~/Applications/prettyZoo.app

No need to change System Policy to launch the app.

This was referenced Feb 9, 2023
@vran-dev vran-dev closed this as completed Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants