mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 16:31:00 +00:00
Disable keychain group on simulator
This commit is contained in:
parent
7f7a967d87
commit
0f4fccf1a5
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue