[英]How to debug dsymutil error: “Clang modules are expected to have exactly 1 compile unit.”
Received this error message during GenerateDSYMFile phase for an iOS app: 在iOS应用的GenerateDSYMFile阶段收到此错误消息:
/Users/name/Library/Developer/Xcode/DerivedData/ModuleCache/HASH/FrameworkName-HASH: Clang modules are expected to have exactly 1 compile unit.
/ Users /名称/ Library / Developer / Xcode / DerivedData / ModuleCache / HASH / FrameworkName-HASH:预期Clang模块具有恰好1个编译单元。 Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 1
命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil失败,退出代码为1
Deleted: 删除:
~/Library/Developer/Xcode/DerivedData
And was able to build again. 并能够再次建造。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.