luispadron / UIEmptyState

An empty state control to give visually appealing context when building iOS applications.
MIT License
178 stars 34 forks source link

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

Closed hansemannn closed 7 years ago

hansemannn commented 7 years ago

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).

luispadron commented 7 years ago

Hey, which version are you using?

hansemannn commented 7 years ago

Latest, 2.0.0.

luispadron commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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