mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 21:42:03 +01:00
Disable keychain group on simulator
This commit is contained in:
parent
7f7a967d87
commit
0f4fccf1a5
@ -7,7 +7,7 @@ import SwiftUI
|
||||
extension AppAccount {
|
||||
private static var keychain: KeychainSwift {
|
||||
let keychain = KeychainSwift()
|
||||
#if !DEBUG
|
||||
#if !DEBUG && !targetEnvironment(simulator)
|
||||
keychain.accessGroup = AppInfo.keychainGroup
|
||||
#endif
|
||||
return keychain
|
||||
|
@ -34,7 +34,7 @@ public class PushNotificationsService: ObservableObject {
|
||||
|
||||
private var keychain: KeychainSwift {
|
||||
let keychain = KeychainSwift()
|
||||
#if !DEBUG
|
||||
#if !DEBUG && !targetEnvironment(simulator)
|
||||
keychain.accessGroup = AppInfo.keychainGroup
|
||||
#endif
|
||||
return keychain
|
||||
|
Loading…
Reference in New Issue
Block a user