Post not yet marked as solved
I'm facing the exact same issue. Tons of messages like yours. Initial sync of a dataset containing ~10.000 records (and ~100MB on disk) takes 15 minutes while the CPU hits over 100%. Honostly, it makes me reconsidering the choice to use CloudKit as the cloud-backed datastore. I talked with several engineers from Apple, both during WWDC as well as DTS, but didn't got anything useful. Hoping this thread is going to be a push in the right direction.
Post not yet marked as solved
I've just managed to make my app work correctly again using the following code. It uses deprecated functions (as of 10.9) so I don't expect those functions to disappear soon. Not ideal, but at least it does not result in a weird user experience.
(OSStatus)makeApplicationFront:(NSRunningApplication*)application
{
if(!application || application.processIdentifier == -1) {
return procNotFound; // Previous front most application is nil or does not have a process identifier.
}
ProcessSerialNumber process;
OSStatus error = GetProcessForPID(application.processIdentifier, &process); // Deprecated, but replacement (NSRunningApplication:activateWithOptions:] does not work properly on Big Sur.
if(error) {
return error; // Process could not be obtained. Evaluate error (e.g. using osstatus.com) to understand why.
}
return SetFrontProcessWithOptions(&process, kSetFrontProcessFrontWindowOnly); // Deprecated, but replacement (NSRunningApplication:activateWithOptions:] does not work properly on Big Sur.
}
Hope it also helps you.
Post not yet marked as solved
Unfortunately my experience hasn't been that great with reporting feedback. I have another pending issue that clearly is a bug, also confirmed by others, that still hasn't been resolved. It would be better to find a workaround but I'm also failing in finding one...
Post not yet marked as solved
I am experiencing the same issue.
Post not yet marked as solved
Same here:
URL error 35: OpenSSL SSLconnect: SSLERROR_SYSCALL in connection to buy.itunes.apple.com:443
Weirdly enough, after a day, I started receiving content. All good now.
Decided to simply implement it and submit it to the App Store. They have accepted it without asking questions so apparently it is allowed. Important to mention is that I have not included the payment mechanism in the app. It asks for a license code that will be validated using my own service. This service also handles the payment via a web page.Hope it helps others.