Work around Xcode 9 debug actool message.

Xcode 9's beta introduced a CoreUI(DEBUG) message followed by a detail message
that can be ignored.  Presumably this will be removed once Xcode 9 GMs.

BUG=730054

Review-Url: https://codereview.chromium.org/2928623002
Cr-Original-Commit-Position: refs/heads/master@{#477535}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 44098da69108f7a5525edbfb307cf73c9902de66
This commit is contained in:
justincohen 2017-06-06 20:33:59 -07:00 коммит произвёл Commit Bot
Родитель d122cd769f
Коммит afd4f9c1c5
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -62,6 +62,12 @@ def CompileXCAssets(
continue
if line == os.path.abspath(output):
continue
# crbug.com/730054 Xcode 9's beta introduced a CoreUI(DEBUG) message and
# IBMessageChannelErrorDomain message that can be ignored.
if line.startswith('CoreUI(DEBUG)'):
continue
if 'Error Domain=IBMessageChannelErrorDomain Code=4' in line:
continue
sys.stderr.write(stdout)
sys.exit(1)