Search results for

Account Locked

31,801 results found

Post

Replies

Boosts

Views

Activity

SecItemCopyMatching return -25308 when device is locked
We generate key pair and import cert with access flag kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly in our application. We then have notification extension that access shared keychain to retrieve the identity when device is locked. We use SecItemCopyMatching to get all SecIdentity with its attributes as below: let queryDict: [String: Any] = [ kSecClass as String: kSecClassIdentity, kSecReturnAttributes as String: true, kSecReturnRef as String: true, kSecMatchLimit as String: kSecMatchLimitAll ] var oss = SecItemCopyMatching(queryDict as CFDictionary, &attrs) When the code runs on notification extension with locked device, it failed on some devices (not on all devices) with error -25308. The sysdiagnose shows: default securityd 2024-03-14 10:49:13.844996 -0400 129 0x110115 SecDbKeychainItemV7: cannot decrypt metadata key because the keychain is locked (-25308) default securityd 2024-03-14 10:49:13.845036 -0400 129 0x110091 NSExtension[2222]/1#7 LF=0 copy_matching Error Domain=
5
0
1.8k
Mar ’24
When a device is locked, is it possible to hide content in a widget?
Hi! A widget can be shown in a lock screen where Today Extensions are. When a device is locked, is it possible to hide content in such a widget? Or is it possible to replace content in such a widget with a placeholder? In a use case such as a widget shows content that is related to privacy, we would like to hide the content when a device is locked while we would like to show the content when the device is not locked.
2
0
1.4k
Jun ’20
"click the lock to make changes" not working
Since I upgraded from 10.10 to 10.11 Beta (currently on 15A279b), I can't change any system preferences anymore, as the lock does not unlock despite the input of the correct password.If I click on the closes lock symbol, then the text next to it changes from click the lock to make changes to Authenticating and I am asked to input my password. If I input an invalid password and click the Unlock button, the the password input field just vibrates and stays open, like it used too in previous OS X versions. However if I input the correct one, then the password input box closes, showing successful authentication (the console also logs a successful authentication), but the lock symbol stays closed and the text next to it just changes back to click the lock to make changes.Closing open locks works, just opening closed ones does not.With previous OS X versions I would have run a repair permissions in disk utility in case the update somehow set some wrong permission
29
0
14k
Sep ’15
Music won't play when screen locks
Hi, I had my app developed and have found that when the iPhone locks screensaver it stops playing the track and doesn't recognise it has a sound track playing. Is there something my developer needs to put in or is it an IOS security issues? Love any recommendations please.
1
0
493
Jul ’21
SwiftUI Locking View Rotation
Apple needs to support locking a SwiftUI View into a particular orientation like .portrait or .landscape. The work arounds to support this feature are complicated and keep getting deprecated by Apple. You need this feature to support the Camera at least which is another sore topic since it's poorly supported in SwiftUI presently. All that is needed is an orientation var like UIDevice.current.orientation, but excluding .faceUp and .faceDown so it only returns .portrait or .landscape orientations. If the device goes into .faceUp it should just return the previous orientation. Then a View extension like detectOrientation(_ orientation: Binding) to detect the current views orientation so this can be used like : if orientation.isLandscape { //SwiftUI landscape elements } else { //SwiftUI portrait elements } Then another method .lockOrientation(_ orientation:UIDeviceOrienation) Now a SwiftUI can get the current orientation with : .detectionOriention($orientation) And lock a SwiftUI view : .lockOri
1
0
2.7k
Nov ’23
myApp Workspace" is locked for editing
Hello everyone,MacBook 15 end 2013, Sierra 10.12.1, Xcode 8.1(8B62)After a restauration of my app folder from my Time Machine, my project is bloqued, no more change can be make in Xcode.At opening it in Xcode, the following dialog appeared :myApp Workspace is locked for editing and you may not be able to save your change. Do you want to unlock it?I clicked on Unlock button and a next dialog appeared :The file myApp.xcuserdatad could not be unlocket. Unlocking failed for an unknown reason.Then I clicked on the OK button and the first dialog come on screen again and again...Thanks in advance for every suggestion, idea, help !Don
3
0
4.2k
Nov ’16
Activation lock and Apple Business Manager
I have seen that in WWDC24 it is stated from Apple and I have seen examples in the video presentation of how to remove Activation Locks from computers from Apple Business Manager. Well I've tried and so far we can not do that, I need to do something to apply in my organization? there are some release dates?
0
0
544
Jun ’24
Private key is not accessible when device is locked
We have implemented a Notification Service Extension in our app to handle remote notification and access keychain to get certificate and identity to refresh network relay configuration. Using SecItemCopyMatching to get SecIdentityRef works when device is unlocked. Whenever push notification arrives and device is locked, our notification service extension failed to access keychain to get identity reference with error code -25308 errSecInteractionNotAllowed. It looks like keychain is locked when device is locked. Is there a way to make keychain unlocked?
1
0
860
Jan ’24
Phone App Locks Up
Through each beta one problem has remained constant:Phone app freezes/locks up at random times. No pattern to it, purely arbitrary. Closing phone app and reopening has no effect. Does not affect any other apps when this happens, can still use iPhone for all other functions/apps. Have to reboot in order to be able to use it again. Currently using GM, have had this issue since beta 1.
0
0
129
Sep ’16