Open poml88 opened 2 months ago
When I use this extension:
extension SecureDefaults {
static let sgroup = SecureDefaults(suiteName: stringSValue(forKey: "APP_GROUP_ID"))!
static func stringSValue(forKey key: String) -> String {
guard let value = Bundle.main.object(forInfoDictionaryKey: key) as? String else {
fatalError("Invalid value or undefined key")
}
return value
}
}
it does work.
Hi, if I use this code in Xcode 15
I get quite some errors about optionals: