Use xcodebuild instead of xctool.