Step 6: Enable iCloud capabilities
-
In Xcode, select your project in the project navigator.
-
Choose the target from the Project/Targets pop-up menu or in the Targets section of the project and targets sidebar.
-
Click Capabilities at the top of the project editor.
-
Enable iCloud, then select iCloud Documents to allow transferring data to and from iCloud.