iCloud & Core Data - "Path is outside of any CloudDocs container, will never sync" iCloud & Core Data - "Path is outside of any CloudDocs container, will never sync" swift swift

iCloud & Core Data - "Path is outside of any CloudDocs container, will never sync"


I had same issue before. I spent half day to check the code and it turned out that I used wrong iCloud container name. I had a app in development environment, whose name is very similar with the one in production environment.