Attabench icon indicating copy to clipboard operation
Attabench copied to clipboard

Carthage bootstrap Failing

Open n0shake opened this issue 5 years ago • 6 comments

First up; big fan of your book!

I wanted to run Attabench to check the performance of my own data structures. However while following the Carthage step; I'm running into the following error:

screen shot 2018-09-10 at 2 36 53 pm

n0shake avatar Sep 10 '18 19:09 n0shake

+1

Attabench/Carthage/Checkouts/GlueKit/Sources/ObservableContains.swift:26:30: error: type 'Input.Element' does not conform to protocol 'Hashable'
                let new = $0.inserted.contains(member)

dkpoulsen avatar Sep 14 '18 14:09 dkpoulsen

@lorentey Are you planning to update this? I was also unable to build this with Xcode 10.2.1, but it works when building with Xcode 10. Seems like the issue is with the Hashable conformances in GlueKit.

It would be great to have a binary available for download as well so there isn't a need to build it from sources.

theblixguy avatar Jun 19 '19 10:06 theblixguy

Check out https://github.com/zwaldowski/Attabench/tree/zwaldowski/swift-5.0 . It also works in Xcode 11 beta 5.

kareman avatar Aug 13 '19 21:08 kareman

Thank you @kareman ! Any plans on submitting the changes as a pull request?

mdznr avatar Dec 07 '20 00:12 mdznr

@mdznr Ask @zwaldowski

kareman avatar Dec 07 '20 06:12 kareman

@kareman D’oh! 🤦‍♂️ I totally overlooked the differences in the link and your username.

mdznr avatar Dec 07 '20 06:12 mdznr