---
title: "Rodrigo Castillo (@rocasa) | Hashnode"
description: "Rodrigo Castillo (@rocasa) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@rocasa"
---

@rocasa

# Rodrigo Castillo

@rocasa · Joined September 2024

## Comments

[Thank you very much for this code, I tried with ChatGPT and a YouTube video to create App Groups but only with you I could do the migration. The only problem, which is still small, is that the following line gave me an error because the database was not found: init(inMemory: Bool = false) { container = NSPersistentCloudKitContainer(name: "iCloud.com.yourDomain.YourAppName’") It should be only with the model name, ie: NSPersistentCloudKitContainer(name: "YourAppName’") Rodrigo](https://hashnode.com/posts/how-to-migrate-nspersistentcloudkitcontainer-to-app-groups/647a051fed1f885a817b70ce/comment/66eb4b36c7a6d2155fb1ab16)

Comment · Article · Sep 18, 2024 · [How to migrate NSPersistentCloudKitContainer to App Groups](https://hashnode.com/posts/how-to-migrate-nspersistentcloudkitcontainer-to-app-groups/647a051fed1f885a817b70ce)
