We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 684f27b commit a80646dCopy full SHA for a80646d
DesignToolbox/DesignToolbox/Utils/Bundle+extension.swift
@@ -38,7 +38,7 @@ extension Bundle {
38
#if DEBUG
39
"debug"
40
#else
41
- string(forInfoDictionaryKey: "OUDSBuildType")
+ string(forInfoDictionaryKey: "OUDSBuildType") ?? "NotFound"
42
#endif
43
}
44
@@ -90,7 +90,11 @@ extension Bundle {
90
91
nil
92
93
- URL(string: string(forInfoDictionaryKey: "OUDSSDKChangelog"))
+ if let string = string(forInfoDictionaryKey: "OUDSSDKChangelog") {
94
+ return URL(string: string)
95
+ } else {
96
+ return nil
97
+ }
98
99
100
0 commit comments