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

After installing CopyQ via brew results “CopyQ.app” is damaged and can’t be opened #2652

Open
egel opened this issue Mar 23, 2024 · 6 comments
Labels
bug help wanted Needs a volunteer to investigate/implement the issue macOS Relates to macOS

Comments

@egel
Copy link

egel commented Mar 23, 2024

Describe the bug
“CopyQ.app” is damaged and can’t be opened after installing CopyQ on macOS M1 Pro 14.4 via brew

To Reproduce
Steps to reproduce the behavior:

  1. install CopyQ via brew ``
  2. Open application
  3. See error (from screenshot)

Expected behavior
After installation application should be able to be opened.

Screenshots
image

Version, OS and Environment

  • Application Version 8.0.0
  • macOS Sonoma 14.4

Additional context
Install & also reisntall log was successful

→ brew reinstall --cask copyq
==> Caveats
copyq is not signed and requires Accessibility access,
so you will need to re-grant Accessibility access every time the app is updated.

Enable or re-enable it in:
  System Preferences → Security & Privacy → Privacy → Accessibility
To re-enable, untick and retick copyq.app.

==> Downloading https://github.com/hluk/CopyQ/releases/download/v8.0.0/CopyQ-macos-12-m1.dmg.zip
Already downloaded: /Users/johndoe/Library/Caches/Homebrew/downloads/256ef5fcd1e5d6254b9d55622f8659f472ea420a2b55ac117f54529f733d4e2a--CopyQ-macos-12-m1.dmg.zip
==> Uninstalling Cask copyq
==> Backing App 'CopyQ.app' up to '/opt/homebrew/Caskroom/copyq/8.0.0/CopyQ.app'
==> Removing App '/Applications/CopyQ.app'
==> Purging files for version 8.0.0 of Cask copyq
==> Installing Cask copyq
==> Moving App 'CopyQ.app' to '/Applications/CopyQ.app'
🍺  copyq was successfully installed!
@egel egel added the bug label Mar 23, 2024
@Firstero
Copy link

Emm, I encountered the same issue And it's also the same environment.

@Firstero
Copy link

@egel "Perhaps it's because the chip architecture is M2?"

@Firstero
Copy link

xattr -d com.apple.quarantine /Applications/CopyQ.app
codesign --force --deep --sign - /Applications/CopyQ.app

@ssi-anik
Copy link

xattr -d com.apple.quarantine /Applications/CopyQ.app codesign --force --deep --sign - /Applications/CopyQ.app

shouldn't brew add it to their debug messsage?

@aleksandrs-ledovskis
Copy link

YMMV, but the codesign trick works for me on an Apple Silicon machine without need to revert versions. 🤷‍♂️

@hluk hluk added macOS Relates to macOS help wanted Needs a volunteer to investigate/implement the issue labels Apr 14, 2024
@Tance
Copy link

Tance commented Apr 29, 2024

xattr -d com.apple.quarantine /Applications/CopyQ.app codesign --force --deep --sign - /Applications/CopyQ.app

it works fine on m3 mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted Needs a volunteer to investigate/implement the issue macOS Relates to macOS
Projects
None yet
Development

No branches or pull requests

6 participants