Closed AnthonyMillerSF closed 4 years ago
It may have something to do with this? It looks like the [SFUserAccountManager sharedInstance]
is being called recursively possibly?
https://stackoverflow.com/questions/28596305/dispatch-once-dispatch-once-singleton-freezes-locks-in-objective-c https://stackoverflow.com/questions/19176219/why-am-i-getting-deadlock-with-dispatch-once
This should be fixed by the PR I just created. :)
Fixed here.
Thanks so much for merging in my PR. Any idea on when we will get an 8.0.1
patch version pushed to Cocoapods?
@AnthonyMillerSF We won't be pushing a patch for this. This will be a part of our next release, 8.1.0
. Meanwhile, you can use the dev
branch, or cherry-pick the fix on your fork.
Version of Mobile SDK Used: 8.0.0
Issue found in Native App or Hybrid App: Native App
OS Version: 13.2
Device: iPhone 8 (Simulator)
Steps to reproduce:
UISearchBar
Actual behavior: Unit tests crash with EXC_BAD_INSTRUCTION during a
dispatch_once
in[SFUserAccountManager sharedInstance]
Expected Behavior: Should not crash
Error Log: