Search results for

“Account Locked”

32,729 results found

Post

Replies

Boosts

Views

Activity

How to detect Device Lock and Unlock events in iOS application extension ?
Hey guys,My iOS application has an extension that detects device Unlock and Lock event. I found 2 separate API to detect. Both of them work great.But my code is rejected twice by Apple Review Team. The following reason was to reject our binary.From AppleGuideline 2.5.1 - Performance - Software RequirementsYour app uses or references the following non-public APIs:com.apple.springboard.lockcompletecom.apple.springboard.lockstate1. First solution to detect device lock and unlock-----------------------------------Code Starts here-----------------------------------#import <notify.h> int notify_token; notify_register_dispatch(com.apple.springboard.lockstate, ¬ify_token, dispatch_get_main_queue(), ^(int token) { uint64_t state = UINT64_MAX; notify_get_state(token, &state); if(state == 0) { self->lastActiveDate = [NSDate date]; self->deviceCurrentState = _DEVICE_LOCK_STATE_UNLOCKED; } else { self->deviceCurrentState = _DEVICE_LOCK_STATE_LOCKED; } } );------------------------------
Topic: UI Frameworks SubTopic: AppKit Tags:
4
0
7.6k
Aug ’18
setting up macOS service accounts?
I found this Apple document on what is an account and the different types in macOS: https://support.apple.com/guide/server/intro-to-accounts-apdcb06a828/mac but there is nothing about service accounts (typically locked accounts not possible to login with it used by system services such as databases). Is there a way to set up a service account in macOS? Or alternatively a way to configure up a user account in macOS that has the same characteristics as a service account found in Linux (like for example, /usr/sbin/nologin is used, see https://unix.stackexchange.com/questions/314725/what-is-the-difference-between-user-and-service-account). Thank you!
1
0
2.3k
Oct ’21
Lock Screen Password Reset Impossible Since Sonoma
Posting this here in hopes someone at Apple will be made aware. Since Sonoma, the Old Password field was removed from the Reset Password UI. Apparently, this made it impossible to reset a password from the lock screen even when the password meets the requirements. Since there was no other option but to forcefully reboot, the Reset Password UI on the login screen was even less intuitive. Enter password, prompted to reset password, specify new password (same password attempted from Lock Screen Rest Password UI), Reset Password button grayed out. Hmm. Where do I enter my old password that I just entered to trigger the Reset Password UI? Oh, the Enter Password field. We've had two users resort to resetting their password with the FileVault recovery key due to this Reset Password UI change. If anyone else has in an environment with MacOS Sonoma devices managed by MDM, would be interested to know if the same behavior occurs.
2
0
1.2k
Oct ’23
Pointer lock Request doesn't honored by system
I have an app which uses mouse to interact in side the app , i want to lock pointer to prevent it from overlap with system gesture on iphone se 2020 like if pointer reach up right corner it grabs notification window i used method like here in WWDC2020 https://developer.apple.com/videos/play/wwdc2020/10617?time=461 with view controller and called func which should change pointer state from viewDidLoad func import UIKit class ViewController: UIViewController { var pointerLocked :Bool = true override var prefersPointerLocked: Bool { return pointerLocked } override func viewDidLoad() { super.viewDidLoad() changePointerState(newState: false) } func changePointerState(newState:Bool) { pointerLocked=true self.setNeedsUpdateOfPrefersPointerLocked() } }
1
0
778
Aug ’21
Reply to could not sign in
First confirm that you are entering your ID and password correctly by logging in at https://www.icloud.comThen contact Apple Support to get them to check that your AppleID account is not locked or has somehow reverted.Start here: https://www.apple.com/support/ipad/contact/Click Contact Support at the bottom of the page.Click Apple ID & PasswordClick Apple ID has been disabled for security reasonsChoose how you'd like to speak to themMax.
Sep ’15
How to draw emojis like the Lock Screen customisation?
On iOS you can create a new Lock Screen that contains a bunch of emoji, and they'll get put on the screen in a repeating pattern, like this: When you have two or more emoji they're placed in alternating patterns, like this: How do I write something like that? I need to handle up to three emoji, and I need the canvas as large as the device's screen, and it needs to be saved as an image. Thanks! (I've already written an emojiToImage() extension on String, but it just plonks one massive emoji in the middle of an image, so I'm doing something wrong there.)
1
0
639
Nov ’24
Programatically lock screen in macOS Big Sur
I'm developing a background agent program for macOS that locks users out of their session and forces them to re-authenticate if certain security conditions are violated. Previously, I used 'CGSession -suspend' to do this, but it no longer works in Big Sur. One recommendation I've seen is to create a macro that uses the default keyboard shortcut (ie 'CTRL+CMD+Q'), however this obviously won't work if the user has configured their shortcuts differently; the same goes for other methods that require certain user preferences to be set (eg run 'pmset displaysleepnow' after setting preferences to require password immediately after sleep or screensaver). I'm looking for something that's more authoritative/dependable than that, eg an API of some sort. Does such a thing exist?
0
0
700
Jun ’21
Reply to Membership Says Identity Issue. I've already paid $99 under individual license & Still it says Enrollment Pending
This issue has probably arisen because you applied for a Apple Developer program from a country different to the nationanlity of your Apple ID and bank/credit card. Instead of activating your Developer account, the system locked everything because it considers your situation as a potential bank fraud.So you're right, you need to get in touch with the Developer Account Support team if you want to try to get things moving - phone numbers for different countires are here:https://developer.apple.com/contact/phone.phpYou can also contact them via Web Message here:https://developer.apple.com/contact/submit.phpGood luck-Max
Sep ’15
[AVSampleBufferDisplayLayer enqueueSampleBuffer:] crash when locking the screen
I use VTDecompressionSessionDecodeFrame to decode nalu and render pixelbuffer by AVSampleBufferDisplayLayer. Crash happened twice when I lock the screen which is rendering pixelbuffer. Did anyone ever suffer from this and solve it? Great thanks for help!crash log:Date/Time: 2016-07-07 10:55:42.515 +0800 Launch Time: 2016-07-07 10:39:13.926 +0800 OS Version: iOS 8.4 (12H143) Report Version: 105 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000001f9c1beb8 Triggered by Thread: 23 Thread 23 Crashed: 0 libobjc.A.dylib 0x0000000194e6fbd0 objc_msgSend + 16 1 AVFoundation 0x0000000181a4aa94 - [AVSampleBufferDisplayLayer dealloc] + 444 2 QuartzCore 0x0000000187537c50 CA::Layer::free_transaction(CA::Transaction*) + 180 3 QuartzCore 0x0000000187533c58 CA::Transaction::commit() + 656 4 MediaToolbox 0x000000018572055c FigLayerSynchronizerSynchronizeToMoment + 1480 5 MediaToolbox 0x0000000185917870 videoQueueRemote_SynchronizeLayerToMoment + 68 6 MediaToolbox 0x00000001856
0
0
2.7k
Jul ’16
CallKit - No Audio on Incoming Calls and locked devices
Our VoIP app uses CallKit and is currently affected by a strange iOS 13 bug on incoming calls when the device is locked. After initializing the AudioSession I get tons of the following error message while trying to access speaker and microphone:[aurioc] 1590: AUIOClient_StartIO failedBefore accessing speaker and microphone I initialize my audiosession in:func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) { ... let session = AVAudioSession.sharedInstance() try? session.setCategory(.playAndRecord, mode: .voiceChat, policy: .default, options: .allowBluetooth) ... }and wait until the folloing function gets called by callkit:func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) { .. }This should ensure that the AudioSession is completely intialized. But it doesn't work, I get no audio and the described error message.All incoming calls are working perfectly on iOS12 or earlier and they also work when the iOS 13 device is unlocked. So this problem only occurs
9
0
6.5k
Jul ’19
System Preferences Locked?
After installing Catalina I can't make any changes in System Preferences toiCloudInternet AccountsNetworkSecurity and Privacywithout getting a There was an error in ____________ preferences messageAnyone else having this issue?
Replies
11
Boosts
0
Views
3.0k
Activity
Jun ’19
How to detect Device Lock and Unlock events in iOS application extension ?
Hey guys,My iOS application has an extension that detects device Unlock and Lock event. I found 2 separate API to detect. Both of them work great.But my code is rejected twice by Apple Review Team. The following reason was to reject our binary.From AppleGuideline 2.5.1 - Performance - Software RequirementsYour app uses or references the following non-public APIs:com.apple.springboard.lockcompletecom.apple.springboard.lockstate1. First solution to detect device lock and unlock-----------------------------------Code Starts here-----------------------------------#import <notify.h> int notify_token; notify_register_dispatch(com.apple.springboard.lockstate, ¬ify_token, dispatch_get_main_queue(), ^(int token) { uint64_t state = UINT64_MAX; notify_get_state(token, &state); if(state == 0) { self->lastActiveDate = [NSDate date]; self->deviceCurrentState = _DEVICE_LOCK_STATE_UNLOCKED; } else { self->deviceCurrentState = _DEVICE_LOCK_STATE_LOCKED; } } );------------------------------
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
4
Boosts
0
Views
7.6k
Activity
Aug ’18
setting up macOS service accounts?
I found this Apple document on what is an account and the different types in macOS: https://support.apple.com/guide/server/intro-to-accounts-apdcb06a828/mac but there is nothing about service accounts (typically locked accounts not possible to login with it used by system services such as databases). Is there a way to set up a service account in macOS? Or alternatively a way to configure up a user account in macOS that has the same characteristics as a service account found in Linux (like for example, /usr/sbin/nologin is used, see https://unix.stackexchange.com/questions/314725/what-is-the-difference-between-user-and-service-account). Thank you!
Replies
1
Boosts
0
Views
2.3k
Activity
Oct ’21
Lock Screen Password Reset Impossible Since Sonoma
Posting this here in hopes someone at Apple will be made aware. Since Sonoma, the Old Password field was removed from the Reset Password UI. Apparently, this made it impossible to reset a password from the lock screen even when the password meets the requirements. Since there was no other option but to forcefully reboot, the Reset Password UI on the login screen was even less intuitive. Enter password, prompted to reset password, specify new password (same password attempted from Lock Screen Rest Password UI), Reset Password button grayed out. Hmm. Where do I enter my old password that I just entered to trigger the Reset Password UI? Oh, the Enter Password field. We've had two users resort to resetting their password with the FileVault recovery key due to this Reset Password UI change. If anyone else has in an environment with MacOS Sonoma devices managed by MDM, would be interested to know if the same behavior occurs.
Replies
2
Boosts
0
Views
1.2k
Activity
Oct ’23
(FIXED) Beta 6: screen lock not respecting configured timeout
Since the last beta update, the phone is requiring a passcode almost immediately after lock. I have Require Passcode configured to 1 hour.If one locks the phone and reopens again, it does not ask. But leaving it a couple minutes locked, it already asks the passcode again.
Replies
4
Boosts
0
Views
690
Activity
Mar ’16
Pointer lock Request doesn't honored by system
I have an app which uses mouse to interact in side the app , i want to lock pointer to prevent it from overlap with system gesture on iphone se 2020 like if pointer reach up right corner it grabs notification window i used method like here in WWDC2020 https://developer.apple.com/videos/play/wwdc2020/10617?time=461 with view controller and called func which should change pointer state from viewDidLoad func import UIKit class ViewController: UIViewController { var pointerLocked :Bool = true override var prefersPointerLocked: Bool { return pointerLocked } override func viewDidLoad() { super.viewDidLoad() changePointerState(newState: false) } func changePointerState(newState:Bool) { pointerLocked=true self.setNeedsUpdateOfPrefersPointerLocked() } }
Replies
1
Boosts
0
Views
778
Activity
Aug ’21
Reply to could not sign in
First confirm that you are entering your ID and password correctly by logging in at https://www.icloud.comThen contact Apple Support to get them to check that your AppleID account is not locked or has somehow reverted.Start here: https://www.apple.com/support/ipad/contact/Click Contact Support at the bottom of the page.Click Apple ID & PasswordClick Apple ID has been disabled for security reasonsChoose how you'd like to speak to themMax.
Replies
Boosts
Views
Activity
Sep ’15
How to draw emojis like the Lock Screen customisation?
On iOS you can create a new Lock Screen that contains a bunch of emoji, and they'll get put on the screen in a repeating pattern, like this: When you have two or more emoji they're placed in alternating patterns, like this: How do I write something like that? I need to handle up to three emoji, and I need the canvas as large as the device's screen, and it needs to be saved as an image. Thanks! (I've already written an emojiToImage() extension on String, but it just plonks one massive emoji in the middle of an image, so I'm doing something wrong there.)
Replies
1
Boosts
0
Views
639
Activity
Nov ’24
Company Bank Account for Individual Developer Account
Hello,I have individual Apple Developer account and I am using an individual bank account for getting payments for 2 years. Now I want to use my company account for getting payments. Can I use it? Best
Replies
1
Boosts
0
Views
1.1k
Activity
Nov ’17
Programatically lock screen in macOS Big Sur
I'm developing a background agent program for macOS that locks users out of their session and forces them to re-authenticate if certain security conditions are violated. Previously, I used 'CGSession -suspend' to do this, but it no longer works in Big Sur. One recommendation I've seen is to create a macro that uses the default keyboard shortcut (ie 'CTRL+CMD+Q'), however this obviously won't work if the user has configured their shortcuts differently; the same goes for other methods that require certain user preferences to be set (eg run 'pmset displaysleepnow' after setting preferences to require password immediately after sleep or screensaver). I'm looking for something that's more authoritative/dependable than that, eg an API of some sort. Does such a thing exist?
Replies
0
Boosts
0
Views
700
Activity
Jun ’21
Reply to Membership Says Identity Issue. I've already paid $99 under individual license & Still it says Enrollment Pending
This issue has probably arisen because you applied for a Apple Developer program from a country different to the nationanlity of your Apple ID and bank/credit card. Instead of activating your Developer account, the system locked everything because it considers your situation as a potential bank fraud.So you're right, you need to get in touch with the Developer Account Support team if you want to try to get things moving - phone numbers for different countires are here:https://developer.apple.com/contact/phone.phpYou can also contact them via Web Message here:https://developer.apple.com/contact/submit.phpGood luck-Max
Replies
Boosts
Views
Activity
Sep ’15
Enterprice Account
Hello i need help to update my developer account to enterprice account how change o how update the my account ?
Replies
1
Boosts
0
Views
99
Activity
Apr ’25
[AVSampleBufferDisplayLayer enqueueSampleBuffer:] crash when locking the screen
I use VTDecompressionSessionDecodeFrame to decode nalu and render pixelbuffer by AVSampleBufferDisplayLayer. Crash happened twice when I lock the screen which is rendering pixelbuffer. Did anyone ever suffer from this and solve it? Great thanks for help!crash log:Date/Time: 2016-07-07 10:55:42.515 +0800 Launch Time: 2016-07-07 10:39:13.926 +0800 OS Version: iOS 8.4 (12H143) Report Version: 105 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000001f9c1beb8 Triggered by Thread: 23 Thread 23 Crashed: 0 libobjc.A.dylib 0x0000000194e6fbd0 objc_msgSend + 16 1 AVFoundation 0x0000000181a4aa94 - [AVSampleBufferDisplayLayer dealloc] + 444 2 QuartzCore 0x0000000187537c50 CA::Layer::free_transaction(CA::Transaction*) + 180 3 QuartzCore 0x0000000187533c58 CA::Transaction::commit() + 656 4 MediaToolbox 0x000000018572055c FigLayerSynchronizerSynchronizeToMoment + 1480 5 MediaToolbox 0x0000000185917870 videoQueueRemote_SynchronizeLayerToMoment + 68 6 MediaToolbox 0x00000001856
Replies
0
Boosts
0
Views
2.7k
Activity
Jul ’16
developer accounts
if you properly link a guardian account to a teenagers account can you use the teenagers account to set up a developer account?
Replies
0
Boosts
0
Views
229
Activity
Jun ’20
CallKit - No Audio on Incoming Calls and locked devices
Our VoIP app uses CallKit and is currently affected by a strange iOS 13 bug on incoming calls when the device is locked. After initializing the AudioSession I get tons of the following error message while trying to access speaker and microphone:[aurioc] 1590: AUIOClient_StartIO failedBefore accessing speaker and microphone I initialize my audiosession in:func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) { ... let session = AVAudioSession.sharedInstance() try? session.setCategory(.playAndRecord, mode: .voiceChat, policy: .default, options: .allowBluetooth) ... }and wait until the folloing function gets called by callkit:func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) { .. }This should ensure that the AudioSession is completely intialized. But it doesn't work, I get no audio and the described error message.All incoming calls are working perfectly on iOS12 or earlier and they also work when the iOS 13 device is unlocked. So this problem only occurs
Replies
9
Boosts
0
Views
6.5k
Activity
Jul ’19