problame / CSNotificationView

Drop-in, semi-translucent and blurring notification view.
MIT License
900 stars 152 forks source link

Since ver. 0.5 build fails: Cannot find interface declaration for 'UIVisualEffectView', superclass of 'CSNativeBlurView' #43

Closed romanr closed 10 years ago

romanr commented 10 years ago
Pods/CSNotificationView/CSNotificationView/CSNativeBlurView.h:12:31: Cannot find interface declaration for 'UIVisualEffectView', superclass of 'CSNativeBlurView'

Pods/CSNotificationView/CSNotificationView/CSNotificationView.m:13:9: In file included from Pods/CSNotificationView/CSNotificationView/CSNotificationView.m:13:

Pods/CSNotificationView/CSNotificationView/CSNativeBlurView.m:25:35: Use of undeclared identifier 'UIBlurEffect'
duffpod commented 10 years ago

Yep! No backward compatibility with iOS 7 SDK. Just catched this, too.

I'm using Xcode 5.1.1 and my project's deployment target set to iOS 7.0 and Base SDK is "Latest iOS (iOS 7.1)".

problame commented 10 years ago

Fixed earlier today in pull request #42 Sry for the issues.

duffpod commented 10 years ago

OK, but this issue is not about image assets. It's about using CSNotificationView with Xcode 5. So, the old Xcode doesn't know about UIVisualEffectView. What should I do?

romanr commented 10 years ago

Why is this closed ? Nothing has changed!

Installing CSNotificationView 0.5 (was 0.4.2)

Pods/CSNotificationView/CSNotificationView/CSNativeBlurView.h:12:31: Cannot find interface declaration for 'UIVisualEffectView', superclass of 'CSNativeBlurView'
romanr commented 10 years ago

Anyway, everyone who's having same issue, the fix would be changing pod to earlier version:

pod 'CSNotificationView', '~> 0.4.2'