Search results for

Popping Sound

19,354 results found

Post

Replies

Boosts

Views

Activity

Best Practice for Keychain Storage for a C++ Plugin in a Host App (Maya)?
Hi everyone, I'm developing a C++ plugin (.bundle) for a third-party host application (Autodesk Maya) on macOS, and I'm finalizing the design for our licensing system. The plugin is distributed outside the Mac App Store. My goal is to securely store a license key in the user's Keychain. After some research, my proposed implementation is as follows: On activation, store the license data in the user's login keychain as a Generic Password (kSecClassGenericPassword) using the SecItem APIs. To ensure the plugin can access the item when loaded by Maya, I will use a specific Keychain Access Group (e.g., MY_TEAM_ID.com.mywebsite). The final .bundle will be code-signed with our company's Developer ID certificate. The signature will include an entitlements file (.entitlements) that specifies the matching keychain-access-groups permission. My understanding is that this combination of a unique Keychain Access Group and a properly signed/entitled bundle is the key to getting reliable Keychain access. This should also corr
1
0
115
Jun ’25
Xcode 26: can’t get past the agreement acceptance pop-up
I had this happen last year too. Can’t remember how I solved the issue. I think I just had to wait and the 3rd beta opened properly. I went into terminal and accepted the Xcode agreement there, but still no go. I'm considering reinstalling MacOS because it doesn't seem like others are having this issue. Any ideas? I double click on the Xcode beta, the agreement screen pops up. I click on agree and I either double click my watch button or type in my password and then nothing. The pop-up doesn't disappear and Xcode never opens. I'm on MacOS Sequoia 15.5.
4
0
141
Jun ’25
Best Practice for Confirming Siri Shortcuts Availability Before Prompting User Interaction
I'm developing an iOS app that uses Siri Shortcuts to enhance the user experience. Currently, I have implemented functionality that allows users to perform certain actions via Siri Shortcuts. My team wants to improve the user experience by giving an instructional audio prompt (e.g., say 'hey Siri [action name]' if you want to [perform action]) to users. However, we want to ensure this prompt is only played when the user has already enabled Siri Shortcuts. The challenge is determining whether Siri Shortcuts are properly enabled before suggesting their use. We want to avoid situations where users follow our audio instructions to use Siri, only to discover that Siri Shortcuts aren't properly configured on their device. Since we're using Siri Shortcuts for this feature, the standard requestSiriAuthorization(_:) method doesn't apply to our use case(It said You don’t need to request authorization if your app only supports actions in the Shortcuts app. in https://developer.apple.com/documentation/s
6
0
121
Jun ’25
Essentials of macOS to read and write mp3 and mp4 audio files
Hi, On macOS I used to open MP3 and MP4 files with ExtAudioFile. For a few years it doesn't work anymore. So I decided to try different macOS API using the AudioFileID of AudioToolbox framework. I decided to write a test: https://gist.github.com/joelkraehemann/7f5b241b52ca38c3a765c138fb647588 It fails right here: AudioFileOpenWithCallbacks() By telling OSStatus error 1954115647, which means kAudioFileUnsupportedFileTypeError. The filename was set to an MP4 file: ~/Music/test.mp4 Howto fix this? regards, Joël
1
0
107
Jun ’25
Reply to Creating codesigned AppleScript apps
I generally recommend that folks do this stuff using Xcode, and that’s true even if you’re not building your final app using Xcode. Xcode’s automatic code signing is by far the best way to get things up and running, and once you have that working you can literally use the same code-signing identity in Script Editor. My specific advice would be to do something like this: In Xcode > Settings > Account, add your developer account. Create a new project from one of the built-in templates. Configure it for automatic signing and then choose Product > Archive. In the Xcode organiser, select the archive, click Distribute App, and then follow the path for your expected distribution process. It sounds like you’re planning to distribute this app directly, rather than on the Mac App Store. That likely means that you’ll need Developer ID signing identities for both the app and the installer. Developer ID signing identities are precious, so I have a whole spiel about how best to manage them. See The Care a
Jun ’25
Purchase Confirmation Letter
Hi all, I've received emails from other apps after making a purchase, with content like: You have purchased {App Name} on {Date & Time} and acknowledged that if you download or use this in-App Purchase within fourteen days of buying it, you will no longer be eligible to cancel this purchase. Do anyone know under what circumstances Apple sends a Purchase Confirmation Letter to the user's email after they purchase our digital products via IAP? Is this something developers can control? Additionally, I've seen pop-up reminders before making a payment in apps, with content similar to the above message. Are these reminders provided by Apple, or can developers create their own guidance to help users avoid accidental purchases? Kindly, Vanto
1
0
53
Jun ’25
ShazamKit Background Operation Broken on iOS 18 - SHManagedSession Stops Working After ~20 Seconds
Your draft looks great! Here's a refined version with the iOS 17 comparison emphasized and slightly better flow: Hi Apple Engineers and fellow developers, I'm experiencing a critical regression with ShazamKit's background operation on iOS 18. ShazamKit's SHManagedSession stops identifying songs in the background after approximately 20 seconds on iOS 18, while the exact same code works perfectly on iOS 17. The behavior is consistent: the app works perfectly in the foreground, but when backgrounded or device is locked, it initially works for about 20 seconds then stops identifying new songs. The microphone indicator remains active suggesting audio access is maintained, but ShazamKit doesn't send identified songs in the background until you open the app again. Detection immediately resumes when bringing the app to foreground. My technical setup uses SHManagedSession for continuous matching with background modes properly configured in Info.plist including audio mode, and Background App Refresh e
0
0
102
Jun ’25
Reply to Issue: Closing Bounded Volume Never Re-Opens
I'm not working with Unity, but it sounds like a similar issue we have with native windows and volumes. visionOS will open the last opened scene † You may want to check with Unity support to see if they have bridged the APIs needed to manage scene state. If you have access to the Swift file that creates each window and volume, or the views at their root level, then you may be able to work with APIs like ScenePhase to monitor the status of scene scene type. I do this in one of my apps. The main content is in a volume, with a small utility window for editing. If the volumes gets closed, the utility window can notice the change and offer a means to reopen the volume. Read about scene phase: https://developer.apple.com/documentation/swiftui/scenephase Basic example of using scene phase to track the state of two windows: https://stepinto.vision/example-code/how-to-use-scene-phase-to-track-and-manage-window-state/ † scene in this case means Windows, Volumes, and Spaces, not 3D scene graphs
Topic: Spatial Computing SubTopic: General Tags:
Jun ’25
Reply to Real-time audio application on locked device
When it comes to networking in the background on iOS, the key factor is not whether the device is locked but rather the state of your process. If your process gets suspended, your network connections either tear or go unresponsive. As long as your process is running, all standard networking APIs work just fine. So your question is equivalent to “How do I prevent my app from being suspended?” and there’s no single answer to that question. In general, iOS apps get suspended shortly after they move to the background. However, there are exceptions. I talk about this in some detail in iOS Background Execution Limits. If your app is playing or recording audio, it’s possible to start an audio session in the foreground and that will keep you app from being suspended while the audio session is active. This is a standard use case for background execution, designed to facilitate apps like music players and voice recorders. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ A
Jun ’25
RealityKit VideoMaterial renders pink on iOS 18
our app is live, and it appears that since the ios 18 update - the VideoMaterial renders pink / purple color instead of the video (picture attached). the audio is rendered properly. we found that it occurs on old devices: iPhone 11 & iPhone SE 2020. I've found this thread of Andy Jazz on stackoverflow: Steps to Reproduce: Create a plane for the video screen. Apply a VideoMaterial using AVPlayerItem. Anchor the model entity to an ARImageAnchor. Expected Outcome: The video should play as a material on the plane in RealityKit. Actual Outcome: On iOS 18, the plane appears pink, indicating the VideoMaterial isn’t applied. What I’ve Tried: -Verified the video URL is correct. -Checked that the AVPlayerItem and VideoMaterial are initialised correctly. -Ensured the AVPlayer is playing the video. I also tried different formats (mov / mp4 / m4v), and verifying that the video's status is readyToPlay. any suggestions?
1
0
163
Jun ’25
Real-time audio application on locked device
I would like to inquire about the feasibility of developing an iOS application with the following requirements: The app must support real-time audio communication based on UDP. It needs to maintain a TCP signaling connection, even when the device is locked. The app will run only on selected devices within a controlled (closed) environment, such as company-managed iPads or iPhones. Could you please clarify the following: Is it technically possible to maintain an active TCP connection when the device is locked? What are the current iOS restrictions or limitations for background execution, particularly related to networking and audio? Are there any recommended APIs or frameworks (such as VoIP, PushKit, or Background Modes) suitable for this type of application?
1
0
98
Jun ’25
Background communication of Apple Watch
I am currently developing an app for the Apple Watch. In RTPController.swift, I handle the sending, receiving, and playback of audio, and the specific processes are as follows: Overview of the current implementation: Audio processing: Audio processing is performed by setting the AVAudioSession to the playAndRecord category and voiceChat mode within RTPController, and by activating the AVAudioEngine. Audio reception: RTP packets (audio data) are received over the network within the setupConnection() method of RTPController. Audio playback: The received audio data is passed to the playSound(data:) method and played back through the AVAudioEngine and AVAudioPlayerNode. Xcode Capabilities settings: Signing & Capabilities Background Modes: Audio, AirPlay, and Picture in Picture Voice over IP Workout processing Privacy descriptions in Info.plist: Privacy - Health Share Usage Description Privacy - Health Update Usage Description Privacy
1
0
99
Jun ’25
Reply to Split tunnel w/o changing route table
Hi Quinn, Thank you for the reply that clarifies my 'hallucination'. I know the whole thing sounds a little bit strange. However, on linux (ubuntu), we have ip rule which is independent of route table; on windows, we have 'Windows Filter Platform' -- to be honest I haven't looked into it yet, but it supposedly can filter packets and redirect them into different TUN interface without changing the route table. If macOS have two of everything (I know it doesn't know xD), how could it not have a way to determine package routing manually? Do we have any alternative at all? For example, configure anchor in pf.conf. I'm also a little bit curious about other VPN's split tunneling function. Do they not exist/not work on macOS at all?
Jun ’25
Incorrect Branding and Messaging Displayed on "Call Customer Center" Feature
We’ve identified an issue in our app where, upon clicking the Call Customer Center button, users are unexpectedly shown a logo and message option on a native pop-up window. However, this wasn't the case before, and it should only display a phone number to dial, which was given inside our code. This is incorrect and misleading for our users, as: We are a Canadian-based service and have no affiliation with US messaging chat. The messaging feature was never enabled or intended for our app. Our app should only initiate a phone call to our customer support center — no messages or branding from third parties should appear
0
0
95
Jun ’25