Sonar IOS :Parsing coverage xml error

We are using sonar cloud for our project ,we have build xcode with build wrapper file and we got xcresult file but when converting to XML it is coming as 11MB where sonar-scanner throwing parsing error.

Sensor Generic Coverage Report
INFO: Parsing /Users/vadakkedathsubransariga/builds/RdpDzrNw/0/*******/development/riot-ios/sonarqube-generic-coverage.xml
INFO: ------------------------------------------------------------------------
INFO: ------------------------------------------------------------------------
INFO: Total time: 15:23.439s
INFO: Final Memory: 74M/264M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
ERROR: Error during parsing of the generic coverage report ‘/Users/vadakkedathsubransariga/builds/RdpDzrNw/0/*******/development/riot-ios/sonarqube-generic-coverage.xml’. Look at SonarQube documentation to know the expected XML format.

If you open /Users/vadakkedathsubransariga/builds/RdpDzrNw/0/*****/development/riot-, ios/sonarqube-generic-coverage.xml, does it look like a valid XML document?

yes. xml format is correct , but size is 11.8mb.
when we are running below command for macos , it is taking pods ,swift source packages and other target folders which is not to be taken for code coverage as we mentioned only one folder i.e…,

/Users/vadakkedathsubransariga/build-wrapper-macosx-x86/build-wrapper-macosx-x86 --out-dir bw-output xcodebuild -workspace Riot.xcworkspace -scheme Riot -Dsonar.sources=./Riot/ -derivedDataPath DerivedData -enableCodeCoverage YES CODE_SIGN_IDENTITY=“” CODE_SIGNING_REQUIRED=NO -Dsonar.coverageReportPaths=sonarqube-generic-coverage.xml -destination ‘platform=iOS Simulator,name=iPhone 13,OS=15.5’ clean build test