icloud

Are there any tools for browsing iCloud data of your app?

梦想的初衷 提交于 2019-12-05 04:16:29
I am working on integrating iCloud in my app and sometimes having problems with conflicts and save errors. The fact that the data is stored on the cloud makes it very hard to debug the problems. As far as I know, the data on the iCloud servers are mirrored to a directory on the device. Is there any tool (an iOS or OSX app) that will allow me to see the contents of this directory or the files in the iCloud servers? I know that it is possible to query the files in the directory with NSMetadataQuery class. However, I am looking for a built-in tool from Apple or an open source application that I

iCloud Time out. (using iCloud + Core Data + Magical Record

别等时光非礼了梦想. 提交于 2019-12-05 03:58:15
I started an app test to use Core Data and iCloud (using Magical Records). After a lot of troubles to configure Provisioning Profiles and Entitlements, the app finally runs. After a while the app crash and throw this message:: 2012-12-31 03:42:07.079 iCloudTest[252:1103] -[PFUbiquitySafeSaveFile waitForFileToUpload:](268): CoreData: Ubiquity: <PFUbiquityPeerReceipt: 0x1cd5a420>(0) permanentLocation: <PFUbiquityLocation: 0x1cd57b30>: /private/var/mobile/Library/Mobile Documents/MA5BADG5AW~com~gazapps~iCloudTest/mobile.4088E03C-763E-5A81-BB1B-64CABAFA73E3/com.gazapps.iCloudTest

iCloud with Core Data and File sync

半世苍凉 提交于 2019-12-05 03:35:25
问题 I'm working on an Application that uses Core Data with iCloud (with the great improvement given by iOS7). This application stores data to describe a task with this information: name a NSString date a NSDate image a NSString which describes a path to the picture The pictures could be stored in Documents or Library Directory (I have to decide which is the more convenient folder), by the way, in the same folder with a unique name. Now I'd like to activate iCloud sync for the images too otherwise

How to import iCloud contacts in php

假如想象 提交于 2019-12-05 03:26:53
问题 How to import contacts from iCloud using a iCloud API or any other method which use PHP as server side language. I know there iCloud support cardDav through which we can import iCloud contacts but how? it still a question for me If any one have an idea it will be very helpful 回答1: iCloud support cardDAV client/server protocol through which we can make a request to iCloud server and get the saved contacts from iCloud. To implement cardDAV client/server protocol one need to use third party API

iCloud & NSFileWrapper: Showing as 2 different files in Settings

久未见 提交于 2019-12-04 20:51:08
问题 I have an app that uses a UIDocument that is NSFileWrapper based. My file wrapper is a directory named "XXX.cp", with two sub-files "photo.data" and "photo.metadata". It seems to save and load documents fine, however when I go to Settings\Manage Storage\Unknown the sub-files are listed separately: I was expecting it to show "XXX.cp" instead of these two sub-files. I think I have the document UTI set up and exported properly: And I think I am creating the file wrappers correctly (especially

iCloud KeyValue store not recognized on first launch

蹲街弑〆低调 提交于 2019-12-04 20:33:28
问题 My app uses iCloud (key-value store) to sync an unique id between multiple devices. This works accept at the point were it really has to work, at the first launch of the app. It looks like the device isn't yet familiar with the values from iCloud at first launch, only after the app is installed and has been running for a while. I check for the iCloud value in the viewDidLoad function on main view of the app. So, my questions: Is this the expected behavior? If yes, is there another solution?

iCloud NSMetadata query results are blank

僤鯓⒐⒋嵵緔 提交于 2019-12-04 19:02:02
I've been working on adding icloud to my project (which is quite a pain in the buns) and I'm able to save and remove files, but I can't get a list of the files stored in iCloud. I've tried solutions from about 10 different websites (including the Apple documentation). Whenever I call [self.query startQuery]; everything seems to be working: The correct methods get called, the methods execute exactly as they should. Then when I ask for an nsarray of the files in my app's iCloud Documents directory I get two parenthesis with nothing between them (when I view in NSLog): File List: ( ) . I know for

App Crash if iCloud is on (linked to sync with coreData)

馋奶兔 提交于 2019-12-04 18:52:12
This is the code i used in the init for storage class and it worked fine until recently.. when i tried testing it, it crashes (marked below) at addPersistentStoreWithType ... i noticed this after switching to the iPhone 5 and was trying to run the app... but if i turn off icloud on my phone or test it on the simulator there are no problems... -(id)init { self = [super init]; if(self) { NSLog(@"%s", __FUNCTION__); favColors = [[NSMutableArray alloc] init]; model = [NSManagedObjectModel mergedModelFromBundles:nil]; NSPersistentStoreCoordinator *psc = [[NSPersistentStoreCoordinator alloc]

iCloud sync not sending data through ubiquity container

别等时光非礼了梦想. 提交于 2019-12-04 18:28:08
I have been using iCloud in my apps for a while now and am recently having an issue where devices refuse to talk to each other. Or at least that's what I thought until I started logging the methods where the merging takes place. My persistentStoreCoordinator is set up as described in a previous question of mine . The problem is the following. When setting up my managedObjectContext , I add an observer to it to view the NSPersistentStoreDidImportUbiquitousContentChangesNotification notification like follows: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector

Sharing iCloud data between two apps

瘦欲@ 提交于 2019-12-04 18:27:37
问题 I'm wanted find more information regarding this. I intend to make an app right now with iCloud core data store. And i wish to share that with another app (different bundle Identifier) is it possible? Obviously, i shall include the iCloud capabilities in another app as well ,but with the AppIDs and all, it seems questionable. Another question if I may, I am planning to use iCloud sync for CoreData and a plist File. From what I know, usually apps take one of the approach, but I needed to sync