in uberpoet/multisuite.py [0:0]
def verify_dependencies(self):
if not self.run_xcodebuild or self.project_generator_type == "cocoapods":
return # We don't need these binaries if we are not going to use them.
xcode = ['xcodebuild', 'xcode-select']
local = []
if self.project_generator_type == "buck":
local.append(self.buck_binary)
elif self.project_generator_type == "bazel":
local.append(self.bazel_binary)
elif self.project_generator_type == "cocoapods":
local.append(self.pod_binary)
missing = check_dependent_commands(xcode + local)
if missing == xcode:
logging.error("Xcode command line tools do not seem to be installed / are missing in your path.")
elif missing == [self.buck_binary]:
logging.error("Specified buck command not available. Did you install it in your path?")
elif missing == [self.bazel_binary]:
logging.error("Specified bazel command not available. Did you install it in your path?")
elif missing == [self.pod_binary]:
logging.error("Specified pod command not available. Did you install it in your path?")
if missing:
logging.error("Missing required binaries: %s", str(missing))
raise OSError("Missing required binaries: {}".format(missing))