Eureka: Xcode 9 Beta 4 - Several build errors

Created on 3 Aug 2017  Â·  7Comments  Â·  Source: xmartlabs/Eureka

I am having several issues compiling on Xcode 9 Beta 4.

Type ‘Section’ does not conform to protocol ‘BidirectionalCollection’

‘Collection’ requires the types ‘Section.SubSequence’ (aka ‘Array‘) and ‘ArraySlice’ be equivalent

Type ‘Section’ does not conform to protocol ‘RangeReplaceableCollection’
screenshot2_720
screenshot1_720

I am using Eureka v. 3.1.0, and I have cleaned the build folder/cleaned the project. The project builds correctly on Xcode 8.

Xcode9-Swift4

Most helpful comment

I am having several issues compiling on version Xcode 9.3 Beta 4.

Type 'Section' does not conform to protocol 'RangeReplaceableCollection'

All 7 comments

@chwebb1 you should change your code to use the Eureka feature/swift3.2 branch and that will make things work

see also https://github.com/xmartlabs/Eureka/issues/1178 - I filed this to @mtnbarreto so theoretically we could just fix this in the main branch so people wouldn't have to checkout different branches to make both xcode8+9 work.

FWIW, the branch that works in Xcode 9 was apparently renamed to feature/Xcode9-Swift3_2.

Please use feature/Xcode9-Swift3_2 or feature/Xcode9-Swift4 which supports Xcode 9.
Once Xcode 9 get released we will have a Eureka release supporting Swift 4 as Swift 4 is the default Xcode 9 swift version.

Please use feature/Xcode9-Swift3_2 or feature/Xcode9-Swift4
How do I use this ? Does this mean I have to change pod file ?

@ravinleague pod 'Eureka', :git => 'https://github.com/xmartlabs/Eureka.git', :branch => 'feature/Xcode9-Swift3_2'

I am having several issues compiling on version Xcode 9.3 Beta 4.

Type 'Section' does not conform to protocol 'RangeReplaceableCollection'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

annjawn picture annjawn  Â·  3Comments

calli23 picture calli23  Â·  3Comments

thlbaut picture thlbaut  Â·  3Comments

Tomas1405 picture Tomas1405  Â·  3Comments

Tomas1405 picture Tomas1405  Â·  3Comments