Search results for

“Account Locked”

34,376 results found

Post

Replies

Boosts

Views

Activity

Any way to implement a lock in Metal Shader Language?
HI - I'm trying to implement a Barnes-Hut N-Body simulation code in Metal. The code requires construction of a tree. The CUDA implementation uses locks to allow insertion of new nodes into the tree. I've tried using an array of atomic ints in a test case, but this doesn't seem to work: kernel void binning_compute_function( device MyArgument *arg1 [[ buffer(0)]], constant float *ranarr [[ buffer(1) ]], device volatile atomic_int *flagArr [[ buffer(2) ]], device int *bins [[buffer(3)]], uint index [[ thread_position_in_grid ]]) { int expected=0; int ibin = (ranarr[index] * arg1->nbins); for (int i = 0; i < 100000000; i++) { // Lock expected = 0; bool test = !atomic_compare_exchange_weak_explicit(&flagArr[ibin],&expected,1,memory_order_relaxed,memory_order_relaxed); if (test) { bins[ibin] += 1; atomic_store_explicit(&flagArr[ibin], 0, memory_order_relaxed); break; } } } Any other suggestions? The alternative is to use the CPU for this, but seems a shame to miss out on the proc
3
0
1.2k
Jul ’22
Mouse driver locks up MacOS 13.7.6
Every week or so, mouse driver locks up. The LED laser goes out and none of the buttons operate. It's a generic 7 button USB mouse with my USB keyboard still active. I do not know what precipitates the lockup and a system diagnostic request (Sft-Alt-Ctl-Cmd .) does not seem to yield anything useful. > ps -ef|grep -i mouse 501 579 1 0 Mon01PM ?? 0:04.42 /System/Library/ExtensionKit/Extensions/MouseExtension.appex/Contents/MacOS/MouseExtension code-block so the mouse extension was running at the time. With a sudo kill -HUP 579 it did not restart. Also, switching to a different mouse did no good. The mouse driver was behaving like it was deadlocked and I didn't know the correct incantation for restarting it. I power cycle reset the box. SO: you have a mouse driver problem it cannot be just me It behaves like a deadlock, but not knowing how to get a mouse driver dump, I cannot tell what lock(s) its waiting for.
4
0
240
Aug ’25
Adding GitHub account to Xcode Accounts
I am attempting to add my GitHub account to Xcode. However, when I go to add my account, I get the error Your account or token is incorrect. I've changed my GitHub password multiple times and it no matter what, I still get this error. Is there anything else I can do to get this up and running? Thank you!
2
0
2.8k
Jan ’21
Siri can’t place calls while device is locked
Hello, I’m developing a third-party VoIP app called Heyno and trying to support Siri-initiated calls so they behave like WhatsApp / FaceTime, especially from the lock screen. Target behavior From the locked device, the user says: “Hey Siri, call using Heyno” Expected result: • System CallKit audio-call UI appears. • No “continue in ” sheet, no forced unlock or foregrounding. • Our app handles the VoIP leg in the background via CXProviderDelegate. WhatsApp already does this with: “Hey Siri, call on WhatsApp” I’m trying to reproduce that behavior for Heyno using public APIs. I have followed the SiriKit + CallKit VoIP docs but cannot get a clean Siri → CallKit → app flow from the lock screen without either: Being forced into .continueInApp (unlock + foreground), or Hitting CallKit transaction errors when starting the call from the app in response to the intent. Current implementation Intents extension (INStartCallIntentHandling) • resolveContacts(for:with:) normalizes to E.164 and re
0
0
601
Nov ’25
Finder File Previews lock files on SMB shares
I've developed a new Quicklook data-based preview extension for a custom file type that generates an image preview of the file. I previously used a Quick Look generator plug-in but support for it was deprecated and now removed in macOS Sequoia. My app opens files using a open(url.path, O_RDWR | O_NONBLOCK | O_EXLOCK) call. The locking flags are used to prevent other clients from writing the file if it's already open. I discovered that when Finder is showing the “large” file previews (such as when in column or gallery modes) from a SMB share, the open call fails with EWOULDBLOCK as if the file is locked. It does work just fine on local files. Opening with O_SHLOCK also has the issue. Surprisingly it does work just fine for previews that return Plain Text data instead of Image data. Using the lsof command, it seems like the Quicklook process has some kind of lock on the file. This is the output of the lsof command: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE QuickLook 48487 XXXX txt
8
0
838
Dec ’24
RealityView content disappears when selecting Lock In Place on visionOS
Hi, I'm experiencing an issue where all RealityView content disappears when the user selects Lock In Place from the window management menu (long press on close button). Follow Me works correctly and this happens in Testflight builds only not reproducible when I run locally I have reproduced this with a minimal project containing nothing but a simple red cube — no custom anchors, no app state, no dependencies. Steps to Reproduce: Open an ImmersiveSpace. A red cube is placed 1m in front of the user via RealityView. Long press the X button on any floating window Select Lock In Place. The cube disappears immediately. Expected: Cube remains visible after window is locked Actual: Cube disappears. Minimal reproducible code: var body: some View { RealityView { content in let cube = ModelEntity( mesh: .generateBox(size: 0.3), materials: [SimpleMaterial(color: .red, isMetallic: false)] ) cube.setPosition(SIMD3(0, 1.5, -1), relativeTo: nil) content.add(cube) } } } Device: Apple Vision Pro visi
6
0
1.9k
Mar ’26
iOS 10 Lock screen notifications design
Just my 2 cents on the design of the iOS10 lock screen notifications: Yuck!I really hope they revert that design and go back to the current iOS9 style notifiations. Way too bright on a dark wallpaper. Some translucency would resolve the issue, combined with a notification background colour that matches the wallpaper.
8
0
1.3k
Jun ’16
Does itunesconnect still lock out unpublished apps?
It used to be that when you created your App in itunesconnect you had like 90 days or something to submit your app for review or it would lock you out of that name. That was never really that big an issue as I'd just wait to create it until I was ready to publish.Now, however, with TestFlight moving there, I have a conundrum of needing to send builds to my testers, but knowing that I'm well over 90 days away from publishing. Has that lockout been removed now? Is it safe to go ahead and create my app this early?
1
0
262
Feb ’16
LockedCameraCapture Does Not Launch The App from Lock Screen
My implementation of LockedCameraCapture does not launch my app when tapped from locked screen. But when the same widget is in the Control Center, it launches the app successfully. Standard Xcode target template: Lock_Screen_Capture.swift @main struct Lock_Screen_Capture: LockedCameraCaptureExtension { var body: some LockedCameraCaptureExtensionScene { LockedCameraCaptureUIScene { session in Lock_Screen_CaptureViewFinder(session: session) } } } Lock_Screen_CaptureViewFinder.swift: import SwiftUI import UIKit import UniformTypeIdentifiers import LockedCameraCapture struct Lock_Screen_CaptureViewFinder: UIViewControllerRepresentable { let session: LockedCameraCaptureSession var sourceType: UIImagePickerController.SourceType = .camera init(session: LockedCameraCaptureSession) { self.session = session } func makeUIViewController(context: Self.Context) -> UIImagePickerController { let imagePicker = UIImagePickerController() imagePicker.sourceType = sourceType imagePicker.mediaTypes = [UTType.image.iden
1
0
343
Oct ’25
SceneKit crash when simply locking then unlocking device
This crashes every time:Any app that uses a SCNView will crash when the device is locked then unlocked!Steps to Reproduce:-Launch Xcode-File / New / Project / Game / SceneKit (note this template app has no audio)-(objective C or Swift does not matter)-Run the app on your device-Lock then unlock the device-Crash (AVAudioEngineGraph - even though this app has no audio)I have filed a bug.iOS 10.1 does not fix the bug, as the crash still happens in iOS 10.1 beta 3 (14B71) released October 10, 2016Only workaround I have found is to allow background audio (even though no audio is playing!), but in my app I do have audio, and I don't want to allow background audio (otherwise I'd have to manage pausing/unpausing the audio).
5
0
1.7k
Oct ’16
URLSessionDownloadTask fails with error -997 as soon as I lock my device.
I'm getting aError Domain=NSURLErrorDomain Code=-997 Lost connection to background transfer servicewhen I lock my screen after starting a background download process. I'm using Alamofire but I assume this would happen on a regular URLSession as well (because internally Alamofire is using URLSession). The downloads continue to work if I soft close the app but as soon as I lock my device, it start throwing this error.The URLSession is created this way: let config = URLSessionConfiguration.background(withIdentifier: MySession) config.isDiscretionary = true config.sessionSendsLaunchEvents = true config.shouldUseExtendedBackgroundIdleMode = trueI looked at the Console to see if any daemon crashed but couldn't find any. I see three errors right after locking the screen:BKLogEvent: couldn't find CombinedSequence properties Task <>.<48> finished with error - code: -999 Task <>.<48> load failed with error Error Domain=NSURLErrorDomain Code=-997 Lost connection to back
7
0
10k
Mar ’19
Downgrading from Big Sur to Catalina - locked disc (?)
Greetings everyone, A few days ago I downloaded Big Sur to give it a try. As it is still in Beta it is really buggy at some points and I could not work on my art works, that is why I decided to go back to Catalina and wait until Big Sur will release. I used Option+Command+R to get in the recovery mode for Catalina version. I agreed to terms and when I needed to choose a disc - I could not do it because my disc was locked. How do I unlock that disc?
2
0
975
Jul ’20
Any way to implement a lock in Metal Shader Language?
HI - I'm trying to implement a Barnes-Hut N-Body simulation code in Metal. The code requires construction of a tree. The CUDA implementation uses locks to allow insertion of new nodes into the tree. I've tried using an array of atomic ints in a test case, but this doesn't seem to work: kernel void binning_compute_function( device MyArgument *arg1 [[ buffer(0)]], constant float *ranarr [[ buffer(1) ]], device volatile atomic_int *flagArr [[ buffer(2) ]], device int *bins [[buffer(3)]], uint index [[ thread_position_in_grid ]]) { int expected=0; int ibin = (ranarr[index] * arg1->nbins); for (int i = 0; i < 100000000; i++) { // Lock expected = 0; bool test = !atomic_compare_exchange_weak_explicit(&flagArr[ibin],&expected,1,memory_order_relaxed,memory_order_relaxed); if (test) { bins[ibin] += 1; atomic_store_explicit(&flagArr[ibin], 0, memory_order_relaxed); break; } } } Any other suggestions? The alternative is to use the CPU for this, but seems a shame to miss out on the proc
Replies
3
Boosts
0
Views
1.2k
Activity
Jul ’22
Mouse driver locks up MacOS 13.7.6
Every week or so, mouse driver locks up. The LED laser goes out and none of the buttons operate. It's a generic 7 button USB mouse with my USB keyboard still active. I do not know what precipitates the lockup and a system diagnostic request (Sft-Alt-Ctl-Cmd .) does not seem to yield anything useful. > ps -ef|grep -i mouse 501 579 1 0 Mon01PM ?? 0:04.42 /System/Library/ExtensionKit/Extensions/MouseExtension.appex/Contents/MacOS/MouseExtension code-block so the mouse extension was running at the time. With a sudo kill -HUP 579 it did not restart. Also, switching to a different mouse did no good. The mouse driver was behaving like it was deadlocked and I didn't know the correct incantation for restarting it. I power cycle reset the box. SO: you have a mouse driver problem it cannot be just me It behaves like a deadlock, but not knowing how to get a mouse driver dump, I cannot tell what lock(s) its waiting for.
Replies
4
Boosts
0
Views
240
Activity
Aug ’25
iOS 16 Home/Lock Screens disables wallpaper choice
Tried the Home/Lock Screen option in iOS 16; decided it is not for me but now cannot simply choose a new Home and Lock from my photos (or whatever). Anyone know how to restore without a complete iOS reinstall? Thanks
Replies
2
Boosts
0
Views
721
Activity
Jun ’22
Adding GitHub account to Xcode Accounts
I am attempting to add my GitHub account to Xcode. However, when I go to add my account, I get the error Your account or token is incorrect. I've changed my GitHub password multiple times and it no matter what, I still get this error. Is there anything else I can do to get this up and running? Thank you!
Replies
2
Boosts
0
Views
2.8k
Activity
Jan ’21
need file/record locking for master database
I'm establishing a Muti-user database that will be updated by lan based stations as well as many in the field. That means at the least file & record locking. What's the best solution to have this solution through Macs and iPhones ? Is this going to take a Linux server with an SQL database or is there an apple solution ?
Replies
1
Boosts
0
Views
643
Activity
Mar ’21
Siri can’t place calls while device is locked
Hello, I’m developing a third-party VoIP app called Heyno and trying to support Siri-initiated calls so they behave like WhatsApp / FaceTime, especially from the lock screen. Target behavior From the locked device, the user says: “Hey Siri, call using Heyno” Expected result: • System CallKit audio-call UI appears. • No “continue in ” sheet, no forced unlock or foregrounding. • Our app handles the VoIP leg in the background via CXProviderDelegate. WhatsApp already does this with: “Hey Siri, call on WhatsApp” I’m trying to reproduce that behavior for Heyno using public APIs. I have followed the SiriKit + CallKit VoIP docs but cannot get a clean Siri → CallKit → app flow from the lock screen without either: Being forced into .continueInApp (unlock + foreground), or Hitting CallKit transaction errors when starting the call from the app in response to the intent. Current implementation Intents extension (INStartCallIntentHandling) • resolveContacts(for:with:) normalizes to E.164 and re
Replies
0
Boosts
0
Views
601
Activity
Nov ’25
Finder File Previews lock files on SMB shares
I've developed a new Quicklook data-based preview extension for a custom file type that generates an image preview of the file. I previously used a Quick Look generator plug-in but support for it was deprecated and now removed in macOS Sequoia. My app opens files using a open(url.path, O_RDWR | O_NONBLOCK | O_EXLOCK) call. The locking flags are used to prevent other clients from writing the file if it's already open. I discovered that when Finder is showing the “large” file previews (such as when in column or gallery modes) from a SMB share, the open call fails with EWOULDBLOCK as if the file is locked. It does work just fine on local files. Opening with O_SHLOCK also has the issue. Surprisingly it does work just fine for previews that return Plain Text data instead of Image data. Using the lsof command, it seems like the Quicklook process has some kind of lock on the file. This is the output of the lsof command: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE QuickLook 48487 XXXX txt
Replies
8
Boosts
0
Views
838
Activity
Dec ’24
RealityView content disappears when selecting Lock In Place on visionOS
Hi, I'm experiencing an issue where all RealityView content disappears when the user selects Lock In Place from the window management menu (long press on close button). Follow Me works correctly and this happens in Testflight builds only not reproducible when I run locally I have reproduced this with a minimal project containing nothing but a simple red cube — no custom anchors, no app state, no dependencies. Steps to Reproduce: Open an ImmersiveSpace. A red cube is placed 1m in front of the user via RealityView. Long press the X button on any floating window Select Lock In Place. The cube disappears immediately. Expected: Cube remains visible after window is locked Actual: Cube disappears. Minimal reproducible code: var body: some View { RealityView { content in let cube = ModelEntity( mesh: .generateBox(size: 0.3), materials: [SimpleMaterial(color: .red, isMetallic: false)] ) cube.setPosition(SIMD3(0, 1.5, -1), relativeTo: nil) content.add(cube) } } } Device: Apple Vision Pro visi
Replies
6
Boosts
0
Views
1.9k
Activity
Mar ’26
iOS 10 Lock screen notifications design
Just my 2 cents on the design of the iOS10 lock screen notifications: Yuck!I really hope they revert that design and go back to the current iOS9 style notifiations. Way too bright on a dark wallpaper. Some translucency would resolve the issue, combined with a notification background colour that matches the wallpaper.
Replies
8
Boosts
0
Views
1.3k
Activity
Jun ’16
Does itunesconnect still lock out unpublished apps?
It used to be that when you created your App in itunesconnect you had like 90 days or something to submit your app for review or it would lock you out of that name. That was never really that big an issue as I'd just wait to create it until I was ready to publish.Now, however, with TestFlight moving there, I have a conundrum of needing to send builds to my testers, but knowing that I'm well over 90 days away from publishing. Has that lockout been removed now? Is it safe to go ahead and create my app this early?
Replies
1
Boosts
0
Views
262
Activity
Feb ’16
LockedCameraCapture Does Not Launch The App from Lock Screen
My implementation of LockedCameraCapture does not launch my app when tapped from locked screen. But when the same widget is in the Control Center, it launches the app successfully. Standard Xcode target template: Lock_Screen_Capture.swift @main struct Lock_Screen_Capture: LockedCameraCaptureExtension { var body: some LockedCameraCaptureExtensionScene { LockedCameraCaptureUIScene { session in Lock_Screen_CaptureViewFinder(session: session) } } } Lock_Screen_CaptureViewFinder.swift: import SwiftUI import UIKit import UniformTypeIdentifiers import LockedCameraCapture struct Lock_Screen_CaptureViewFinder: UIViewControllerRepresentable { let session: LockedCameraCaptureSession var sourceType: UIImagePickerController.SourceType = .camera init(session: LockedCameraCaptureSession) { self.session = session } func makeUIViewController(context: Self.Context) -> UIImagePickerController { let imagePicker = UIImagePickerController() imagePicker.sourceType = sourceType imagePicker.mediaTypes = [UTType.image.iden
Replies
1
Boosts
0
Views
343
Activity
Oct ’25
iOs 10.3.2 keyboard click and lock sound gone
Anyone else experciencing sound problems with iOS 10.3.2b1 ?No keyboard click and lock sounds anymore on my iPhone 6SMusic plays fine en telephone rings like normal.
Replies
3
Boosts
0
Views
1.6k
Activity
Apr ’17
SceneKit crash when simply locking then unlocking device
This crashes every time:Any app that uses a SCNView will crash when the device is locked then unlocked!Steps to Reproduce:-Launch Xcode-File / New / Project / Game / SceneKit (note this template app has no audio)-(objective C or Swift does not matter)-Run the app on your device-Lock then unlock the device-Crash (AVAudioEngineGraph - even though this app has no audio)I have filed a bug.iOS 10.1 does not fix the bug, as the crash still happens in iOS 10.1 beta 3 (14B71) released October 10, 2016Only workaround I have found is to allow background audio (even though no audio is playing!), but in my app I do have audio, and I don't want to allow background audio (otherwise I'd have to manage pausing/unpausing the audio).
Replies
5
Boosts
0
Views
1.7k
Activity
Oct ’16
URLSessionDownloadTask fails with error -997 as soon as I lock my device.
I'm getting aError Domain=NSURLErrorDomain Code=-997 Lost connection to background transfer servicewhen I lock my screen after starting a background download process. I'm using Alamofire but I assume this would happen on a regular URLSession as well (because internally Alamofire is using URLSession). The downloads continue to work if I soft close the app but as soon as I lock my device, it start throwing this error.The URLSession is created this way: let config = URLSessionConfiguration.background(withIdentifier: MySession) config.isDiscretionary = true config.sessionSendsLaunchEvents = true config.shouldUseExtendedBackgroundIdleMode = trueI looked at the Console to see if any daemon crashed but couldn't find any. I see three errors right after locking the screen:BKLogEvent: couldn't find CombinedSequence properties Task <>.<48> finished with error - code: -999 Task <>.<48> load failed with error Error Domain=NSURLErrorDomain Code=-997 Lost connection to back
Replies
7
Boosts
0
Views
10k
Activity
Mar ’19
Downgrading from Big Sur to Catalina - locked disc (?)
Greetings everyone, A few days ago I downloaded Big Sur to give it a try. As it is still in Beta it is really buggy at some points and I could not work on my art works, that is why I decided to go back to Catalina and wait until Big Sur will release. I used Option+Command+R to get in the recovery mode for Catalina version. I agreed to terms and when I needed to choose a disc - I could not do it because my disc was locked. How do I unlock that disc?
Replies
2
Boosts
0
Views
975
Activity
Jul ’20