Hi, here is the error on loading for me.
I will take a look shortly! Which repository branch are you using?
@mtnbarreto I get the same error using the feature/Xcode9-Swift4 branch
same problem here... after update xcode GM version
Problem is solved if you use this updated file: https://raw.githubusercontent.com/xmartlabs/Eureka/142d80535b27b3634ac5a38514bde948b8ed42de/Source/Core/Section.swift
Is this in a tagged commit so that it can be tried using either cocoa pods or carthage?
@mtnbarreto Branch swift 4
@FredvanRijswijk On your fix, I have the Cannot call value of non-function type 'UITableView?'
on the 458 and 469 line
I was wrong to update xcode, I am sorry and will not do this again =(
Gonna wait for the next release with fixes
This ticket is closed - and the tickets pointing to it are closed........
So, where is the FIX???? (nothing suggested by anyone totally fixes this - they just cause other errors!)
@TCOA After take some time to research, here's the fix:
pod 'Eureka', :git => 'https://github.com/xmartlabs/Eureka.git'
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'Eureka'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end
pod install
Thanks, though now I get another issue......
Pre-downloading: Eureka
from https://github.com/xmartlabs/Eureka.git
[!] Unable to satisfy the following requirements:
Eureka (from
https://github.com/xmartlabs/Eureka.git)
required by Podfile
Eureka (~> 2.0.0-beta.1)
required by ImageRow (1.0.0)
Suggestions on that (I know it is not the same project/group, but it is still 'Eureka' to me...)?
For others that are finding 'challenges' in getting this to work.....
Put this in your podfile
pod 'Eureka', '~> 3.0'
pod 'ImageRow', '~> 2.0'
then 'pod install'
That will get the pod stuff installed.
HOWEVER, when trying to compile, we are back to the same error as before......
in Section.swift, line 201, I get 2 errors:
Type 'Section' does not conform to protocol 'BidirectionalCollection'
'Collection' requires the types 'Section.SubSequence' (aka 'Array<BaseRow>') and 'ArraySlice<BaseRow>' be equivalent
and on line 227, the
Type 'Section' does not conform to protocol 'BidirectionalCollection'
So, still no 'joy'........
ANYONE HAVE A FIX THAT WORKS FOR EUREKA AND IMAGE ROW????
Simply removing the non-updated rows and installing Eureka yields version 4.0 which works perfect. I had to drop the post office row and the image row, but at least it works. Frankly Eureka should have come out with the Swift 4/Xcode 9 version earlier to allow devs time to update the custom rows.
The fix of @tuantmdev worked for me !
@tuantmdev fix worked for me as well!
Most helpful comment
@TCOA After take some time to research, here's the fix:
pod 'Eureka', :git => 'https://github.com/xmartlabs/Eureka.git'
pod install