Use xcodebuild & xcpretty instead of xctool

xctool has some annoying issues during tests, see e.g. https://github.com/facebook/xctool/issues/450