Only build framework schemes

Fixes #124, #143. Tested with the unit test fixture and also the `Cartfile` described in the original issue.

/cc @0xced
I've been using an explicit `return` whenever the body of the closure starts on a new line.