Closed cgat closed 5 years ago
same issue here
alas, i have also just updated xcode and i'm pretty sure that is what broke this. :(
just to confirm:
downgrading to XCode 9.4 solves the issue.
Thanks for the solution. Downgrading now.
@gsaslis Thank you XCode 9.4 works...
FYI, this Gem can be built on 10.13 with Xcode 10 if changed to target a minimum of 10.9 instead of 10.7 (via -mmacosx-version-min=10.9
).
Unfortunately, the Gem seems to ignore the CXXFLAGS and LFLAGS passed in to the build as a workaround. In other words, I can't do this: gem install capybara-webkit -v '1.15.0' -- --with-cppflags=-mmacosx-version-min=10.9 --with-cflags=-mmacosx-version-min=10.9 --with-ldflags=-mmacosx-version-min=10.9
. I am not sure why. It does successfully build if I manually edit the Makefile after a failed build. I don't know if this targeting happens automatically somewhere in Ruby or what.
I don't know how well this fix might be received, but I put in a pull request that fixes the Gem here locally: https://github.com/thoughtbot/capybara-webkit/pull/1073.
@emilyst thank you for a fix!
@gsaslis 1.15.1
contains fix and available since Sept 28.
mac High Sierra OS 10.13.16 XCode 10.0 capybara-webkit 1.8.0 and 1.15.0 (tried both) shell: fish Qt: 5.5 Ruby: 2.5.1
Verify version of qt:
Attempting to install the gem:
This seems to suggest the standard c++ header files aren't being loaded. I'm wondering if some change in xcode no longer loads these by default?
Let me know if you need anymore info.