Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by XCSme on Friday July 10, 2020 @10:56AM
(#23792099)
So there is no way to try {} catch {} it, right?
[ Parent
| on HN ]
Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by Sephiroth87 on Friday July 10, 2020 @11:00AM
(#23792156)
Not in this case, as it's not code explicitly called by the client, but automatically loaded on app launch...
Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by saagarjha on Friday July 10, 2020 @12:02PM
(#23792892)
Yes, but 1. it’s hard to inject that as the crash happens very early at launch and 2. Objective-C exceptions of this type are not intended to be caught.
Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by robterrell on Friday July 10, 2020 @12:54PM
(#23793516)
That's not strictly true, and anyway it's different for the app developer versus a library provider. If you're making a 3rd party SDK that can throw, you need to make it can catch those throws.