Skip to content

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

Closed

Description

@kwccoin

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.

Activity

  1. kwccoin commented on Sep 14, 2023

    @kwccoin
    Author

    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 !!

  2. changed the title [-]Cannot start ARM M1 [/-] [+]Cannot start ARM M1 binary package (but build it ok)[/+] on Sep 14, 2023
  3. hinto-janai commented on Sep 15, 2023

    @hinto-janai
    Member

    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
  4. sonalder-darlene commented on Oct 27, 2023

    @sonalder-darlene

    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 ^^

  5. grgsh commented on Dec 8, 2023

    @grgsh

    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)

  6. hinto-janai commented on Dec 9, 2023

    @hinto-janai
    Member

    Thanks for the info.

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

  7. grgsh commented on Dec 9, 2023

    @grgsh

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions