简体   繁体   中英

xcodebuild build command fails in Xcode 11.5

when build the app in xcode 11.5 generate this issue. LOG: I hope can help me!! Regards!!

warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'B7_MOCHA' from project 'B7_MOCHA')

warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'B7_MOCHA' from project 'B7_MOCHA')

warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'B7_MOCHA' from project 'B7_MOCHA')

:0: error: unable to execute command: Killed: 9:0: error: compile command failed due to signal 9 (use -v to see invocation) Command CompileSwiftSources failed with a nonzero exit code

this a picture from console log:

io

the other console show this issue

/Users/dverdugo/Library/Developer/Xcode/DerivedData/B7_MOCHA-asiprqvqhlstshfnhycalolsjhxs/Build/Intermediates.noindex/B7_MOCHA.build/Debug-iphoneos/B7_MOCHA.build/Objects-normal-asan/arm64/TAG_CHAT.dia:1:1: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file

在此处输入图像描述

I hope can help me!! Regards!!

Sometimes the best thing you need to do is -Close xcode. -Restar the Mac -check if the pods you are using installed well.

and for the second error, maybe you deleted some file in the folder of your project so xcode is looking for it and can't find it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM