I think I had the same issue before. Recently, when I updated my Xcode to 14.3, my iOS app crashed right at the launch time.
I posted my question to StackOverflow. With some developer hints and advice, I finally got the issue found and the problem resolved.
See my post question at SO:
iOS app crashes built by Xcode 14.3: Cannot manually set the delegate on a UINavigationBar
Post
Replies
Boosts
Views
Activity
Finally, I found a solution to resolve the issue. I think this may be a bug in UIKit. At least in my case, the visible cells can be unselected, but the unselection programmatically does present an issue.
I wrote a blog to discuss the issue in detail, and I put my solution at the end.
https://davidchuprogramming.blogspot.com/2022/09/unselect-cell-in-tableview-if-cell-is.html
I got an answer about the issue. See https://stackoverflow.com/questions/73428885/a-problem-with-plural-localization-in-swift
I got the issue resolved by using WKScriptMessageHandler. I wrote a blog about this: Building a Bridge Between Swift and JS:
https://davidchuprogramming.blogspot.com/2022/08/build-bridge-between-swift-and-js.html
I was told that I can ignore the error message. I have uploaded to TestFlight, my testers can open view controller with WKWebView and no any crash.
I have the same issue in my debug console (error message: "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit"). It seems I have to add the entitlement to my project. How to do it in Xcode? Appreciate any help.
By the way, for data not changed after migration, will they be eventually updated to cloud, even not right away?
Your explanation does make sense and gives me clear direction. Thanks!
I'll give it a try.