Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Method 'reloadEmptyState(for:)' with Objective-C selector 'reloadEmptyStateFor:' conflicts with previous declaration with the same Objective-C selector #2

Closed
hansemannn opened this issue Aug 28, 2017 · 5 comments
Labels

Comments

@hansemannn
Copy link

hansemannn commented Aug 28, 2017

Hey there! I am getting an error path/to/UIEmptyState/UIEmptyState/UIViewController+UIEmptyState.swift:98:17: Method 'reloadEmptyState(for:)' with Objective-C selector 'reloadEmptyStateFor:' conflicts with previous declaration with the same Objective-C selector after a fresh install (Xcode 9, Swift 3.2).

@hansemannn hansemannn changed the title /Users/hknoechel/Documents/Apps/Lambus-iOS/Pods/UIEmptyState/UIEmptyState/UIViewController+UIEmptyState.swift:98:17: Method 'reloadEmptyState(for:)' with Objective-C selector 'reloadEmptyStateFor:' conflicts with previous declaration with the same Objective-C selector Method 'reloadEmptyState(for:)' with Objective-C selector 'reloadEmptyStateFor:' conflicts with previous declaration with the same Objective-C selector Aug 28, 2017
@luispadron
Copy link
Owner

Hey, which version are you using?

@hansemannn
Copy link
Author

Latest, 2.0.0.

@luispadron
Copy link
Owner

I'm looking into what is going on sine this should've been fixed in 2.0.0.

Give me some time as things are a bit hectic since I'm moving back to college.

@luispadron luispadron added the bug label Aug 28, 2017
@luispadron
Copy link
Owner

@hansemannn I've had a chance to look at the issue more and I'm unable to replicate your problem. That specific error was fixed in 2.0.0. Using the latest Xcode 9 beta, Swift 3.2 and version 2.0.0 of UIEmptyState I am not getting this error.

Could you post your Podfile in here?

Also, if you don't mind go ahead and try this command

pod cache clean --all

Then

pod update

Sometimes the cocoapods cache breaks and doesn't actually install latest versions.

Let me know if this works.

@luispadron
Copy link
Owner

Closing due to inactivity, feel free to reopen with more information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants