Open ketandaffodil opened 9 years ago
The exact problem seems to be that with Swift 2 some interfaces changed:
public final class MutableBox<T>: MutableBoxType, Printable {
^~~~~~~~~
CustomStringConvertible
/Users/xxx/Development/SwiftCov/Carthage/Checkouts/Box/Box/MutableBox.swift:25:10: error: 'toString' has been renamed to 'String'
return toString(value)
^~~~~~~~
String
Swift.toString:1:33: note: 'toString' has been explicitly marked unavailable here
@available(*, unavailable) func toString<T>(x: T) -> String
I opened a related issue at bignerdranch/Result.
Xcode 7 support is on investigating. https://twitter.com/k_katsumi/status/642393408040886273
Xcode7 supports Code coverage. https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_7_0.html Maybe we use prefer this to SwiftCov.
Unable to install.. message as follows..
** INSTALL FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/surajpathak/Projects/External/SwiftCov/Carthage/Checkouts/Box/Box/Box.swift
CompileSwift normal x86_64 /Users/surajpathak/Projects/External/SwiftCov/Carthage/Checkouts/Box/Box/MutableBox.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(3 failures)
make: *** [installables] Error 65
SwiftCov hasn't been maintained in a little while, mostly since Swift 2.0 has native support for test coverage generation. However, I took a bit of time to fix compilation failures with Xcode 7.2 just for fun (#63), but we'll probably be sunsetting this tool soon.
Hello,
We tried installing swiftCov by following ways :
when we do "make install" we are getting following errors:
CompileSwift normal x86_64 /Users/rahulgoel/Desktop/Swift_Cov/SwiftCov/Carthage/Checkouts/Box/Box/Box.swift CompileSwift normal x86_64 /Users/rahulgoel/Desktop/Swift_Cov/SwiftCov/Carthage/Checkouts/Box/Box/BoxType.swift CompileSwift normal x86_64 /Users/rahulgoel/Desktop/Swift_Cov/SwiftCov/Carthage/Checkouts/Box/Box/MutableBox.swift CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
Also, we have already installed homebrew and carthage.
Can you please help us installing this.
Thanks.
Cheers, Ketan