2 Replies
      Latest reply on Jun 17, 2019 2:11 PM by gumbright
      gumbright Level 1 Level 1 (0 points)

        Trying to set up a test app using NSPersistentCloudKitContainer.

        Once I got the container set up, got error that attributes must be Optional or provide a default value, which makes sense.  Problem is I have one Entity that has a Binary Data field.  The field has been marked as Optional.

        However, the DataModelCompile build step complains that "Photo.image must have a default value" Also get a "CloudKit Integration" error along the same lines: "Photo.image must have a default value".


        But there is no way to define a default value for a Binary Data attribute, so don't see a way to fulfill this.

        Anybody got a clue or do you think its just something I should Radar?