Post

Replies

Boosts

Views

Activity

CloudKit - Problems with template application
G'day everyone, I've had some problems with CoreData+CloudKit, and figured I would go back to basics and start from scratch with a new project. (Note: I'm using the Xcode 13.0 Beta with iOS 15 to try to use sharing on NSPersistentCloudKitContainer as discussed in WWDC2021, but these problems are scattered over the net without any answers to date) When I go through the motions of adding iCloud to the project, assign a new (unique) container and then build the app, two problems arise: the simulator comes back with a blank screen (without the Edit or add controls from the boilerplate). Even the preview pane seems broken (no "Add Item" button). This worked in Xcode 12, so I am assuming there is something that's come up as a bug here. More importantly, I get a swath of errors and warnings in the debug console related to CloudKit. It looks like there is some sort of identity problem here. There is no schema generated as yet in the CloudKit dashboard, so I am guessing that the migration errors are happening because the database hasn't yet established because of the identify problem. Does anyone have any insight into what I'm missing here? Thanks.
7
0
2.6k
Mar ’22
Trouble with WWDC21 sample code for CloudKit
Hey all, I've just taken Xcode 13 Beta 2, and I still can't get the sample code from the "Sharing-Data" code to work properly, and nor does the boilerplate code from creating a new project that incorporates CodeData and CloudKit work. Fo far my feedback items have not been identified as having other similar issues - based on the posts I'm seeing I'm not the only one experiencing the same problem. Has anyone got this code built and working yet? Mine breaks when you try to copy the sharing link.
4
0
1.6k
Jan ’22
Hiding the SideBar when presenting a NavigationLink
I've been digging through the apple docs for a way to open a View from a NavigationLink where the SideBar is collapsed by default. Everything I've tried leaves the side bar visible (but collapsible by pressing the sidebar button). I would like the default behaviour to be that the SideBar is not visible. Does anyone have any suggestions on how to achieve this? Thanks, Andrew
3
0
1.7k
Nov ’21
I can't find cktool... can anyone help?
Hi hive mind, I have Xcode Beta 4 and I've been trying to use the "cktool" development tool for command line interaction with CloudKit, but for whatever reason when I follow the video from WWDC21-10118, xcrun cannot find cktool. HAs anyone managed to run the tool as yet? I am assuming not, because there are no questions about cktool in the forum as far as I can tell. Or.... it just works and I'm doing something dumb. Either way some assistance would be great, especially from our friends in Apple.
3
0
1.6k
Jul ’21
Xcode 13 Beta 3 failing to setup iCloud container (provisioning profile)
I've been trying to get CloudKit sharing working on the beta without success so far and Beta 3 has offered a new problemL When I try to create a new project with CoreData and iCloud enabled, and then go to add the iCloud capability to the project, I get three errors in the provisioning step: "There is no iCloud container on this team" "Provisioning profile doesn't support the iCloud Container Provisioning profile doesn't match the entitlements file's value for the com.apple.developer.icloud-container-identifiers entitlement. Does anyone have any idea what's going wrong here?
2
0
2.9k
Jul ’21
CloudKit - Problems with template application
G'day everyone, I've had some problems with CoreData+CloudKit, and figured I would go back to basics and start from scratch with a new project. (Note: I'm using the Xcode 13.0 Beta with iOS 15 to try to use sharing on NSPersistentCloudKitContainer as discussed in WWDC2021, but these problems are scattered over the net without any answers to date) When I go through the motions of adding iCloud to the project, assign a new (unique) container and then build the app, two problems arise: the simulator comes back with a blank screen (without the Edit or add controls from the boilerplate). Even the preview pane seems broken (no "Add Item" button). This worked in Xcode 12, so I am assuming there is something that's come up as a bug here. More importantly, I get a swath of errors and warnings in the debug console related to CloudKit. It looks like there is some sort of identity problem here. There is no schema generated as yet in the CloudKit dashboard, so I am guessing that the migration errors are happening because the database hasn't yet established because of the identify problem. Does anyone have any insight into what I'm missing here? Thanks.
Replies
7
Boosts
0
Views
2.6k
Activity
Mar ’22
Trouble with WWDC21 sample code for CloudKit
Hey all, I've just taken Xcode 13 Beta 2, and I still can't get the sample code from the "Sharing-Data" code to work properly, and nor does the boilerplate code from creating a new project that incorporates CodeData and CloudKit work. Fo far my feedback items have not been identified as having other similar issues - based on the posts I'm seeing I'm not the only one experiencing the same problem. Has anyone got this code built and working yet? Mine breaks when you try to copy the sharing link.
Replies
4
Boosts
0
Views
1.6k
Activity
Jan ’22
Hiding the SideBar when presenting a NavigationLink
I've been digging through the apple docs for a way to open a View from a NavigationLink where the SideBar is collapsed by default. Everything I've tried leaves the side bar visible (but collapsible by pressing the sidebar button). I would like the default behaviour to be that the SideBar is not visible. Does anyone have any suggestions on how to achieve this? Thanks, Andrew
Replies
3
Boosts
0
Views
1.7k
Activity
Nov ’21
I can't find cktool... can anyone help?
Hi hive mind, I have Xcode Beta 4 and I've been trying to use the "cktool" development tool for command line interaction with CloudKit, but for whatever reason when I follow the video from WWDC21-10118, xcrun cannot find cktool. HAs anyone managed to run the tool as yet? I am assuming not, because there are no questions about cktool in the forum as far as I can tell. Or.... it just works and I'm doing something dumb. Either way some assistance would be great, especially from our friends in Apple.
Replies
3
Boosts
0
Views
1.6k
Activity
Jul ’21
Xcode 13 Beta 3 failing to setup iCloud container (provisioning profile)
I've been trying to get CloudKit sharing working on the beta without success so far and Beta 3 has offered a new problemL When I try to create a new project with CoreData and iCloud enabled, and then go to add the iCloud capability to the project, I get three errors in the provisioning step: "There is no iCloud container on this team" "Provisioning profile doesn't support the iCloud Container Provisioning profile doesn't match the entitlements file's value for the com.apple.developer.icloud-container-identifiers entitlement. Does anyone have any idea what's going wrong here?
Replies
2
Boosts
0
Views
2.9k
Activity
Jul ’21