I am getting frequent WidgetKit extension crashes with termination reason 0xdead10cc. The widget extension shares the core data database with the main app via a shared app group.
Apparently the extension gets terminated because it is holding onto the sqlite database lock during suspension.
There are several blog posts that suggest these crashes are unavoidable and recommend not sharing core data between app and extension. For some reason the forum will not allow me to link to these posts.
I find it hard to believe that it is impossible to share core data in this manner. Is there any work around? And barring that, when the widget extension crashes, does it restart within a certain amount of time? My widget mostly functions well although occasionally it will not refresh and requires a hard device reboot. I cannot determine if these freezes are due to this crash or another bug.
Crash report example attached.
crash report - https://developer.apple.com/forums/content/attachment/d177953c-c3a2-4523-9406-b69b8284465f
Post
Replies
Boosts
Views
Activity
My app binary is getting rejected for non-public symbol ___kCFBooleanTrue. This occurred after updating the deployment target from 12 to 13 without any significant code changes. Searching my pods I see FBSDKKeychainStore uses
[query setObject:(id)kCFBooleanTrue forKey:[FBSDKDynamicFrameworkLoader loadkSecReturnData]];
and PFKeychainStore has
query[(bridge NSString *)kSecReturnData] = (bridge id)kCFBooleanTrue;
Neither of these lines are new. Any idea why my app is now being rejected?
This is a general question-
When a WidgetKit extension crashes is it ever restarted? When my widgets crash they do not refresh until the device is rebooted.
While debugging my app on simulator for an extended time, Xcode tries to close the project after about 18 hours. This interrupts whatever process is happening in the app. Why does this occur and is it possible to keep the app running on the simulator?
When I place my view inside a scrollview and try to add modifiers, the "add modifier" list is always empty.
If I remove the scrollview, I am able to select modifiers. Is this a bug in Xcode?