LeoNatan / LNNotificationsUI

A framework for displaying notifications similar to Apple's iOS 8 and iOS 9 notifications.
MIT License
787 stars 115 forks source link

Module LNNotificationUI not found error. #53

Closed vickydhas closed 7 years ago

vickydhas commented 7 years ago

Hello Leo,

I understand that you have stopped support for adding feature as IOS 10 already is coming with thsi implementation.

I have followed your instructions to add this library as I need this for my app which support 8.0 OS also so cannot use apples UsernotificationCenter component which is IOS 10.0 and above.

I am facing the module not found even if adding the library as project 1) drag and drop to the main project 2) Adding in embedded binaries. 3) @import LNNotificationUI;

I get the Module not found error still. Can help on this please.

screen shot 2017-03-13 at 12 39 00 pm
LeoNatan commented 7 years ago

Have you added the framework as a dependency of you main project in build phases?

vickydhas commented 7 years ago

Yes please. Never mind I fixed it by manually taking the source files rather drag and drop of project.

As I mentioned I want iOS 8,9 support so have to use this can't go with apples thing as it's iOS 10 and above only.

-- Sent from my iPhone6+

LeoNatan commented 7 years ago

Adding source files is problematic because the framework has assets, and I'm not sure how I handle them in code. It should just work the way you did it.

LeoNatan commented 7 years ago

Ah I found the issue. It should be @import LNNotificationsUI;

vickydhas commented 7 years ago

Where to import , if you have managed to fixe in your code can you please let me know. so we use the default practise of importing project as Drag and drop.

LeoNatan commented 7 years ago

It was a spelling mistake on your part. Take a look at your screenshot, it is written incorrectly.

vickydhas commented 7 years ago

Okay I tried again by pasting from the Demo app that you have given but still same issue. -- Sent from my iPhone6+

LeoNatan commented 7 years ago

Does the demo app compile for you?

vickydhas commented 7 years ago

Yes please , thats strange and i know i am missing very basic thingy.

vickydhas commented 7 years ago

Only difference is mine is workspace based project and you have a project. -- Sent from my iPhone6+