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

Chạy native trên Mac Apple Silicon #87

Open
hongmd opened this issue Oct 3, 2023 · 5 comments
Open

Chạy native trên Mac Apple Silicon #87

hongmd opened this issue Oct 3, 2023 · 5 comments
Labels
A-build Area: Everything related to build and CI/CD E-easy Estimation: Easy E-investigate Estimation: Need investigate good first issue Good for newcomers help wanted Extra attention is needed

Comments

@hongmd
Copy link

hongmd commented Oct 3, 2023

Ước chạy native trên mac M1
image

@huytd
Copy link
Owner

huytd commented Oct 3, 2023

Ủa cái này bạn check làm sao thế? Và bạn dùng bản nào? Bản release v0.1.2 thì mình đã notarized rồi mà ta.

@hongmd
Copy link
Author

hongmd commented Oct 3, 2023

Mình chạy cả bản release v0.1.2 lẫn bản nightly đều intel64 cả, mình dùng app Apparency hoặc cài rồi check qua activity monitor vẫn intel bạn à. Mình để ảnh là bản nightly.

@huytd
Copy link
Owner

huytd commented Oct 3, 2023

Ồ mình thấy rồi, sao lại là Intel nhỉ, thank bạn, để debug thêm

@huytd
Copy link
Owner

huytd commented Oct 3, 2023

Có vẻ như macos-latest runner của Github Actions mặc định là Intel. Trong build script mình chỉ đang cross-compile sang Apple silicon mà thôi

https://github.com/huytd/goxkey/blob/main/.github/workflows/main.yml#L24-L30

Sẽ fix vấn đề này sớm.

@quantonganh
Copy link
Contributor

Bạn thử version mới hơn chưa?

$ plutil -p /Applications/GoKey.app/Contents/Info.plist | grep CFBundleVersion
  "CFBundleVersion" => "20231003.145603"
Screen Shot 2023-10-04 at 12 00 24
$ mdls -name kMDItemVersion -name kMDItemExecutableArchitectures /Applications/GoKey.app/
kMDItemExecutableArchitectures = (
    arm64
)
kMDItemVersion                 = "0.1.2"

@huytd huytd added help wanted Extra attention is needed good first issue Good for newcomers E-investigate Estimation: Need investigate E-easy Estimation: Easy A-build Area: Everything related to build and CI/CD labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build Area: Everything related to build and CI/CD E-easy Estimation: Easy E-investigate Estimation: Need investigate good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants