and for the build-wrapper.log and build-wrapper-dump.json, can you provide me your email? So that I can send the invitation for the cloud access to you.
The “all-product-hearders.yaml” is existed before and after i execute the sonar-scanner.
That is very strange. Can you, please, post a full output (just like with the full execution log of just sonar-scanner) of the following three commands executed directly one after another?
ls -la /Users/000751/Library/Developer/Xcode/DerivedData/eWallet-iOS-dbdhbgxcoixkfuetymwtmxqgcexr/Build/Intermediates.noindex/eWallet-iOS.build/Debug-iphoneos/TNGNotificationContent.build/all-product-headers.yaml
sonar-scanner -X
ls -la /Users/000751/Library/Developer/Xcode/DerivedData/eWallet-iOS-dbdhbgxcoixkfuetymwtmxqgcexr/Build/Intermediates.noindex/eWallet-iOS.build/Debug-iphoneos/TNGNotificationContent.build/all-product-headers.yaml
Thank you for the logs. The first two lines give us the answer here:
TNGD-TECH-LCWAI:ewallet-ios 000751$ ls -la /Users/000751/Library/Developer/Xcode/DerivedData/eWallet-iOS-dbdhbgxcoixkfuetymwtmxqgcexr/Build/Intermediates.noindex/eWallet-iOS.build/Debug-iphoneos/TNGNotificationContent.build/all-product-headers.yaml
ls: /Users/000751/Library/Developer/Xcode/DerivedData/eWallet-iOS-dbdhbgxcoixkfuetymwtmxqgcexr/Build/Intermediates.noindex/eWallet-iOS.build/Debug-iphoneos/TNGNotificationContent.build/all-product-headers.yaml: No such file or directory
So this file existed during your build, when Build Wrapper detected it was provided to the compiler, but it disappeared by the time you run Sonar Scanner. It might have been deleted or moved by some later build stage.
For successful analysis, all the files used during the build must remain available with the same paths. They should not be moved nor deleted.
Thanks for the information but that’s weird. I ran build-wrapper command first, and after it succeed I run the sonar-scanner command without doing anything else.