Summary: I'm developing an iOS audio app in Flutter that requires background audio playback for long-form content. Despite having a paid Apple Developer Program account, the Background Modes capability does not appear as an option when creating or editing App IDs in the Developer Portal, preventing me from enabling the required com.apple.developer.background-modes entitlement. Technical Details: In the app that I am developing, users expect uninterrupted playback when app is backgrounded or device is locked similar to Audible, Spotify, or other audio apps that continue playing in background The Problem: When building for device testing or App Store submission, Xcode shows: Provisioning profile iOS Team Provisioning Profile: com.xxxxx-vxxx doesn't include the com.apple.developer.background-modes entitlement. However, the Background Modes capability is completely missing from the Developer Portal when creating or editing any App ID. I cannot enable it because the option simply doesn't
Search results for
Popping Sound
19,350 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello @Hernando9563, System spontaneously reboots Based on this description, it sounds like you have a model that can reliably crash a system process. Whenever this happens, you should file a bug report using Feedback Assistant. Optimize your 3D assets for spatial computing has some recommendations on optimizing your assets. 4.2M triangles is well over the recommended max of 500k triangles. -- Greg
Topic:
Graphics & Games
SubTopic:
RealityKit
Tags:
I actually think I figured it out. It seems I need to capture the category before I change it: // Save previous category self.previousCategory = audioSession.category And then set it back before I stop the audio session being active: do { if let category = self.previousCategory { try audioSession.setCategory(category) } try audioSession.setActive(false, options: .notifyOthersOnDeactivation) } catch { print(error) } I no longer get the error that an audio session/object is running.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Hello @zedsaid, The setActive(_:options:) documentation states: Deactivating an audio session with running audio objects stops the objects, makes the session inactive, and returns an AVAudioSessionErrorCodeIsBusy error. AVAudioSessionErrorCodeIsBusy corresponds to the error code you are receiving: AVAudioSessionErrorCodeIsBusy = '!act', // 0x21616374, 560030580 So, it appears that your app has running audio objects when you attempt to deactivate the audio session. -- Greg
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
I need help. Looking for devs who’ve integrated Unity into a native iOS app (Swift/SwiftUI) SwiftUI vs Flutter for Embedding Unity in an iOS App? I’m planning an iOS-first app where users interact with a real-time 3D custom avatar with 52 blendshapes powered by Unity, using SALSA LipSync + Emoter for facial animation. The avatar will respond to voice using Whisper → GPT-4 → ElevenLabs. My plan is to embed Unity only for the avatar screen, and build the rest of the app (chat, voice input, onboarding, etc.) natively? Here’s the decision I’m stuck on: Should I stick with SwiftUI, since it gives full access to iOS-native features like ARKit, audio routing, and StoreKit? I only plan to develop for iOS. Has anyone here integrated Unity with Flutter for mobile app successfully? Any pitfalls or major limitations I should know about before going that route? I haven’t started development yet — just want to make sure I choose the right foundation for performance, flexibility, and long-term growth. Any experienc
Topic:
Community
SubTopic:
Apple Developers
Tags:
Swift Packages
Community Management
ARKit
Apple Unity Plug-Ins
A Summary of the WWDC25 Group Lab - Accessibility At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Accessibility. Accessibility Nutrition Labels are a really big step forward for the experience people have on the App Store to find apps that will work for them. How should developers get started with Accessibility Nutrition Labels? A good starting point is to review the Accessibility Nutrition Label evaluation criteria on App Store Connect Help. It's a concise document, roughly 10 pages, and you can approach it section by section after the introduction. Even with prior experience using accessibility features like VoiceOver, the criteria offer valuable insights that might not be immediately apparent. For those newer to a
Did you specify a sound file in the JSON payload as explained in the documentation Create the JSON payload?
Topic:
App & System Services
SubTopic:
Notifications
Tags:
I'm repeatedly hitting an issue when deploying Xcode Cloud builds to macOS from TestFlight. Once the build appears in TestFlight I hit the Install or Update button in TestFlight and after a couple of seconds of spinning-wheel the button goes back to it's original state and the app fails to install. There's no error pop-up but I've noticed an Error Domain=ASDErrorDomain Code=710 Invalid hash '***' expected 'yyy' error in console each time it happens. My project needs to deploy 2 different macOS/Catalyst apps (actually they are 2 different targets in the same project) and it seems completely random as to which will actually successfully install on which machine. For my last build, one of the 2 binaries was failing to install on a Mac Studio on 15.5, but the other was fine. All were fine on 3 other machines I tried. For my latest build, both binaries are fine on the Mac Studio but both now fail to install on an M2 Air on macOS 26 beta 2. I'm now extremely nervous about deploying to my TestFlight beta gr
My push notifications on Ios devices come through but only silently while all settings are on order. On Android sounds are on. Anyway knows how to fix this on Apple's side?
I have the same question. WWDC Sessions and the HIG mention moving your controls when the window control appears. It's great that this happens automatically when using a standard NavigationStack and standard toolbar, however for apps that are unable to use standard UI elements, the documentation currently makes it sound like there is some way to get this sizing programmatically. Filed FB18559686 Screenshot of the issue: Sample code to make this happen: import SwiftUI struct ContentView: View { var body: some View { VStack(spacing: 0) { HStack { // Trying to make this button respect window controls safe area Button(action: { }, label: { Image(systemName: xmark) }) .padding() .foregroundStyle(.primary) .glassEffect() Spacer() } .padding() .background(.fill.quaternary) Rectangle() .foregroundStyle(.fill.quinary) } } } #Preview { ContentView() }
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
another short-term solution: Create this no-net-changes build with Xcode 16 and just special case the OS version. Unfortunately that may not meet the OP’s requirement to report an accurate version for troubleshooting, since it sounds like the compatibility version will be stuck at 19.0 forever. So a compatibility-mode app can only infer it’s running on 26.0 or later but not determine the actual version. But hopefully that’s sufficient for the OP since it doesn’t sound like this drives any core app functionality.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
(Note: this is part 1 of a 3 part posting. See Part 2 or Part 3) At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Camera & Photos. WWDC25 Camera & Photos group lab ran for one hour at 6 PM PST on Tuesday June 10th, 2025 Introductory kick-off questions Question 1 Tell us a little about the new AVFoundation Capture APIs we've made available in the new iOS 26 developer preview? Cinematic Capture API (strong/weak focus, tracking focus)(scene monitoring)(simulated aperture)(dog/cat heads/groupIDs) Camera Controls and AirPod Stem Clicks Spatial Audio and Studio Quality AirPod Mics in Camera Lens Smudge Detection Exposure and Focus Rect of Interest Question 2 I built QR code scanning into my app, but on newe
We are really excited to have introduced the Foundation Models framework in WWDC25. When using the framework, you might have feedback about how it can better fit your use cases. Starting in macOS/iOS 26 Beta 4, the best way to provide feedback is to use #Playground in Xcode. To do so: In Xcode, create a playground using #Playground. Fore more information, see Running code snippets using the playground macro. Reproduce the issue by setting up a session and generating a response with your prompt. In the canvas on the right, click the thumbs-up icon to the right of the response. Follow the instructions on the pop-up window and submit your feedback by clicking Share with Apple. Another way to provide your feedback is to file a feedback report with relevant details. Specific to the Foundation Models framework, it’s super important to add the following information in your report: Language model feedback This feedback contains the session transcript, including the instructions, the prompts, the responses, e
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Thank you again for the thoughtful response. This is the high-level solution I've ended up with. On the whole, I think this all sounds reasonable. Throwing out a few potential tweaks/details: Search is required for in-app use only; system-wide search is not. If system-wide search would be a nice-to-have, then I suspect you could pull out the important parts (meaning, the details a user might actually search for system-wide) of your app-level indexer and use that to implement CSImportExtension. When a document's URL changes, it updates the domainIdentifier of its searchable items. When you're dealing with long-term file references, you need to think bookmarks, NOT URLs. That's partly because of security scope, but it's mostly because, in practice, file paths have one of the characteristic patterns that is FABULOUS at creating bugs. That is: On any given system, file locations and general configuration are stable enough that the fully path to any given location tends to not change very often. In real-w
Topic:
App & System Services
SubTopic:
General
Tags:
Hello. My app uses AVAudioRecorder to generate recording files, which are consistently only 4kb in size. Most users generate audio files normally, with only a few users experiencing this phenomenon occasionally. After uninstalling and installing the app, it will work normally, but it will reappear after a period of time. I have compared that the problematic audio files generated each time are fixed and cannot be played. Added the audioRecorderDidFinishRecording proxy method, which shows that the recording was completed normally. The user also reported that the recording is normal, but there is a problem with the generated file. How should I handle this issue? Look forward to your reply. - (void)startRecordWithOrderID:(NSString *)orderID { AVAudioSession *audioSession = [AVAudioSession sharedInstance]; [audioSession setCategory:AVAudioSessionCategoryRecord error:nil]; [audioSession setActive:YES error:nil]; NSMutableDictionary *settings = [[NSMutableDictionary alloc] init]; [settings setObjec