Eureka 4.1.1
Xcode 9.3



I still facing compilation error after update to 4.1.1 . Please advise. thank you
How are you installing Eureka?
I suppose in the Xcode build settings or in the dependency manager config it is specified to build Eureka with the wrong Swift version.
mats-claassen has the correct answer. You need to change the Swift version to 4.1 in the Pods build settings.
Thank @dsmailes and @mats-claassen .
For those who facing same problem with me , you try with a post_install hook in podfile:
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.1'
end
end
end
end
@RexNexstream this worked for me! One thing to note is make sure you still have pod 'Eureka' in your target as well. Thanks!!
Hi, I am using swift 4.1 and Xcode 9.4.1
if I use Eureka '4.2' I get bunches of errors
if I use Eureka '4.0' I get this: Type 'Section' does not conform to protocol 'RangeReplaceableCollection'
I have already tried this: pod 'Eureka', :git => 'https://github.com/xmartlabs/Eureka.git', :branch => 'Swift-3.3'
I have include this: 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.1'
end
end
end
end
I think I have read and tried almost all, and yet... I can not solve it ;/
any ideas ??
Most helpful comment
Thank @dsmailes and @mats-claassen .
For those who facing same problem with me , you try with a post_install hook in podfile: