We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec2454 commit 0ac6270Copy full SHA for 0ac6270
conan/tools/apple/xcodebuild.py
@@ -38,7 +38,7 @@ def build(self, xcodeproj, target=None):
38
will build all the targets passing the ``-alltargets`` argument instead.
39
:return: the return code for the launched ``xcodebuild`` command.
40
"""
41
- target = "-target {}".format(target) if target else "-alltargets"
+ target = "-target '{}'".format(target) if target else "-alltargets"
42
cmd = "xcodebuild -project '{}' -configuration {} -arch {} " \
43
"{} {} {}".format(xcodeproj, self._build_type, self._arch, self._sdkroot,
44
self._verbosity, target)
0 commit comments