Eureka: MultivaluedSection is not there!

Created on 2 Apr 2017  路  6Comments  路  Source: xmartlabs/Eureka

I am using Eureka through CocoaPods, here is my pod file:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target "POSRocket" do
    pod 'Eureka'
end

But when I run pod install and then check Section.swift; I can't find 'MultivaluedSection' provided in the example.

Also whenever I use pod 'Eureka', '~> 3.0' and run pod install it gives me an error in the teminal said:
Unable to satisfy the following requirements

Most helpful comment

It will be available in the next official release.
Follow @FranciscoAmado advice to use Multivalued sections feature for now.

All 6 comments

Hey there,

I'm not from the Eureka team but I believe MultivaluedSection isn't already available in an official release.

Also whenever I use pod 'Eureka', '~> 3.0' and run pod install it gives me an error in the teminal said:
Unable to satisfy the following requirements

This is happening because you're targeting a non existing version of the pod, current latest release is 2.0.1

if you wan't to have access to MultivaluedSection's you can target your pod to the master branch for now
pod 'Eureka', :git => 'https://github.com/xmartlabs/Eureka.git'

It will be available in the next official release.
Follow @FranciscoAmado advice to use Multivalued sections feature for now.

Thanks @FranciscoAmado

I've just looked to add MultivaluedSection to my app, and took the advice given. The response to pod install I get is
Pre-downloading:Eurekafromhttps://github.com/xmartlabs/Eureka.git`
[!] Unable to satisfy the following requirements:

Any way to get both of these at the same time?

hey @TCOA, we've released a new version of ImageRow that requires Eureka 3.0.0. Please run pod repo update to update cocoapods specs, remove the contraint to ImageRow 1.0.0 and retry pod install!
Cheers

Thanks @santiagofm for the fast reply!

After several attempts, I have things running now and can get started on working with MultivaluedSection!

For others that may have 'newbie' sort of issues, here is what I had to clear up.....

running pod repo update, I got an error of
warning: inexact rename detection was skipped due to too many files. warning: you may want to set your diff.renameLimit variable to at least 2204 and retry the command.

I searched and got a command to use in Terminal on my computer from this link and then pod repo update again with no errors.

in the Pod file, change pod 'ImageRow', '~> 1.0' to pod 'ImageRow' (I learned that is what "remove the constraint" means...) and pod install again.

It will install a new ImageRow (2.0.0) and all looks great!

Was this page helpful?
0 / 5 - 0 ratings