cezheng / Fuzi

A fast & lightweight XML & HTML parser in Swift with XPath & CSS support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues on Swift 4.

bernikowich-cedoni opened this issue · comments

Environment

  • Fuzi version: 2.0.0
  • Xcode version: 9.0

How to reproduce:

Compile any Swift 4 project. Issues with rangeAt(1) / range(at: 1).

what do you mean by Issues with rangeAt(1) / range(at: 1) ? travis build is passing

same issue here

see screenshot
screen shot 2017-10-16 at 14 14 26

#72 fixes

Your PR does not build with travis. I'm pretty sure for Swift 3 it was rangeAt(_:) and then it was changed to range(at:) in Swift 4, which is stated clearly in the screenshot.

Please check your project's setting

I would confirm this as a misconfiguration of Swift version. Closing this issue.