-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error occured while exporting xccovreport from xcresult" when using Xcode 11.7 #187
Comments
This looks like a similar issue to fastlane-community/danger-xcov#33 I’ll add this to my queue to look into! Probably won’t be able to get to it myself this week 😔 |
Thank you, @joshdholtz |
It's weird. I am using Xcode 12.2. Facing the same issue. Will wait for the fix. Thank you @joshdholtz in advance. |
xcov 1.7.5, Xcode 12.2, Command example:
Xcov would then complain with
In manager.rb I replaced lines 225 and 226 with FileUtils.mv(tmp_archive_paths[i], "#{output_path}/xccovarchive-#{index + i}.xccovarchive", force: true)
FileUtils.mv(item, "#{output_path}/xccovreport-#{index + i}.xccovreport", force: true) Then it would process. However prior to this I had already copied a number of .xcovreports and .xcovarchives into the directory for later processing which xcov now seemed to pick up with
and a list of this type with each of my previously stored reports and archives
I don't know enough about xcov to be able to say if the steps with merging and copying is the intended operation. Should I copy the xcresult to an empty directory for processing? |
Same problem using 12.4. It is interesting because if I clean the output directory it works very well, but after the first xccoarchive files/directories are created the next time some directories with the name "action" appears and it fails. Thanks so much for the help, I love this tool!!! 💯 Traceback (most recent call last): |
Anyone have a workaround for this? |
Clear output directory before check
|
Hello, Have you resolved the issue? i hit the issue too. |
Are you using M1/2/3 machines? This could be related to #222 |
any update? it still doesn't work on XCode 15.3 (M1) in my laptop + CICD
Does someone know how to fix it? |
Hello. I'm using xcov locally to test it with our project and plan to use it later in our Bitrise pipeline. It works well with Xcode 12, but when switching the command line tools to Xcode 11.7, the following error is thrown:
Any possible fix on that? Thanks in advance.
The text was updated successfully, but these errors were encountered: