-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Why is the SDK Crashing at runtime after upgrading to v11? (Solution Included) #1763
Comments
But what about the app extension? In extension there's no AppDelegate and therefore I'm not able to pass anything to ApplicationDelegate.shared.application and therefore the extension keeps crashing on v11. |
We are reintroducing the ability to initialize the SDK without an AppDelegate #1793 As far as extensions go, this was never explicitly supported and will require some effort to come up with a good way to support this. It's not entirely unlikely, based on how Xcode 13 handles NS_EXTENSION_UNAVAILABLE with regard to Swift Package Manager, that the SDK will break in extensions for other modes of building in the future. See: #1811 |
|
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
Goals
Upgrade to v11 and run the application without a crash.
Expected Results
What do you expect to happen?
Actual Results
SDK crashes:
Steps to Reproduce
Call a method or access or set a property before calling
application:didFinishLaunchingWithOptions:
.Solution:
The text was updated successfully, but these errors were encountered: