`Undefined symbol: _OBJC_CLASS_$_DDLog` when trying to run unit tests with Simulator target

Viewed 10

On Xcode 13.4.1, when specifically trying to run unit tests, I get an error Undefined symbol: _OBJC_CLASS_$_DDLog. After clicking on it in the Issue navigator, a longer error message says

Undefined symbols for architecture arm64:

  "_OBJC_CLASS_$_DDLog", referenced from:

      objc-class-ref in

How might I fix this? I tried running both Xcode and the Simulator in Rosetta, but I get the same error message but for x86.

0 Answers
Related