Posts

Post not yet marked as solved
5 Replies
2.1k Views
I am trying to retrieve all delivered notifications still showing in the notification center but UNUserNotificationCenter getDeliveredNotifications(completionHandler:)just doesn't work. I can get all the pending notifications with UNUserNotificationCenter getPendingNotificationRequests(completionHandler:)but getDeliveredNotificationswill simply always return a 0 count even though there are notifications on the notification center.I have noticed that this works in iOS 10 but not in iOS 11. Anyone has found a way to fix this?
Posted
by cauende.
Last updated
.
Post not yet marked as solved
3 Replies
879 Views
I am trying to remove the project directory but receive a Permission denied for .dat.nosyncb77b.*files. What are these files and how can I remove them?After trying a number of different approaches to solve an Xcode issue with Could not load authors for file 'Pods/Pods.xcodeproj/project.pbxproj' I have tried removing the whole project directory in an attempt to clone the project fresh from git.However, when running rm -rf project-dir I got Permission denied for .dat.nosyncb77b.* files. What is strange is that I am the owner of the files. I have tried changing the permissions to 755 and 775 but no luck. All the other directories and files were successfully removed apart from these .dat.nosyncb77b.* files.None of my other projects have those files. I have cloned the repo again under a different directory and could see that those files do not exist in the same project.xcworkspace/xcuserdata/username.xcuserdatad/ where those files are for that project.
Posted
by cauende.
Last updated
.