So i recently downloaded Sonora for Mac and realised that there was no last.fm compatibility built in due to the source code being public now. I was trying to compile Sonora for Mac for the first time and ran into a few snitches, I couldn't find a proper guide for an idiot to compile Sonora so here's my quick one.
Download mogenerator from http://github.com/downloads/rentzsch/mogenerator/mogenerator-1.27.dmg
Make sure you have XCode and it's Command Line Tools installed before trying anything below.
Open up Terminal and type
sudo gem install cocoapods (This part may take awhile depending on your internet connection)
pod repo add Sonora-podspecs git://github.com/zanechua/Podspecs.git master
git clone git://github.com/sonoramac/Sonora.git
Change the line from git://github.com/sonoramac/INAppStoreWindow.git to git://github.com/zanechua/INAppStoreWindow.git
Ctrl + O
Ctrl + X
git submodule update --init --recursive
Frameworks Archive: https://github.com/downloads/sbooth/SFBAudioEngine/Frameworks.tar.bz2
SFBAudioEngine requires frameworks that aren't included in the main repository. Download the Frameworks archive here and place the Frameworks folder inside Sonora/External/SFBAudioEngine/.
Generate your own Last.FM API Key at http://www.last.fm/api
Specify sonora://lastfmauth/ as the callback url
Copy the API Key and Secret Key to replace the placeholders in SNRConstants.m.
Fire up XCode and open Sonora.xcworkspace
Start Building and you'll start facing errors that are automatically fixable by XCode itself.
Apply this patch if you encounter this problem