I'm struggling with writing to an iCloud file. I want my IOS app to open files on the iCloud driver. I get the above error upon return from fopen(filename, "w"). Further, the container name (iCloud.TrackInstructor) appears in red under the iCloud stanza of the Signings & Capabilities page.
I can see my container under the CloudKit page of my Apple Developer account. However, below, it states:
Error loading container details.
Also in red.
FWIW, my app is trying to open:
/private/var/mobile/Library/Mobile%20Documents/iCloud~TrackInstructor/Documents/nav_detailed_file_20220719_111330.csv
I have IOS 15.5 and Xcode 13.4.1.
I'm struggling. Help or ideas are appreciated.
6
1
2.9k