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

No published binaries for darwin-arm64 #1463

Open
2 tasks done
colinrtwhite opened this issue Nov 3, 2024 · 5 comments
Open
2 tasks done

No published binaries for darwin-arm64 #1463

colinrtwhite opened this issue Nov 3, 2024 · 5 comments

Comments

@colinrtwhite
Copy link

colinrtwhite commented Nov 3, 2024

Consent

  • I verified that there is no open/closed issue for the same subject.
  • I understand that YTMDesktop have NO affiliation with Google or YouTube

Current Behavior

The last published release for darwin-arm64 was 2.0.0, but the latest release is 2.0.6.

Expected Behavior

Publish the latest release for darwin-arm64.

Steps To Reproduce

This is visible on the releases page as well as the latest homebrew release.

YTMDesktop

2.0.6

OS

MacOS

OS Version

15.1

Arch

ARM64

Installation way

zip

Anything else?

I tried building the app from source for darwin-arm64, but the app instantly crashes. I'd post the crash trace, but I'm not sure if it has private info - can forward it to the development team if preferred.

EDIT: I was able to build by using the version in out/YouTube Music Desktop App-darwin-arm64 instead of make/zip/darwin/arm64.

@NovusTheory
Copy link
Member

We do not publish arm builds for mac anymore because of significant issues that occur with specifically only arm builds. We have active issues open about them on this GitHub.

#1287 #1308 #1192

@ytmdesktop ytmdesktop deleted a comment Nov 4, 2024
@pythoninthegrass
Copy link

fwiw I got it working on my machine™ (M4 Max MacBook Pro, 15.1 (24B2083))

Setup

# clone repo
git clone https://github.com/ytmdesktop/ytmdesktop.git
cd ytmdesktop/

# install nodejs via asdf
asdf install nodejs latest
asdf global nodejs latest

# install electron build tools
npm i -g @electron/build-tools

# install yarn
corepack enable

# install dependencies
yarn install

Sanity check

# run app
yarn start

Build and sign

# build app
yarn make

# ad hoc sign the app
cd make/zip/darwin/arm64/
codesign --force --deep --sign - "YouTube Music Desktop App.app"

# copy to /Applications
cp -r "YouTube Music Desktop App.app" /Applications/

Start the built app

The first time it launches, you need to give it permission to store an app key in the login keychain.

Enter your password and click "Always Allow."

Image
Image

If successful, it'll startup and show the landing page.

Image

Sign into your Google account and you'll be able to use the app as expected.

Image
Image

Notifications and scrobbling are also working, although last.fm didn't take effect until quitting and restarting the app.

Listening to it now 🥳

@Alipoodle
Copy link
Member

Alipoodle commented Nov 18, 2024

fwiw I got it working on my machine™ (M4 Max MacBook Pro, 15.1 (24B2083))

# ad hoc sign the app
cd make/zip/darwin/arm64/
codesign --force --deep --sign - "YouTube Music Desktop App.app"

By any chance do you have a personal signing from another job / service you do?

I'm not too familiar with MacOS, but otherwise this appears to be a self signing of the application locally, (which is not something we can suggest people to do on their own machines, and ideally it should be as "plug and play" as it can be...
Which is why we are having people fiddle with command line stuff when they get the application.

@pythoninthegrass
Copy link

pythoninthegrass commented Nov 18, 2024 via email

@AryaTwirl
Copy link

Hi, I did the build command @pythoninthegrass described but I cannot go past the final step. Do I need my machine to be signed first or ist here anything I did wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants