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

Apple Silicon version fails to open #1691

Closed
wizyoung opened this issue Feb 26, 2021 · 4 comments
Closed

Apple Silicon version fails to open #1691

wizyoung opened this issue Feb 26, 2021 · 4 comments
Assignees
Labels
Milestone

Comments

@wizyoung
Copy link

Describe the problem

The latest V1.0.7 build for apple silicon fails to open.

When I first clicked to open it, it said "The file is damaged and cannot be opened". So I typed "sudo xattr -d com.apple.quarantine /Applications/SiYuan.app" and reopened it. But this time the M like logo on the startup page just spinned and failed to open.

Expected result

Open normally.

Screenshot or screen recording presentation

iShot2021-02-27 00 32 03

Version environment

  • Version: V1.0.7
  • Operating system: macOS 11.2.2 on M1 chip
  • Browser (if used): Not used

Log File

siyuan.log

More information

The error message on the system console app about SiYuan Helper (GPU) is:
Failed to get cache main folder: failed to lookup DARWIN_USER_CACHE_DIR err:5

@MistRay
Copy link

MistRay commented Feb 26, 2021

I had the same problem

@88250 88250 added the Bug label Feb 27, 2021
@88250 88250 added this to the 1.0.8 milestone Feb 27, 2021
@88250 88250 changed the title V1.0.7 Apple Silicon version fails to open Apple Silicon version fails to open Feb 27, 2021
@88250
Copy link
Member

88250 commented Feb 27, 2021

Sorry, we don't have a real machine for testing, please help us to test this installation package again, thank you.

https://github.com/siyuan-note/siyuan/releases/download/v1.0.7/siyuan-1.0.7-mac-arm64.dmg

@wizyoung
Copy link
Author

wizyoung commented Feb 27, 2021

Yes, this version works like a charm now! The startup time is way much faster (instantly, the same speed as I open Sublime) than intel version and the kernal-darwin process has a very low CPU usage (around 0.3% in the Monitor.app). Thanks very much!

But it still shows "File is damaged and cannot be opened" on the first startup and I need to type "sudo xattr -d com.apple.quarantine /Applications/SiYuan.app" to solve this. Maybe a certificate or something is needed for the macOS system to trust SiYuan.app?

@88250
Copy link
Member

88250 commented Feb 27, 2021

@wizyoung We did not buy the Apple certificate, maybe we will buy it in the future, thank you.

@88250 88250 closed this as completed Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants