Post

Replies

Boosts

Views

Activity

Reply to NSPersistentCloudKitContainer Import failed (incomprehensible archive)
I consistently get a similar incomprehensible archive error after running for a while. have a few radars open on this. so far no response: FB15652576 FB10392936 https://developer.apple.com/forums/thread/766662 https://developer.apple.com/forums/thread/713908 They broke something around the time of the iOS16 RC and it's been broken in every iOS release since. something on the CloudKit server side gets corrupted and fails. the only way to fix it is to reset the container and start again - not possible in production. Has been a show stopper for us. Had to shelve an app until its fixed.
Mar ’25
Reply to Core Data CloudKit stops syncing after incomprehensible archive error
as requested, I've created another feedback issue: FB15652576 on FB10392936, the error message is in the followup comments. here is the error from that issue - also an incomprehensible archive error. on that issue yes I had to lower the CloudKit operation rate to complete the upload - it took a month or 2 - it would be great if there was some mechanism for bulk uploads that bypass the throttles. But throttles shouldn't also corrupt the CloudKit database. not only would it throttle, but it would corrupt the database - the only way to recover was to reset the database and reload the schema and start from scratch- not possible in production. > [error] error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate _importFinishedWithResult:importer:](1306): <PFCloudKitImporter: 0x2815fca80>: Import failed with error: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)} 2022-09-08 14:04:43.136554+1000 Tupperty[1354:139717] [error] error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate recoverFromError:](2165): <NSCloudKitMirroringDelegate: 0x28397c8c0> - Attempting recovery from error: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)}
Nov ’24
Reply to macOS Sequoia SwiftUI crash
I think NSBundle file:///System/Library/PrivateFrameworks/MetalTools.framework/ principal class is nil because all fallbacks have failed is a bug. I get the same warning with iOS18 final but it doesn't crash. I guess they will fix it next release
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to Sudden Drop in CPU Utilization in macOS App After Extended Operation
you are probably having thread contention. they could be blocking each other. it is possible to overwhelm the system with too many threads. sometimes u get better utilisation with less threads. really u only want as many as you have cpu cores running at the same time otherwise they interrupt each other. u can look at the concurrency tool in instruments for some hints.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’23
Reply to ChatGPT constantly hitting daily limit
Do what it says and pay for chatGPT plus or pro
Replies
Boosts
Views
Activity
Sep ’25
Reply to NSPersistentCloudKitContainer - Import failed with error: Error Domain=NSCocoaErrorDomain Code=4864
did you get a solution to this?
Replies
Boosts
Views
Activity
Aug ’25
Reply to Private database: failed to access iCloud data please signin again.
still having this problem. doesnt work with ADS turned off or on, and doesnt work logging in with password or passkey. any one have another solution?
Replies
Boosts
Views
Activity
Aug ’25
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
still happening in iOS18.5
Replies
Boosts
Views
Activity
Jun ’25
Reply to NSPersistentCloudKitContainer Import failed (incomprehensible archive)
I consistently get a similar incomprehensible archive error after running for a while. have a few radars open on this. so far no response: FB15652576 FB10392936 https://developer.apple.com/forums/thread/766662 https://developer.apple.com/forums/thread/713908 They broke something around the time of the iOS16 RC and it's been broken in every iOS release since. something on the CloudKit server side gets corrupted and fails. the only way to fix it is to reset the container and start again - not possible in production. Has been a show stopper for us. Had to shelve an app until its fixed.
Replies
Boosts
Views
Activity
Mar ’25
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
no solution yet. if it happens in dev then you can reset the environment. in prod you are screwed. still happening in iOS18.3.1
Replies
Boosts
Views
Activity
Mar ’25
Reply to Core Data CloudKit stops syncing after incomprehensible archive error
as requested, I've created another feedback issue: FB15652576 on FB10392936, the error message is in the followup comments. here is the error from that issue - also an incomprehensible archive error. on that issue yes I had to lower the CloudKit operation rate to complete the upload - it took a month or 2 - it would be great if there was some mechanism for bulk uploads that bypass the throttles. But throttles shouldn't also corrupt the CloudKit database. not only would it throttle, but it would corrupt the database - the only way to recover was to reset the database and reload the schema and start from scratch- not possible in production. > [error] error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate _importFinishedWithResult:importer:](1306): <PFCloudKitImporter: 0x2815fca80>: Import failed with error: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)} 2022-09-08 14:04:43.136554+1000 Tupperty[1354:139717] [error] error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate recoverFromError:](2165): <NSCloudKitMirroringDelegate: 0x28397c8c0> - Attempting recovery from error: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)}
Replies
Boosts
Views
Activity
Nov ’24
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
still happens in iOS18.0.1
Replies
Boosts
Views
Activity
Oct ’24
Reply to "Failed to execute query" in CloudKit Console
seems to be ok now
Replies
Boosts
Views
Activity
Oct ’24
Reply to macOS Sequoia SwiftUI crash
I think NSBundle file:///System/Library/PrivateFrameworks/MetalTools.framework/ principal class is nil because all fallbacks have failed is a bug. I get the same warning with iOS18 final but it doesn't crash. I guess they will fix it next release
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Ipados 18 Beta 2
this is beta software. downgrade and go back to iOS17
Replies
Boosts
Views
Activity
Jul ’24
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
This still happens in iOS17. anyone know a solution or a workaround? We cant be resetting the environment in production.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Sudden Drop in CPU Utilization in macOS App After Extended Operation
you are probably having thread contention. they could be blocking each other. it is possible to overwhelm the system with too many threads. sometimes u get better utilisation with less threads. really u only want as many as you have cpu cores running at the same time otherwise they interrupt each other. u can look at the concurrency tool in instruments for some hints.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.XXX.XXX) to UUID. This could lead to wrong data usage accounting.
other people having same issue: https://developer.apple.com/forums/thread/737724 and https://developer.apple.com/forums/thread/737724
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS17 & Xcode15 'Failed to convert from bundle ID'
I get same issue.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23