         }
 
         if #available(iOS 9.0, *), let shortcutItem = launchOptions?[UIApplicationLaunchOptionsShortcutItemKey] as? UIApplicationShortcutItem {
-            handle(viewController, shortcutItem: shortcutItem)
+            handle(actionHandler, shortcutItem: shortcutItem)
         }
     }
 

    }

    @available(iOS 9.0, *)
    public func handle(viewController: UIViewController?, shortcutItem: UIApplicationShortcutItem) -> Bool {
        return handle(viewController, shortcut: shortcutItem.toShortcut)
    }

    public func handle(viewController: UIViewController?, shortcut: Shortcut) -> Bool {
        guard let viewController = viewController as? QuickActionSupport else { return false }
        if #available(iOS 9.0, *) {
            // FIXME: Can't use `shortcutType`: Segmentation fault: 11
            //let shortcutType = T.init(type: shortcut.type)


    private let bundleIdentifier: String

    public init(_ application: UIApplication, actionHandler: QuickActionSupport?, bundleIdentifier: String, shortcuts: [Shortcut], launchOptions: NSDictionary? = nil) {
        self.bundleIdentifier = bundleIdentifier

        if #available(iOS 9.0, *) {
