Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot to any CRUD operations in CloudKit #1

Open
BraveEvidence opened this issue Nov 29, 2024 · 0 comments
Open

Cannot to any CRUD operations in CloudKit #1

BraveEvidence opened this issue Nov 29, 2024 · 0 comments

Comments

@BraveEvidence
Copy link

I am following your tutorial , so In SyncEngine, I changed it to private let container: CKContainer = CKContainer(identifier: "iCloud.com.codingwithnobody.mycloudkittyfour"),

In my xcode I did all of this

Screenshot 2024-11-29 at 4 54 51 PM Screenshot 2024-11-29 at 4 54 58 PM

Here are the logs when I try to create a new quote in my app

Store has 1 quotes
☁️ Initializing sync engine.
Could not validate account info cache. (This is a potential performance issue.)
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <WillFetchChanges context=<FetchChangesContext reason=scheduled options=<FetchChangesOptions scope=all group=CKSyncEngine-FetchChanges-Automatic)>>>
<CKSyncEngine 0x105a1ec90> error saving subscriptions: <CKError 0x600000c979c0: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = 27F64D148DB6EB41; uuid = 401FEB38-09A3-4917-9A04-CEB492353341; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <DidFetchChanges context=<FetchChangesContext reason=scheduled options=<FetchChangesOptions scope=all group=CKSyncEngine-FetchChanges-Automatic)>>>
<CKSyncEngine 0x105a1ec90> error fetching changes with context <FetchChangesContext reason=scheduled options=<FetchChangesOptions scope=all group=CKSyncEngine-FetchChanges-Automatic)>>: <CKError 0x600000c979c0: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = 27F64D148DB6EB41; uuid = 401FEB38-09A3-4917-9A04-CEB492353341; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <WillSendChanges context=<SendChangesContext reason=scheduled options=<SendChangesOptions scope=all group=CKSyncEngine-SendChanges-Automatic>>>
<CKSyncEngine 0x105a1ec90> error saving subscriptions: <CKError 0x600000c92fd0: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = BB94A1C88318B13D; uuid = E874AEE9-DEEF-4117-B947-2C5923373385; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <DidSendChanges context=<SendChangesContext reason=scheduled options=<SendChangesOptions scope=all group=CKSyncEngine-SendChanges-Automatic>>>
<CKSyncEngine 0x105a1ec90> failed sending changes for context <SendChangesContext reason=scheduled options=<SendChangesOptions scope=all group=CKSyncEngine-SendChanges-Automatic>>: <CKError 0x600000c92fd0: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = BB94A1C88318B13D; uuid = E874AEE9-DEEF-4117-B947-2C5923373385; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ Queuing changes to the sync state.
☁️ sync engine event came in, processing...
☁️ Caching sync token.
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <WillFetchChanges context=<FetchChangesContext reason=scheduled options=<FetchChangesOptions scope=all group=CKSyncEngine-FetchChanges-Automatic)>>>
<CKSyncEngine 0x105a1ec90> error saving subscriptions: <CKError 0x600000d19200: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = DD184530FDC44FE7; uuid = 01D5CDA4-EE25-4021-BFC8-065E714FDD50; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <DidFetchChanges context=<FetchChangesContext reason=scheduled options=<FetchChangesOptions scope=all group=CKSyncEngine-FetchChanges-Automatic)>>>
<CKSyncEngine 0x105a1ec90> error fetching changes with context <FetchChangesContext reason=scheduled options=<FetchChangesOptions scope=all group=CKSyncEngine-FetchChanges-Automatic)>>: <CKError 0x600000d19200: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = DD184530FDC44FE7; uuid = 01D5CDA4-EE25-4021-BFC8-065E714FDD50; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <WillSendChanges context=<SendChangesContext reason=scheduled options=<SendChangesOptions scope=all group=CKSyncEngine-SendChanges-Automatic>>>
<CKSyncEngine 0x105a1ec90> error saving subscriptions: <CKError 0x600000cf0ba0: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = C7E0E2606BE9BDE6; uuid = A38F5BE9-8A85-49B9-B7CA-7133FF4C84D6; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">
☁️ sync engine event came in, processing...
☁️ Purposely unhandled event came in - <DidSendChanges context=<SendChangesContext reason=scheduled options=<SendChangesOptions scope=all group=CKSyncEngine-SendChanges-Automatic>>>
<CKSyncEngine 0x105a1ec90> failed sending changes for context <SendChangesContext reason=scheduled options=<SendChangesOptions scope=all group=CKSyncEngine-SendChanges-Automatic>>: <CKError 0x600000cf0ba0: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; op = C7E0E2606BE9BDE6; uuid = A38F5BE9-8A85-49B9-B7CA-7133FF4C84D6; container ID = "iCloud.com.codingwithnobody.mycloudkittyfour">

Can you please help in understanding what I am doing wrong, I am able to see my container on iCloud.developer but I cannot see my Record or Zone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant