Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps suddenly started crashing, crashlytics velocity alert on +[FBSDKEventDeactivationManager updateDeactivatedEvents:] #1431

Closed
0x61726b opened this issue Jul 10, 2020 · 175 comments

Comments

@0x61726b
Copy link

Firebase Crashlytics started to send velocity alerts on ( at the moment ) 4 of our apps, around 10 minutes ago

Podfile:

pod 'FBSDKCoreKit', '~> 6.2'
  pod 'FBSDKGamingServicesKit', '~> 6.2'
  pod 'FBSDKLoginKit', '~> 6.2'
  pod 'FBSDKShareKit', '~> 6.2'
Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x182a2e364 __exceptionPreprocess
1  libobjc.A.dylib                0x181c74528 objc_exception_throw
2  CoreFoundation                 0x182a3b828 __methodDescriptionForSelector
3  CoreFoundation                 0x182a33d10 ___forwarding___
4  CoreFoundation                 0x182918ecc _CF_forwarding_prep_0
5  REDACTED                    0x102e3c784 +[FBSDKEventDeactivationManager updateDeactivatedEvents:] + 64 (FBSDKEventDeactivationManager.m:64)
6  REDACTED                    0x102e66208 +[FBSDKServerConfigurationManager processLoadRequestResponse:error:appID:] + 259 (FBSDKServerConfigurationManager.m:259)
7  REDACTED                    0x102e4a35c __69+[FBSDKGraphRequestPiggybackManager addServerConfigurationPiggyback:]_block_invoke + 155 (FBSDKGraphRequestPiggybackManager.m:155)
8  REDACTED                    0x102e48bd8 -[FBSDKGraphRequestMetadata invokeCompletionHandlerForConnection:withResults:error:] + 41 (FBSDKGraphRequestMetadata.m:41)
9  REDACTED                    0x102e464b0 __82-[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:]_block_invoke + 806 (FBSDKGraphRequestConnection.m:806)
10 REDACTED                    0x102e463a4 -[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:] + 839 (FBSDKGraphRequestConnection.m:839)
11 REDACTED                    0x102e45fb4 __64-[FBSDKGraphRequestConnection completeWithResults:networkError:]_block_invoke + 788 (FBSDKGraphRequestConnection.m:788)
12 CoreFoundation                 0x182907828 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:]
13 REDACTED                    0x102e45d78 -[FBSDKGraphRequestConnection completeWithResults:networkError:] + 767 (FBSDKGraphRequestConnection.m:767)
14 REDACTED                    0x102e45234 -[FBSDKGraphRequestConnection completeFBSDKURLSessionWithResponse:data:networkError:] + 634 (FBSDKGraphRequestConnection.m:634)
15 REDACTED                    0x102e43408 __36-[FBSDKGraphRequestConnection start]_block_invoke_3 + 242 (FBSDKGraphRequestConnection.m:242)
16 libdispatch.dylib              0x1823aaa54 _dispatch_call_block_and_release
17 libdispatch.dylib              0x1823aaa14 _dispatch_client_callout
18 libdispatch.dylib              0x1823b7698 _dispatch_main_queue_callback_4CF$VARIANT$mp
19 CoreFoundation                 0x1829d6544 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
20 CoreFoundation                 0x1829d4120 __CFRunLoopRun
21 CoreFoundation                 0x1828f3e58 CFRunLoopRunSpecific
22 GraphicsServices               0x1847a0f84 GSEventRunModal
23 UIKit                          0x18bf7367c UIApplicationMain
24 REDACTED                    0x102c9a570 main + 41 (main.mm:41)
25 libdyld.dylib                  0x18241056c start
@crazymanish
Copy link

+1

@crazymanish
Copy link

Our AppStore build is crashing on application launch 😱

@manucodin
Copy link

+1

@MrShamp
Copy link

MrShamp commented Jul 10, 2020

Duplicate of #1430

@JasonFebWind
Copy link

+1

@vladambartsumyan
Copy link

Same here
pod 'FBSDKCoreKit', '5.5.0'
pod 'FBSDKShareKit', '5.5.0'
pod 'FBSDKLoginKit', '5.5.0'

@PavloNovak
Copy link

+1

3 similar comments
@cjheinze
Copy link

+1

@chsasaw
Copy link

chsasaw commented Jul 10, 2020

+1

@failynsedik
Copy link

+1

@soloscott
Copy link

+1 😖

@Neil20170220
Copy link

+1

3 similar comments
@zhihanhe
Copy link

+1

@ivowu
Copy link

ivowu commented Jul 10, 2020

+1

@racer1988
Copy link

+1

@JasonFebWind
Copy link

what are u doin Facebook.......

@jolyot
Copy link

jolyot commented Jul 10, 2020

+1

@crazymanish
Copy link

Tweet to FB, let's hope they are listening 😱

https://twitter.com/manish_rathi_/status/1281541264425484289?s=20

@hendych
Copy link

hendych commented Jul 10, 2020

+1

2 similar comments
@emreond
Copy link

emreond commented Jul 10, 2020

+1

@kohemon
Copy link

kohemon commented Jul 10, 2020

+1

@zukilover
Copy link

you can simply thumb up the first post instead of spam posting with +1s.

@deniskirillov
Copy link

+1 😭

@bhupendratrivedi
Copy link

+1 Happening second time within 2 months. Please fix it.

@crazymanish
Copy link

+1 to spam more

@narlei
Copy link

narlei commented Jul 10, 2020

+1

3 similar comments
@markotron
Copy link

+1

@danielgard
Copy link

+1

@maxis1718
Copy link

+1

@crazymanish
Copy link

I will say keep doing +1 until someone says we are working on it :p so one more +1 from my end

@gameinsighter
Copy link

Still crashing...

@dmamira
Copy link

dmamira commented Jul 10, 2020

on iOS 14 Public Beta 2, it seems to be working fine.

@manniL
Copy link

manniL commented Jul 10, 2020

seems to be fixed now, the FB bug report is here:
developers.facebook.com/support/bugs/329763701368293

And the status on it:
developers.facebook.com/status/issues/1739188102911114

yup, working again!

@gustavoteodoro
Copy link

I will say keep doing +1 until someone says we are working on it :p so one more +1 from my end

Please, open a PR fixing it or thumbs up the post and wait for a fix. Spam with +1s will not fix it faster.

@artemshevch
Copy link

use android)

@Terens777
Copy link

@artemshevch
image

@thienphuoc
Copy link

@@ This is the serious bug. Could the facebook team help us resolve this issue ?

image

@conorot
Copy link

conorot commented Jul 10, 2020

Here's a permanent fix:

1. Open Xcode
2. Select your project
3. Look at the top middle
4. Select Swift Package Manager menu
5. Find Facebook Package - remove

@pouyakary
Copy link

This is ironic 🙂

@thienphuoc
Copy link

crash all apps integrated facebook sdk such as Tinder, PUBG ,Tiktok....
https://9to5mac.com/2020/07/10/app-crash-facebook-sdk/

@pingwinator
Copy link
Contributor

so many crashes that Firebase Crashlytics can't process all of then
I have 503 error

@BrentMifsud
Copy link

Best solution:

Remove the Facebook SDK, use their auth API to perform the Facebook login instead.

unless you use Facebook for other analytics.

@DanBurkhardt
Copy link

DanBurkhardt commented Jul 10, 2020

You all know Facebook is doing some new shady business under the hood, like how they got their dev certs revoked last year by Apple for abusing the enterprise program and spying on kids.

You all should be cautious of what methods they are swizzilng, you can’t trust Zucc!

@pradipaub36
Copy link

It seems like they have fixed the issue
https://developers.facebook.com/status/issues/1739188102911114/

@BorisMolch
Copy link

"We identified the issue quickly and resolved it. "

@pradipaub36
Copy link

Best solution:

Remove the Facebook SDK, use their auth API to perform the Facebook login instead.

unless you use Facebook for other analytics.

Will Facebook allow using web API for login instead of their SDKs?

@pradipaub36
Copy link

"We identified the issue quickly and resolved it. "

Do we require to update the SDK for that?

@BrentMifsud
Copy link

Best solution:

Remove the Facebook SDK, use their auth API to perform the Facebook login instead.

unless you use Facebook for other analytics.

Will Facebook allow using web API for login instead of their SDKs?

Their API Is meant for web browser login but you could theoretically do it with a WKWebView.

@joesus
Copy link
Contributor

joesus commented Jul 10, 2020

Duplicate of #1427

@joesus joesus marked this as a duplicate of #1427 Jul 10, 2020
@joesus joesus closed this as completed Jul 10, 2020
@pradipaub36
Copy link

pradipaub36 commented Jul 10, 2020

Do I need to update the SDK to the latest version to resolve this issue? the current SDK version is 7.0.0

@Rockson
Copy link

Rockson commented Jul 10, 2020

ppl really complaining about an open source project? How toxic is the ios community

@DanBurkhardt
Copy link

ppl really complaining about an open source project? How toxic is the ios community

Damn.. if you think that was toxic, just wait until you find out what Facebook did to our democracy.

@josephlord
Copy link

For Facebook login there are instructions on doing it Framework free here:
https://dev.to/marinbenc/implementing-facebook-login-on-ios-without-facebook-sdk-3k05

I also implemented this at the weekend to make a near drop replacement for login only:
https://github.com/josephlord/FMZDropInMinimalFacebookLogin

@ethanhuang13
Copy link

@josephlord I've done a similar thing the last time. I should remind that this violates FB's Platform Policy.

https://gist.github.com/ethanhuang13/70c27ea9b5eb53199bc67c3bc9d47b7b

@artud2000
Copy link

The fix on my end was

[FBSDKSettings setAutoLogAppEventsEnabled:NO];

@narlei
Copy link

narlei commented Jul 24, 2020

For me, the best solution was create Framework wrappers and control it by feature flag.

This article talks about:
https://narlei.com/development/stay-safe-using-third-party-sdks-in-swift/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests