Build errors on Xcode 9 beta 4 with Swift 3.2
ldiqual opened this issue · 3 comments
ldiqual commented
RandomKit/Extensions/Swift/Strideable+RandomKit.swift:48:1: Type 'String.UTF16Index' (aka 'String.Index') does not conform to protocol 'RandomInRange'
RandomKit/Extensions/Swift/Strideable+RandomKit.swift:48:1: Type 'String.UTF16Index' (aka 'String.Index') does not conform to protocol 'RandomInClosedRange'
RandomKit/Extensions/Swift/Strideable+RandomKit.swift:48:1: Type 'String.UTF16Index' (aka 'String.Index') does not conform to protocol 'RandomInRange'
via cocoapods
pod 'RandomKit', '5.2.0'
nvzqz commented
This may be due to recent changes in Swift 3.2 & 4 regarding String
indexing and String
now being a collection. Thanks for pointing this out; I'll try to fix this soon.