Building SelfControl

cstigler edited this page Mar 11, 2013 · 1 revision

If you want to build your own copy of SelfControl from source, it's pretty easy.

  1. Clone the repository
  2. Open SelfControl.xcodeproj in Xcode
  3. Switch the Scheme selector (upper-left-hand corner) to SelfControl -- not Distribution
  4. Build!

You may also run into problems with code signing -- if you do, open the project settings and either switch the Code Signing Identity to yourself, or remove it entirely.


If for some reason you are building SelfControl for distribution via appcast (why haven't I heard about this yet?), you'll need a few extra things: Ruby and Nokogiri, to run our distribution build script.

Ruby, and libxml2 (a nokogiri dependency), can be installed using a package manager such as macports or fink:

fink install ruby
fink install libxml2 

Then install nokogiri using gem

sudo gem install nokogiri