How to debug dsymutil error: "Clang modules are expected to have exactly 1 compile unit."
How to debug dsymutil error: "Clang modules are expected to have exactly 1 compile unit."
在 iOS 应用程序的 GenerateDSYMFile 阶段收到此错误消息:
/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
已删除:
~/Library/Developer/Xcode/DerivedData
并且能够再次构建。
在 iOS 应用程序的 GenerateDSYMFile 阶段收到此错误消息:
/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
已删除:
~/Library/Developer/Xcode/DerivedData
并且能够再次构建。