From 5994dc5f807a5b94692235d5e1869e36b625f064 Mon Sep 17 00:00:00 2001 From: "Y.Hirano" Date: Fri, 17 Jan 2020 18:53:04 +0900 Subject: [PATCH] Support LicensePlist 2.7.1. See https://github.com/mono0926/LicensePlist/pull/109 --- LicensePlistViewController/LicensePlistParser.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/LicensePlistViewController/LicensePlistParser.swift b/LicensePlistViewController/LicensePlistParser.swift index 79acd6a..1a98414 100644 --- a/LicensePlistViewController/LicensePlistParser.swift +++ b/LicensePlistViewController/LicensePlistParser.swift @@ -45,6 +45,7 @@ internal class LicensePlistParser { return preferenceSpecifiers .compactMap { $0 as? Dictionary } + .filter { $0["Type"] as? String == "PSChildPaneSpecifier" } .map { v -> Item in let title = v["Title"] as? String let file = v["File"] as? String