Post

Replies

Boosts

Views

Activity

Widget extension 0xdead10cc crash when accessing Core Data in shared app group
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
1
1
1.4k
Dec ’20
Non-public symbol ___kCFBooleanTrue
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?
0
0
493
Dec ’20