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

Cannot start ARM M1 binary package (but build it ok) #51

Open
kwccoin opened this issue Sep 14, 2023 · 6 comments
Open

Cannot start ARM M1 binary package (but build it ok) #51

kwccoin opened this issue Sep 14, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@kwccoin
Copy link

kwccoin commented Sep 14, 2023

Describe the bug
cannot start the ARM M1 (Intel is ok)

To Reproduce
Steps to reproduce the behavior:

  1. Download
  2. Click on App
  3. See error of damaged App

Screenshots
Screenshot 2023-09-14 at 10 50 46 AM

OS & Version:
macOS 13.5.2

I finally built one myself and hence I resolve the issue. I am not sure others want to do this as well.

@kwccoin kwccoin added the bug Something isn't working label Sep 14, 2023
@kwccoin
Copy link
Author

kwccoin commented Sep 14, 2023

Probably not related but I tried to install it by cloning the GitHub and build from source. Cloning via Github Desktop produce this error:

remote: Enumerating objects: 7, done.        
remote: Counting objects: 100% (7/7), done.        
remote: Compressing objects: 100% (1/1), done.        
remote: Total 4 (delta 3), reused 3 (delta 3), pack-reused 0        
From https://github.com/hinto-janai/gupax
 * [new branch]      main       -> upstream/main
 * [new branch]      tray       -> upstream/tray
 * [new tag]         v0.0.1     -> v0.0.1
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.5.0     -> v0.5.0
 * [new tag]         v0.9.0     -> v0.9.0
 * [new tag]         v1.0.0     -> v1.0.0
 * [new tag]         v1.1.0     -> v1.1.0
 * [new tag]         v1.1.1     -> v1.1.1
 * [new tag]         v1.1.2     -> v1.1.2
 * [new tag]         v1.2.0     -> v1.2.0
 * [new tag]         v1.2.1     -> v1.2.1
 * [new tag]         v1.2.2     -> v1.2.2
 * [new tag]         v1.2.3     -> v1.2.3
 * [new tag]         v1.3.0     -> v1.3.0
 * [new tag]         v1.3.1     -> v1.3.1
Fetching submodule external/egui at commit f83bf5e
fatal: remote error: upload-pack: not our ref 457c951951c19193afde16d1a4ac3c17a70518be
Errors during submodule fetch:
	external/egui

I am not that interest but if the binary is not working in Arm M1, may have to go this path one day or today:

mkdir gupax 
git clone https://github.com/kwccoin/gupax.git
cd gupax
brew install rust 
brew install pkg-config openssl xz 
cargo install cargo-bundle        
cargo bundle --release    
cd /Users/ngcchk/Documents/gupax/gupax/target/release/bundle/osx/
ls

It works and as a surprise I cannot see the directory in finder except jump to it via finder folder command, until later ...! How can it be?

Anyway the built one is the standalone version it works, except one has to use git command line not desktop and has to build it oneself. And have to find out how to get the other part. And I hope the version in the app is ok and hence just copy those 2 into my standalone app and run it from there !!

@kwccoin kwccoin changed the title Cannot start ARM M1 Cannot start ARM M1 binary package (but build it ok) Sep 14, 2023
@hinto-janai
Copy link
Owner

I cannot reproduce the error on macOS ARM, can you launch Gupax from the command-line and post the output?

Also for git, you may need to use

git clone --recursive https://github.com/hinto-janai/gupax

@sonalder-darlene
Copy link

I have the same issue with M1 Max, I might take the time to build it but this isn't ideal as Gupax aimed to be an easy solution ^^

@gxanine
Copy link

gxanine commented Dec 8, 2023

This issue is related to Apple's security features.

Apps downloaded from the Internet may be flagged as 'unsafe' if they lack proper notarization by Apple, a process that requires an active Apple Developer Program membership.

Source:
https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution
https://developer.apple.com/library/archive/releasenotes/Carbon/RN-LaunchServices/index.html


As a workaround you can remove the quarantine flag on the .app file by running the following command in your terminal:

xattr -d com.apple.quarantine /Applications/Gupax.app

(Replace /Applications/Gupax.app with your location of Gupax.app)

@hinto-janai
Copy link
Owner

Thanks for the info.

IIRC, the Apple Developer Program requires real world identification and a fee?

@gxanine
Copy link

gxanine commented Dec 9, 2023

The membership is $99/year, and I'm not sure about the real world identification, but guess it does require it.
You need to have an Apple ID which requires a real phone number.

https://developer.apple.com/programs/enroll/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants