The issue is fixed in the latest version Xcode 15.2
Post
Replies
Boosts
Views
Activity
Disabling the code coverage for the pod repos inside pod project resolved this issue
Add bellow script in Podfile to disable the code coverge
config.build_settings['CLANG_ENABLE_CODE_COVERAGE'] = 'NO'
config.build_settings['swiftc'] = '$(SRCROOT)/SWIFT_EXEC-no-coverage'
Disabling the code coverage for the pod repos inside pod project resolved this issue.
Add bellow script in Podfile to disable the code coverge
config.build_settings['CLANG_ENABLE_CODE_COVERAGE'] = 'NO'
config.build_settings['swiftc'] = '$(SRCROOT)/SWIFT_EXEC-no-coverage'
Also I observed it is failing to generate Coverage.profdata file inside DerivedData/build/Profiledata
Also I observed it is failing to generate Coverage.profdata file inside DerivedData/build/Profiledata
Even when it is build locally, test succedes, but fails to gather code coverage data and fails with the error failed to merge raw profiles in directory