Only build the tests when testing.

The iOS tests are being built all the time, and this is [causing some headaches](https://github.com/Carthage/Carthage/issues/201). This brings the iOS scheme into line with the Mac one.