Getting error while running application:
dyld: Library not loaded: /System/Library/Frameworks/UserNotificationsUI.framework/UserNotificationsUI
Referenced from: /var/containers/Bundle/Application/021019C3-2654-4F9A-9E06-3C86B5EA6B04/iSRK-Diamonds.app/iSRK-Diamonds
Reason: image not found
For notification in ios 10
I would recommend checking the UserNotificationsUI framework is marked as Optional and not Required in your project settings.
You can do this by
Xcode Project in the project navigator. target and navigate to the Build Phases tab. Link Binary With Libraries section.UserNotificationsUI framework is set to Optional.This will ensure the framework is not forcefully loaded into memory, causing a crash on older versions of iOS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With