icloud

iCloud dashboard: Cannot deploy CloudKit schema to Production

不问归期 提交于 2020-07-19 05:05:46
问题 I have a released app with an existing production schema. I made changes to the development schema and now I want to deploy to production. After clicking Deploy Schema to Production... , the popup dialog says There was a problem loading the environment's status . js console shows the server responded with an HTTP 500. I tried a lot of times this morning and has been the same each time. Has anyone seen this before? 回答1: Tried again and it is now working. Guessing Apple fixed on their end. 来源:

iCloud dashboard: Cannot deploy CloudKit schema to Production

做~自己de王妃 提交于 2020-07-19 05:05:34
问题 I have a released app with an existing production schema. I made changes to the development schema and now I want to deploy to production. After clicking Deploy Schema to Production... , the popup dialog says There was a problem loading the environment's status . js console shows the server responded with an HTTP 500. I tried a lot of times this morning and has been the same each time. Has anyone seen this before? 回答1: Tried again and it is now working. Guessing Apple fixed on their end. 来源:

Issue with optional Core Data relationship using NSPersistentCloudKitContainer

拥有回忆 提交于 2020-06-26 12:23:48
问题 I am using NSPersistentCloudKitContainer, not sure if that's the cause of my issue or CloudKit generic behaviour. The sync setup works fine so far. I am now adding a new feature, causing some an issue: I have an entity Item, which can be put in a Group. Relation in CD is to-one and optional. Works fine on device: I can set and remove group, everything is persisted. But CloudKit just ignores when I remove the group. It does not complain, just ignores it. No matter if remove happens from Item,

What's happened to the default iCloud container in Xcode

老子叫甜甜 提交于 2020-06-25 02:30:12
问题 This screen shot from the WWDC 2019 video 202 shows what the iCloud capability configuration in Xcode should look like: The problem is that it doesn't. In the current version of Xcode 11 (11.1 and later) I no longer see "Use default container", and I can't get a container for this app to magically create itself. All I see is a list of custom containers. How is this supposed to work? Is there no such thing as a default container any more? Am I supposed to make a container manually? 回答1: That's

CloudKit: Fetch all records with a certain record type?

你。 提交于 2020-05-09 22:52:41
问题 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] initWithRecordType:@"Strings" recordID:recordID]; [record setObject:[NSArray arrayWithObjects:@"one", @"two", @"three", @"four", nil] forKey:@"stringArray"]; [_privateDatabase saveRecord:record completionHandler:nil]; However, now I would like to be able to

Github repo cloned to synced iCloud drive on multiple computers

大兔子大兔子 提交于 2020-04-10 03:24:22
问题 I have a couple of Macs onto which I clone a fair number of git (mostly GitHub) repos. The Macs each have a number of iCloud drive synced directories (in fact I've gone all-in and am syncing Desktop and Documents ). I have tried to clone into the iCloud-synced directories. However, I have been having lots of problems with this. It seems very easy to get into a condition where iCloud (not git) gets so confused that one machine effectively stops syncing, even files that have nothing to do with

Github repo cloned to synced iCloud drive on multiple computers

天涯浪子 提交于 2020-04-10 03:24:07
问题 I have a couple of Macs onto which I clone a fair number of git (mostly GitHub) repos. The Macs each have a number of iCloud drive synced directories (in fact I've gone all-in and am syncing Desktop and Documents ). I have tried to clone into the iCloud-synced directories. However, I have been having lots of problems with this. It seems very easy to get into a condition where iCloud (not git) gets so confused that one machine effectively stops syncing, even files that have nothing to do with

iCloud数据存储

孤街醉人 提交于 2020-03-30 12:09:28
苹果为iCloud设计两种存储类型: 1>iCloud key-value data 存储:键值数据存储 2>iCloud Document 存储:文档存储。 iCloud键值数据存储,以一种键值对的方式存储简单类型数据,这些类型包括:数字、日期、数组、字典等类型。数据结构是plist类型,每个应用只能存储64KB数据。它没有像文档存储那样有一套数据冲突解决方案,新的数据会覆盖旧的数据。因此,它经常会用来存储系统设置、使用偏好以及应用的状态。 iCloud文档存储可以保存用户文档和用户通过应用创建的数据。文档的类型没有限制,可以是文本文件、二进制文件。存储空间也没有限制,只与用户的可用iCloud服务空间有关。在文档冲突方面iCloud提供一套API帮助解决这些问题。 来源: https://www.cnblogs.com/yaoxc/p/3719438.html

CGImage from images stored on iCloud look wrong

浪子不回头ぞ 提交于 2020-03-04 07:02:42
问题 I'm extracting pixel colors from a CGImage using the code described in this answer. However, I just realized that if I load an image that was created on another device, the pixels values look wrong. The first obvious problem is that the alpha is gone. The CGImageAlphaInfo reports .noneSkipLast , but I know the image is RGBA. If I read it from the same device it was created, it looks fine. The second problem is that there is some color bleeding, as if the image had been resized. Perhaps is

CGImage from images stored on iCloud look wrong

冷暖自知 提交于 2020-03-04 07:02:18
问题 I'm extracting pixel colors from a CGImage using the code described in this answer. However, I just realized that if I load an image that was created on another device, the pixels values look wrong. The first obvious problem is that the alpha is gone. The CGImageAlphaInfo reports .noneSkipLast , but I know the image is RGBA. If I read it from the same device it was created, it looks fine. The second problem is that there is some color bleeding, as if the image had been resized. Perhaps is