iCloud is a web service from Apple Inc. that allows users to store data such as music files and automatically sync them between multiple devices such as: iPhones, iPods, iPads, and personal computers. Note that iCloud is a different API than Apple's CloudKit service.
Questions tagged [icloud]
2716 questions
12
votes
4 answers
My app is getting crashed on UIDocumentPickerViewController
I am working on file sharing on my iOS App, I am new to UIDocumentPickerViewController. I do not know why my app is crashing.
UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc]…

Anand3777
- 448
- 2
- 5
- 16
12
votes
6 answers
CloudKit: Fetch all records with a certain record type?
I have currently got CloudKit set up in my app so that I am adding a new record using the help of the following code below,
CKRecordID *recordID = [[CKRecordID alloc] initWithRecordName:@"stringArray"];
CKRecord *record = [[CKRecord alloc]…
user2284295
12
votes
2 answers
Save iOS 8 Documents to iCloud Drive
I want to have my app save the documents it creates to iCloud Drive, but I am having a hard time following along with what Apple has written. Here is what I have so far, but I'm not for sure where to go from here.
UPDATE2
I have the following in my…

user717452
- 33
- 14
- 73
- 149
12
votes
2 answers
UIDocumentPickerViewController crashing
I'm using a UIDocumentPickerViewController in my iOS, and it will sometimes crash. It's just the view controller that crashes; the app itself is fine. I noticed this in Pages as well. When it crashes during debugging, I get the following…

Halen
- 456
- 4
- 14
12
votes
1 answer
Enable iCloud on a Xcode project via script
i am trying to setup a build server for a continuous building on a iOS project.
Since that i need to recreate the Xcode project very often (it is a build from unity), the iCloud will be reset to OFF.
I can copy the entitlement file (with the iCloud…

Chiodo
- 275
- 3
- 14
12
votes
5 answers
iCloud set up and provisioning
I am trying to set up iCloud within my iOS application, I have done the following:
Removed all old certs on mac.
Added iCloud to the App in Dev Console - created new container and added to app
Redone the dev provision and downloaded
Installed the…

RichAppz
- 1,520
- 2
- 14
- 27
12
votes
2 answers
Migrating data when iCloud is turned on/off
The local account
From the WWDC 2013 207 session about Core Data and iCloud:
You provide us a single store URL inside the application's local
sandbox and we then create an opaque container with an entry inside of
it for each account on the…

hpique
- 119,096
- 131
- 338
- 476
12
votes
2 answers
iCloud ubiquity containers not being cleaned up on app delete?
I am adding iCloud with Core Data to an app that already exists in the app store, so I need to test upgrade scenarios. However, when I delete my app from my device and re-install it from Xcode, I have noticed that everything inside of my ubiquity…

lehn0058
- 19,977
- 15
- 69
- 109
12
votes
3 answers
Why does iCloud sometimes stops working?
I sometimes have a problem with opening UIDocuments which are stored on iCloud. I call the following code at the very beginning of my app after checking if iCloud is available and getting the results of the NSMetaDataQuery. This works in 98% of all…

n.evermind
- 11,944
- 19
- 78
- 122
12
votes
4 answers
iCloud and Core Data pre-filled database
I have an app with a pre-filled .sqlite file that is copied into the user's Documents directory when the app is first opened. This file is 12.9MB. Twice now, my app has been rejected since changing target to iOS5 with this rejection note:
Binary…

colincameron
- 2,696
- 4
- 23
- 46
11
votes
1 answer
How to test restoring an in development iOS app from an iCloud backup?
I need to do some testing with how my app behaves after the device has been restored from a backup. Ideally I'd like to test my app after restoring from both a local iTunes backup and an iCloud backup. An issue I'm having is that when I restore my…

Josh Knauer
- 1,744
- 2
- 17
- 29
11
votes
1 answer
Managing Core Data iCloud Transaction Logs
I am using iCloud with Core Data, based on the SQLite "Library-style" application design as specified by Apple. While the basic functionality works very well, I am concerned about the transaction logs and how they are managed.
While the database for…

thevoid
- 659
- 7
- 12
11
votes
5 answers
NSUbiquitousKeyValueStore error: no valid com.apple.developer.ubiquity-kvstore-identifier entitlement
I'm having a problem integrating iCloud with my app.
When I set test out iCloud availability, I receive Success for the function
NSURL *iCloudURL = [fileManager URLForUbiquityContainerIdentifier:@"AppID"];
but right after this, when I attempt to…

Rich Byden
- 509
- 2
- 6
- 13
11
votes
1 answer
Creating "Subscribe to Calendar" link to work on Google Calendar and Apple Calendar
I would like to create a button that will allow my users to subscribe to a Calendar link. But, I want it to work for Google Calendars and also for the native Apple/iOS Calendars. Google Calendars subscription links don't seem to work reliably on iOS…

bboysupaman
- 1,274
- 1
- 13
- 20
11
votes
1 answer
PHAsset identifier persisting across devices
Following on from my previous question, and according to (among others) this question, the localIdentifier of a PHAsset doesn't persist across devices (after the photo syncs over iCloud).
How can I store a reference to a PHAsset (image) that will…

Cai
- 441
- 4
- 15