News for hackers. Stuff that matters.
Re:Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinte... by lucasar on Wednesday May 06, 2020 @07:43PM (#23097843)
I am an iOS developer and most likely the problem is related to configuration and basic analytics, not "siphoning" app data.

Offending code :

if (restrictiveParams[eventName][@"is_deprecated_event"]) {

        [deprecatedEventSet addObject:eventName];
}

So, the iOS library does not check for nil, and whatever the server is returning does not have the expected content. Lame.

Re:Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinte... by bryansum on Wednesday May 06, 2020 @09:36PM (#23098684)
Looks like that would've probably been caught if it were written in Swift.
Re:Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinte... by K0nserv on Thursday May 07, 2020 @08:00AM (#23102011)

    if (restrictiveParams[eventName] as! [String: Any])["test"] != nil
In Swift, now hopefully you wouldn't write this code but it's not entirely unlikely too. In fact the above Objective-C snippet is one of the few cases where Objective-C's forgiving `nil` behaviour doesn't save you from a crash.