artemgordinskiy / Spotifree

An OS X app that automatically mutes ads on Spotify [DISCONTINUED]
http://spotifree.gordinskiy.com
MIT License
1.05k stars 70 forks source link

Core (!=2) Duo compat.. #30

Closed jdlx closed 10 years ago

jdlx commented 10 years ago

i got a older CoreDuo MBP (10.6.8) where Spotifree 1.3.0 won't run.. (marked as not compatible). Easy way to make it compat?

jdlx commented 10 years ago

Any idea? I could imagine it's only some setting (deployment target?) in the project settings.. unfortunately can't test it since the project won't build at all for me (@ 10.6 & Xcode 3.2.6) ..

artemgordinskiy commented 10 years ago

Hey there, Do you know what setting I should look for? I see only different OS X versions in the "deployment target" settings, and it's set to 10.6.

enellis commented 10 years ago

I know. You have to go to Build Settings -> Architectures and set it to Universal.

artemgordinskiy commented 10 years ago

Hi Eneas! Thanks for the hint :) I guess Spotifree is not compatible with 32-bit systems. Getting this error: -fobjc-arc is not supported on platforms using the legacy runtime

enellis commented 10 years ago

Ohh yeah. I forgot that Automatic Reference Counting is not available to 32-bit system. It's a lot of work to rewrite an existing project with manual reference counting , so for now I think there is no opportunity to support that MacBook Pro.

artemgordinskiy commented 10 years ago

@jdlx No luck then, sorry. You could try the AppleScript version of the app, if you want. It should work fine, but it has no interface (runs in background), and may require manual restarts from the "Activity Monitor" every now and then, particularly after Spotify updates.

jdlx commented 10 years ago

Thx @ArtemGordinsky & @E-n-e-a-s ...

You could try the AppleScript version ..

took a look.. interesting, you're muting the app itself.. doesn't it pause the ad? it does (tested) if you e.g. reduce the system volume.. even if you do via AS. Anyway, will test it..

thx again guys..

artemgordinskiy commented 10 years ago

@jdlx You're welcome :)

you're muting the app itself.. doesn't it pause the ad?

It does. That's why we're pausing first, then muting, and then unpausing.

jdlx commented 10 years ago

That's why we're pausing first, then muting, and then unpausing.

ah.. missed that bit ;) anyway, the AS version works like a charm.. thx!