alfwatt
alfwatt

Reputation: 2020

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:

/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

Upvotes: 3

Views: 1622

Answers (1)

alfwatt
alfwatt

Reputation: 2020

Deleted:

~/Library/Developer/Xcode/DerivedData

And was able to build again.

Upvotes: 4

Related Questions