GEOSwift / geos

GEOS packaging for SPM & CocoaPods
GNU General Public License v2.0
12 stars 22 forks source link

Enabling test coverage is not possible when using GEOS SPM #14

Open BhosaleNikhil opened 2 years ago

BhosaleNikhil commented 2 years ago

Whenever we try to enable test coverage, we get following error,

Undefined symbols for architecture x86_64: "___llvm_profile_runtime", referenced from: ___llvm_profile_runtime_user in geos.o

It was not the case when we were using it via pod.

macdrevx commented 2 years ago

Hi @BhosaleNikhil, @borut-t has seen this happen before: https://github.com/GEOSwift/GEOSwift/issues/195#issuecomment-624016457

There's some discussion of an issue like this here as well: https://github.com/Swinject/Swinject/issues/296

@borut-t, did you ever find a solution other than disabling code coverage?

borut-t commented 2 years ago

@macdrevx unfortunately I haven't been playing with this for a while now.