How to debug dsymutil error: “Clang modules are expected to have exactly 1 compile unit.”

走远了吗. 提交于 2019-12-20 02:35:18

问题


Received this error message during GenerateDSYMFile phase for an iOS app:

/Users/name/Library/Developer/Xcode/DerivedData/ModuleCache/HASH/FrameworkName-HASH: Clang modules are expected to have exactly 1 compile unit. Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 1


回答1:


Deleted:

~/Library/Developer/Xcode/DerivedData

And was able to build again.



来源:https://stackoverflow.com/questions/34209145/how-to-debug-dsymutil-error-clang-modules-are-expected-to-have-exactly-1-compi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!