feat: make appPlist optional (again)
This commit is contained in:
@@ -78,7 +78,10 @@ extension PreviewGenerator {
|
||||
}
|
||||
|
||||
/// Process info stored in `Info.plist`
|
||||
mutating func procAppInfo(_ appPlist: PlistDict, isOSX: Bool) {
|
||||
mutating func procAppInfo(_ appPlist: PlistDict?, isOSX: Bool) {
|
||||
guard let appPlist else {
|
||||
return
|
||||
}
|
||||
let minVersion = appPlist[isOSX ? "LSMinimumSystemVersion" : "MinimumOSVersion"] as? String ?? ""
|
||||
|
||||
let extensionType = (appPlist["NSExtension"] as? PlistDict)?["NSExtensionPointIdentifier"] as? String
|
||||
|
||||
Reference in New Issue
Block a user