The iOS SDK installation instructions indicate you should place your initialization code in your App Delegate's application(_:didFinishLaunchingWithOptions:)
method. However, if your application contains Extensions, this method will not be called when running in the context of your Extensions.
In the case of Extensions, you will need to install Bugfender in your Extension's entry point. For example, for a Today Widget, you will need to place it in TodayViewController.initWithCoder()
.
See also