You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
I'm trying to run swiftcov on BrightFutures (https://github.com/Thomvis/BrightFutures), but Python crashes and the coverage reports seem to be incorrect (every line begins with -:). I haven't tried to run it on a different project yet.
In the Xcode console, the last lines read:
Generating gcov files...
Created './coverage/ExecutionContext.swift.gcov'
Created './coverage/BoxType.swift.gcov'
...
Created './coverage/Errors.swift.gcov'
Coverage files successfully generated to './coverage'
Failed to execute xcode build command
Arguments used to run swiftcov: generate --output ./coverage xcodebuild -project BrightFutures.xcodeproj -scheme 'BrightFutures-Mac' -configuration Release -sdk macosx test
Let me know if you need more info!
The text was updated successfully, but these errors were encountered:
@Thomvis I finally understood the issue. You probably run swiftcov from Xcode? It is a weird behavior; the issue was caused only when run from Xcode. The coverage report is not generated correctly and crash at the end of the process.
If so, please install swiftcov command and run from command line. Since it is not likely to fix immediately.
I'm trying to run swiftcov on BrightFutures (https://github.com/Thomvis/BrightFutures), but Python crashes and the coverage reports seem to be incorrect (every line begins with
-:
). I haven't tried to run it on a different project yet.In the Xcode console, the last lines read:
Full console log can be found here: https://gist.github.com/Thomvis/bd5a11c53180db9613be.
At that time, a window pops up saying 'Python quit unexpectedly'. See screenshot:
Full log can be found here: https://gist.github.com/Thomvis/1e90c2465b54560d0cde
An example .gcov file can be found here: https://gist.github.com/Thomvis/854ba0715902a5f60406
Arguments used to run swiftcov:
generate --output ./coverage xcodebuild -project BrightFutures.xcodeproj -scheme 'BrightFutures-Mac' -configuration Release -sdk macosx test
Let me know if you need more info!
The text was updated successfully, but these errors were encountered: