realm / SwiftCov

A tool to generate test code coverage information for Swift.
MIT License
562 stars 41 forks source link

Corrected path to LLDB.framework #2

Closed Thomvis closed 9 years ago

Thomvis commented 9 years ago

When I run swiftcov, it fails with the following error:

/Applications/Xcode.app/Contents/Developer/
Traceback (most recent call last):
  File "/Users/Thomas/Library/Developer/Xcode/DerivedData/SwiftCov-gfvxdndtmsexakbihbkblcqhyyyg/Build/Products/Debug/SwiftCovFramework.framework/Resources/coverage.py", line 11, in <module>
    import lldb
ImportError: No module named lldd

It has to do with the value XCPATH, which is then used to deduce the FWPATH. On my machine, there's a trailing forward slash in XCPATH, which resulted in a wrong path to lldb.

kishikawakatsumi commented 9 years ago

Thank you for validation in your environment.