Search results for

Popping Sound

19,349 results found

Post

Replies

Boosts

Views

Activity

Reply to Can SMAppService Daemon replace SMJobBless for exclusive HID capture from keyboards?
The tricky part here is that, once you start messing around with code running as root, there are multiple TCC databases to contend with, namely the one for your user account and the one for the system as a whole. That complicates matters. Thanks for the insight. I didn't know that! Out of curiosity: would a sudo tccutil reset All com.mycompany.myapp reset the permissions for the app for the root user? So, anyway, lemme clarify your actual setup. It sounds like you’re: Using an IOHIDManager to discover HID devices. That vends you various IOHIDDevice objects. You choose one and call IOHIDDeviceOpen on it. Is that right? I'm doing it a bit differently: Using IOServiceAddMatchingNotification() to look for IOKit services of IOHIDDevice class. Match the properties of the IOKit services/devices I receive in the callback with the properties in the callback. And if it fulfills my criteria, proceed to the next step. Use IORegistryEntryGetRegistryEntryID() to get the registry entry ID for the IOKit service of t
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25
Reply to VoIP Entitlement
Ideally, we would like calls to be delivered even when the app is completely closed or after the device is restarted. As I understand it, this may require obtaining VoIP permissions; otherwise, calls may only work when the app is open or running in the background. That understanding is incorrect. Voip apps do NOT require special authorization in order to function. All any voip app require to functions is including the two UIBackgroundModes: voip-> This allows an app to receive voip pushes through PushKit and use CallKit to report and manage the call interface. audio-> This allows the app to use the audio system in the background. In Xcode, both of these are configured through the Background Modes capability section. That section labels them: Voice over IP -> voip Audio, AirPlay, and Picture in Picture -> audio CallKit has a sample app Speakerbox which fully demonstrates all of this. It works as a standalone calling app by looping audio (to fake call inp
Topic: Code Signing SubTopic: Entitlements Tags:
Aug ’25
Reply to Crash in Swift 6 when using UNUserNotification
@Engineer Thanks for reply. Some more crash info. On simulator (did not test on device at this stage). Here is crash report: Error occurs in #4 notifyMe IBAction @IBAction func notifyMe(_ sender: UIButton) { let center = UNUserNotificationCenter.current() center.delegate = self center.getNotificationSettings(completionHandler: { (settings) in if settings.authorizationStatus == .notDetermined { center.requestAuthorization(options: [.alert, .sound, .badge]) { (granted, error) in DispatchQueue.main.async { if !granted { // Alert user } } } } else if settings.authorizationStatus == .denied { DispatchQueue.main.async { // Alert user } } else if settings.authorizationStatus == .authorized { DispatchQueue.main.async { self.alarmButton.isHidden = self.duree <= 120 } } }) var alertStyle = UIAlertController.Style.alert let alertController = UIAlertController( title: NSLocalizedString(M'avertir, comment: ), message: NSLocalizedString(Attention, comment: ), preferredStyle: alertStyle) var title = NSLocalizedS
Aug ’25
Unexpected AVAudioSession behavior after iOS 18.5 causing audio loss in VoIP calls
After updating to iOS 18.5, we’ve observed that outgoing audio from our app intermittently stops being transmitted during VoIP calls using AVAudioSession configured with .playAndRecord and .voiceChat. The session is set active without errors, and interruptions are handled correctly, yet audio capture suddenly ceases mid-call. This was not observed in earlier iOS versions (≤ 18.4). We’d like to confirm if there have been any recent changes in AVAudioSession, CallKit, or related media handling that could affect audio input behavior during long-running calls. func configureForVoIPCall() throws { try setCategory( .playAndRecord, mode: .voiceChat, options: [.allowBluetooth, .allowBluetoothA2DP, .defaultToSpeaker]) try setActive(true) }
1
0
138
Aug ’25
Reply to Unexpected AVAudioSession behavior after iOS 18.5 causing audio loss in VoIP calls
We’d like to confirm if there have been any recent changes in AVAudioSession, CallKit, or related media handling that could affect audio input behavior during long-running calls. The system is always changing, but I'm not aware of any specific change or issue which matches what you're describing. There is the issue (and workaround) described here, however, that wouldn't happen mid-call. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: Media Technologies SubTopic: Audio Tags:
Aug ’25
SpeechTranscriber extremely slow (14+ seconds) despite proper locale allocation and optimization
Using the official SwiftTranscriptionSampleApp from WWDC 2025, speech transcription takes 14+ seconds from audio input to first result, making it unusable for real-time applications. Environment iOS: 26.0 Beta Xcode: Beta 5 Device: iPhone 16 pro Sample App: Official Apple SwiftTranscriptionSampleApp from WWDC 2025 Configuration Tested Locale: en-US (properly allocated with AssetInventory.allocate(locale:)) and es-ES Setup: All optimizations applied (preheating, high priority, model retention) I started testing in my own app to replace SFSpeech API and include speech detection but after long fights with documentation (this part is quite terrible TBH) I tested the example (https://developer.apple.com/documentation/speech/bringing-advanced-speech-to-text-capabilities-to-your-app) and saw same results. I added some logs to check the specific time: 🎙️ [20:30:41.532] ✅ Analyzer started successfully - ready to receive audio! 🎙️ [20:30:41.532] Listening for transcription results... 🎙️ [20:30:56.3
1
0
144
Aug ’25
Reply to SpeechTranscriber extremely slow (14+ seconds) despite proper locale allocation and optimization
This may be an interaction with Swift's new approachable concurrency feature, which wasn't in play during the development of the sample app. If approachable concurrency is enabled, then the application may not be processing and displaying results in parallel as expected. Instead, it may be doing both on the main actor, and therefore waiting for the entire audio file to finish processing before displaying any results. If so, you can resolve the issue by either turning off approachable concurrency, or by marking certain methods as @concurrent.
Topic: Media Technologies SubTopic: Audio Tags:
Aug ’25
Reply to Can SMAppService Daemon replace SMJobBless for exclusive HID capture from keyboards?
[quote='852554022, felixs, /thread/795686?answerId=852554022#852554022, /profile/felixs'] I wasn't able to use VMs for testing here as I couldn't find a way to make a HID device connected to the host owned by the guest. [/quote] Ah, yeah, that’s a pain. Virtualization framework doesn’t support USB device access, so any VM app based on that is similarly limited. [quote='852554022, felixs, /thread/795686?answerId=852554022#852554022, /profile/felixs'] I also tried resetting TCC for my app [/quote] The tricky part here is that, once you start messing around with code running as root, there are multiple TCC databases to contend with, namely the one for your user account and the one for the system as a whole. That complicates matters. So, anyway, lemme clarify your actual setup. It sounds like you’re: Using an IOHIDManager to discover HID devices. That vends you various IOHIDDevice objects. You choose one and call IOHIDDeviceOpen on it. Is that right? Are you passing in kIOHIDOptionsTypeSeizeDevice? Share
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25
Reply to Will upgrading from XCode 14.2 work on?
I'm a bit unclear on your exact question, so let me try to outline a few things for you in hopes that you'll identify your path forward from this information. I need to upload and push to my mobile, but I can't b/c of the old software. I've moved the files to my wife's newer MacBook, but the app doesn't work. It sounds like your iPhone is running a version of iOS that is newer than iOS 16.2. I'm picking iOS 16.2 there because that was the most recent version of iOS at the time Xcode 14.2 was released, and an older Xcode won't know how to talk to an iOS version that is newer than that. You should be able to take your Xcode project — which includes the Xcode project file, and all for resource code and assets — and open it in a newer versions of Xcode without an issue. I presume the Xcode version on your wife's Mac here is more recent than Xcode 14.2; however, depending on the iOS version of your iPhone, you may need to update that Xcode version even further. We have a table on this support page that ex
Aug ’25
CKShare in iOS 26
I have an app that uses CKShare to allow users to share CloudKit data with other users. With the first build of the iOS 26, I'm seeing a few issues: I'm not able to add myself as a participant anymore when I have the link to a document. Some participants names no longer show up in the app. Looking at the release notes for iOS & iPadOS 26 Beta, there is a CloudKit section with two bullets: CloudKit sharing URLs do not launch third-party apps. (151778655) The request access APIs, such as CKShareRequestAccessOperation, are available in the SDK but are currently nonfunctional. (151878020) It sounds like the first issue is addressed by the first bullet, although the error message makes me wonder if I need to make changes to my iCloud account permissions or something in order to open it. It works fine in iOS 18.5. This is the error I get when I try to open a link to a shared document (I blocked out my email address, which is what was in quotes): As far as the second issue, I am really confused about wh
13
0
221
Aug ’25
Reply to CallKit does not activate audio session with higher probability after upgrading to iOS 18.4.1
Regarding try to setActive(YES) for workaround, this only happens 5 seconds after our app detects Audio Session is not activated call started. That doesn't change my answer. Directly activating the audio session will never be reliable and can disrupt CallKit's own ability to manage your audio session. It happens to not be the cause of the problem you're currently looking at, but it can and will cause problems that look EXACTLY the same. Putting this another way, the problem with using setActive ISN'T that it doesn't work, it's that it can SORT of work in a way that can mask and create other issues, both now and in the future. We agree the major key issue is the SessionID 0x0. I have created a feedback for this issue, and submitted sysdiagnose/console logs in it. However, the issue happened on Apr 4, the sysdiagnose was generated on Apr 7. So we are not sure if it could contain the key data on Apr 4. I'll try and take a look later today; however, I've seen enough already to raise the
Topic: App & System Services SubTopic: General Tags:
Aug ’25
Ios26 CarPlay, not working
I have a Nissan Rogue 2021 and iPhone 14 Pro Max. Carplay was working fine until I decided to update to the new beta program and now my carplay does not seem to want to operate at all. I do the fixes online suggest in rebooting both systems, forgetting entirely and reconnecting. In the process of doing so, I can get the prompts to start with Allow while unlocked? But once selecting that I am unable to actually use the Carplay from the phone. It doesn't even give option to switch to it when I attempt to change audio output.
3
0
240
Jun ’25
Reply to Finder shows warning "Apple could not verify file is free of malware" when setting my app as "Always open with"
[quote='852648022, Etresoft, /thread/795994?answerId=852648022#852648022, /profile/Etresoft'] You were relaying what the end user told you [/quote] I stated the opposite: This is what happens for me. I only wrote that the user brought the issue to my attention. Never use the App Store. That sounds like a very generic statement and I don't see a reason why not. Would you like to elaborate?
Topic: App & System Services SubTopic: General Tags:
Aug ’25
Reply to visionOS: Unable to programmatically close child WindowGroup when parent window closes
Hello @Jir_253, Thanks for your questions. I’d recommend that you start by watching Set the scene with SwiftUI in visionOS from this year’s WWDC. Your “CWindow” sounds similar to the Tools window covered in this talk: WindowGroup(Tools, id: tools) { ToolsView() } .restorationBehavior(.disabled) .defaultLaunchBehavior(.suppressed) Similar to iOS where you cannot quit the application yourself, you cannot dismiss the last window of your application. When a user goes to close the main window when the secondary window is open, you cannot close this secondary window if it’s the only window group that is open in your application. Consider adding an affordance to the secondary window to reopen the main window in this case. There's no supported way for you to create parent/child window relationships with the APIs currently available. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number
Topic: Spatial Computing SubTopic: General Tags:
Aug ’25
Reply to Large title is not visible in iOS 26
I’m experiencing the same issue. When you set the alpha parameter to a semi-transparent value (like 0.5), the title becomes slightly visible. This suggests that the background layer is rendered above the title when prefersLargeTitles is enabled. Sounds like a bug in iOS 26 or Xcode. FB19434429
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’25