Skip to content

Commit de3c6ea

Browse files
committed
Only build watchOS project for armv7k <rdar://problem/44522408>
1 parent ce3e959 commit de3c6ea

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

project.py

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ def get_build_command(self, incremental=False):
124124
command += ['-configuration', value]
125125
else:
126126
command += ['%s=%s' % (setting, value)]
127+
if self._destination == 'generic/platform=watchOS':
128+
command += ['ARCHS=armv7k']
127129

128130
return command
129131

project_future.py

+3
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ def get_build_command(self, incremental=False):
124124
'SWIFT_TREAT_WARNINGS_AS_ERRORS=NO'])
125125
command += self._added_xcodebuild_flags
126126

127+
if self._destination == 'generic/platform=watchOS':
128+
command += ['ARCHS=armv7k']
129+
127130
return command
128131

129132
def get_test_command(self, incremental=False):

0 commit comments

Comments
 (0)