Only build framework schemes

Fixes #124, #143. Tested with the unit test fixture and also the `Cartfile` described in the original issue.

/cc @0xced
Eh, don’t worry about it. I don’t like this code style but that’s not your problem :smile: