withmorten / spek-alternative

Acoustic spectrum analyser
Other
315 stars 18 forks source link

Porting macOS Spek to Apple Silicon #13

Open eandmsz opened 3 years ago

eandmsz commented 3 years ago

Apple announced the transition to Apple Silicon (ARM). The transition should be completed in two years from now. https://developer.apple.com/documentation/apple_silicon

This feature request is about porting Spek to Apple Silikon to make it run natively on newer Macs.

This WWDC 2020 sessions could be helpful: https://developer.apple.com/videos/play/wwdc2020/10686/ https://developer.apple.com/videos/play/wwdc2020/10214/

enverromon commented 3 years ago

Hi,

I did compiled the source on a MacBook Air with Apple Silicon and the app run perfectly.

Here you can get the dmg. https://drive.google.com/file/d/1EAr6xHTSxdFVLPEQnAJ7uOmeVHvKyuc4/view?usp=sharing

gemmmo commented 3 years ago

Hi,

I did compiled the source on a MacBook Air with Apple Silicon and the app run perfectly.

Here you can get the dmg. https://drive.google.com/file/d/1EAr6xHTSxdFVLPEQnAJ7uOmeVHvKyuc4/view?usp=sharing

Hi, thanks for compiling. I tried to open it on an M1 Air after dragging to applications but I get an error saying that Spek is damaged and can't be opened. Any advice? The 0.8.2.3 dmg release works fine though.

renchris commented 2 years ago

Hi,

I did compiled the source on a MacBook Air with Apple Silicon and the app run perfectly.

Here you can get the dmg. https://drive.google.com/file/d/1EAr6xHTSxdFVLPEQnAJ7uOmeVHvKyuc4/view?usp=sharing

Hi. I am on the M1 Macbook Pro. It also says it's damaged: "“Spek” is damaged and can’t be opened. You should move it to the Trash."

Would you be able to share with us the steps you took to compile it on your computer so we can do the same? Thanks

djtech42 commented 2 years ago

@gemmmo @renchris @eandmsz Here is a new dmg that I created for Apple Silicon: https://drive.google.com/file/d/1rP4JtoD54gcdXfItibz9FU0c8O0cjlCp/view?usp=sharing

You will probably need to run sudo spctl --master-disable to allow the app to run since it isn't signed and GateKeeper in macOS Monterey doesn't allow unsigned apps to run at all. This is why that damaged error shows up. Let me know if it works on your machines.

renchris commented 2 years ago

I ran the sudo spctl --master-disable command but I still get the Spek is damaged warning

djtech42 commented 2 years ago

@renchris try running brew install ffmpeg@4 if you have Homebrew