Undefined symbols ___llvm_profile_runtime

I was also troubled by the problem.
To solve this problem, you may want to add -fprofile-instr-generate to Build Settings > Linking > Other Linker Flags.

This flag is an option used for coverage output. With this setting in my environment, I succeeded in enabling the preview while enabling the coverage.

Leave a Comment