This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

Firebase Notification Fails to Dismiss Voip CallKit UI in Background & Terminated Mode
Hi everyone, I am developing a VoIP calling feature in my Flutter app, using: Agora RTC Engine for real-time calls. CallKit & PushKit (VoIP notifications) for iOS call handling. Firebase Cloud Messaging (FCM) for notifications. Problem: CallKit UI Stays on Screen When Caller Hangs Up (Background/Terminated) I am using Firebase notifications to notify the receiver that the call should be dismissed, but it doesn’t work in the following cases: App is in the background – CallKit UI remains stuck even after receiving the Firebase notification. App is terminated – The Firebase notification does not trigger any background execution, so CallKit UI stays forever. Current Implementation I send an FCM notification to inform the receiver to dismiss CallKit UI. When received in the foreground, it works fine (callEnded method is triggered). But in background or terminated state, the notification is not received or doesn’t execute the code.
1
0
384
Feb ’25
Enrollment Delay – Waiting 2.5 Months with No Update
Hello, I’m reaching out here because I have exhausted all other support channels without success. I submitted an enrollment request for the Apple Developer Program on March 3, 2025 (Enrollment ID: 3CJFXN3AA3), and it’s now been over 2.5 months with no resolution. All required documents have been submitted, confirmed received by Apple Support, and multiple follow-ups have been made (Case #102541675488). Each time, I’m told that the case is still under review, but I haven’t received any clear update or timeline. Is there anything else I can do to move this process forward? Is there a better way to escalate or contact someone who can help finalize the review? Any advice or help from the community or Apple team would be greatly appreciated. Thank you, Daniyar
0
0
66
May ’25
Unable to select the desired build in App Store Connect
Unable to select the desired build in App Store Connect; clicking on the build has no effect. Steps to reproduce: 1.I select my app 2.I choose which build to add 3.I try to select the build Expected result: I should be able to select the build Actual result: Nothing happens Browsers Tested: Google Chrome (both PC and mobile), safari mobile Supporting Video: https://www.loom.com/share/cd9c831920fb43518ef461c9a697f09f?sid=9ce60f81-0a7c-44f4-b88a-74dcc9820e14, https://drive.google.com/file/d/1PJEixy8IpFTEEDLjBMQjV-b9U8zUM2S0/view?usp=sharing Screenshots: https://gyazo.com/e390a5ddaa142ac9e5cbb2a6757abee8, https://gyazo.com/08ac242fbfd61d375766da04f7eb209c
0
0
42
May ’25
USB Audio Input Blocked When Screen Mirroring via AirPlay
Hello Apple Developers, I am experiencing an issue where USB audio input (e.g., external USB microphone) is blocked when using AirPlay screen mirroring from my iPhone to a Mac or Apple TV. However, the built-in microphone continues to work without any problem. Issue Details: I am using an iPhone 15 (or latest device) running iOS [your iOS version]. I connect a USB audio interface/microphone via a USB-C adapter or Lightning adapter. The USB microphone works perfectly for audio input before starting AirPlay. The moment I enable AirPlay screen mirroring, the USB microphone stops working, and it disappears from available audio input sources. The built-in microphone continues to function, but I cannot use the USB microphone while mirroring. When I stop screen mirroring, the USB microphone immediately becomes available again. Expected Behavior: I would expect iOS to allow me to continue using an external USB microphone while mirroring my screen, just like it allows the built-in microphone to work. Questions: Is this an intentional restriction in iOS? Is there any workaround to enable USB audio input while using AirPlay screen mirroring? Is there a way to request a feature or configuration option to allow external USB microphones during AirPlay? I appreciate any insights or guidance from the Apple team or fellow developers. Thanks in advance! Best regards,
0
0
335
Mar ’25
External soundbar not playing nice with TV
Apple TV Samsung TV SONOS Soundbar + S1 stereo speakers Apple TV Preferences Sound output = SONOS soundbar Samsung Preferences Sound Output = SONOS HDMI eArc soundbar start with Apple TV movies and as I switch from movie to movie, sound comes out stereo as it should however when I switch to Netflix or YouTube TV with stereo content, sound comes out mono .. until I manually change the ATV Preferences to stereo. As ong as I stay with Netflix content, stereo output. But change to YouRube TV or ATV, it automatically changes to mono. ?????
2
0
202
Feb ’25
Facing error in making archive from terminal for iOS Project with React Native.
Ld /Users/devops.mac1/Library/Developer/Xcode/DerivedData/MyJio-fwrzosmtfndowdejljdqbqhcfkjo/Build/Intermediates.noindex/ArchiveIntermediates/*****Production/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/jsi.framework/jsi normal (in target 'React-jsi' from project 'Pods') Facing this error while trying to archive an iOS project through terminal in Mac Agent. The having react native code too. Unable to resolve.
1
0
81
May ’25
Prevent iOS "Use Mobile Data" Prompt When Connected to Wi-Fi Without Internet in Flutter
I am developing a flutter app that connects the app to the boat VCU through Wi-Fi. In the iOS version of the mobile app, when the device connects to a Wi-Fi network, iOS assumes that all network traffic should route through Wi-Fi. As the connected Wi-Fi network has no internet access, iOS prompts the user with the options: "Use Mobile Data" or "Keep Trying Wi-Fi." If the user selects "Keep Trying Wi-Fi," mobile data will not be used by other apps on the phone. If the user selects "Use Mobile Data," the app switches to mobile data while remaining connected to the Wi-Fi network (VCU) without any issues. The issue is we need to find a way to prevent showing that prompt and instead handle this through code. After connecting to VCU, the mobile network is available for a few second but then it switches to wifi and no internet! I checked all the online documentation but there is not any solution for it. So, I need to stay connect to vcc and other apps use mobile data. I tried WiFiForIoTPlugin.forceWifiUsage(false); but didn't work. I tried adding delay that also didn't work. This is the function in my code that handles connecting to Wi-fI: Future connectToWifi() async { try { if (Platform.isAndroid) { isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, // Enable Internet access withInternet: false, isHidden: true, timeoutInSeconds: 10, joinOnce: true, ); // Force Android to treat Wi-Fi as the primary network using await WiFiForIoTPlugin.forceWifiUsage(true); } else if (Platform.isIOS){ isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, isHidden: true, timeoutInSeconds: 10, // Ensures the connection remains persistent, preventing the system from disconnecting the device. joinOnce: false, ); } if (isConnected) { log("Connected to ${_vesselData['ssid']}"); streamData(); } else { log("Failed to connect to ${_vesselData['ssid']}"); } } catch (e) { log("Error: $e"); } } I use :Device Model: iPhone 12 Pro Max iOS Version: iOS 18.3.1 Xcode Version: Xcode 16.2 Mac Version: macOS Sonoma 14.3
1
0
312
Mar ’25
Troubleshooting Video Loading Issues on iOS: Slow Performance Over Mobile Data but Fast on Wi-Fi
Hello, We are developing a social media application that allows users to share and view content in the form of images and videos. The app is built with Angular and Ionic, and we use Capacitor to integrate native functionalities. Currently, we are experiencing an issue with content loading on iOS devices. Specifically, when the iPhone is connected to Wi-Fi, videos load quickly and play smoothly. However, when using mobile data, videos take a long time to load or, in some cases, do not load at all. We are trying to identify the cause of the issue and determine whether it could be related to Xcode configuration or any system restrictions. Some potential reasons we have considered include: iOS Mobile Data Usage Restrictions iOS may limit mobile data usage for large downloads or streaming content if the app does not have the proper permissions. In Settings > Mobile Data, users can restrict data usage for specific apps. App Transport Security (ATS) Configuration Xcode and iOS enforce strict security policies for network connections through App Transport Security (ATS). If the API serving the videos uses HTTP instead of HTTPS or has restrictive headers, this could affect loading over mobile networks. Xcode Network Usage Settings Xcode allows configurations related to network access. There might be a setting limiting access to mobile networks when the device is not on Wi-Fi. Video Quality and Adaptability Differences If videos are not optimized for mobile networks (e.g., high-quality formats without adaptive versions), loading times could be significantly longer. Implementing HLS (HTTP Live Streaming) could improve playback on slower networks. Request Timeout Issues If video loading requests have a short timeout, slower mobile network connections might exceed this limit, causing the request to fail. Compression and Caching It is essential to check if videos are properly compressed and if caching is implemented to improve performance on mobile networks. Given this situation, we would like to know what Xcode settings might be affecting video loading performance on mobile data and how we can adjust them to enhance the user experience.
0
0
192
Mar ’25
I've been fooling around with this and I lose "stuff"
I have an idea for an app for awhile (5+ years) and it took awhile (a year or more to figure out how to develop on - I know C/C++/FORTRAN, started in the punch card era). I ended up using the MacBook I had, some books and chatGPT and plunged into development. BTW this was all happening while I'm retired, included moving to FL from MD. There are times where development stops for months at a time, I've started and stopped at least four or five times on different portions of the project. I've realized that I can actually skip the user interface until the end if ever. At the beginning of code development, I did little more that "Hello world" programs to get my feet wet. Golf, pickleball, doctor appointments, etc. interrupts development. When I get back to it, my code has "disappeared", I open Xcode, open the project and I don't see any of my code - where did it go? I did find the code using the Finder in Directory/projname/projname/ContentView.swift (I'm not sure why projname is duplicated, no doubt my ignorance!) - so the code is still present, somewhere!
6
0
108
May ’25
Bluetooth scan cycle problem
I have the following questions that need official answers: 1: Whether the Bluetooth scanning cycle can be controlled through the software level. If it can be controlled, please tell me how to control it. 2: Now the IOS mobile phone scanning strategy, how long is the scanning cycle, and what is the scanning duty cycle in this scanning cycle
0
0
237
Feb ’25
Unwanted Communication error cut off, no report sent
Hi, I've been trying to debug an issue with my extension. I am able to register the extension on install of my app, can select it under Phone> SMS/Call Reporting. When I touch Report it brings up my view controller, with the sender and message details. I set let response = ILClassificationResponse(action: .reportJunk) I've added debug logs throughout my extension and everything looks good. Now when MobileSMS takes over, I see: default 23:15:09.837024-0400 MobileSMS response: extension: error 23:15:09.837328-0400 MobileSMS error reporting SMS response: default 23:15:09.837387-0400 MobileSMS Finished, invoking didCompleteClassificationRequest info 23:15:09.837487-0400 MobileSMS didCompleteClassificationRequest -- di I don't see what the error is, and that last log entry is cut off at "di". I've confirmed my info.plist, allowed domains, aasa, and my remote API is not touched. Any advice? Xcode 16.3 Testing on iPhone 16e iOS 18.4.1
1
0
79
May ’25
Request Apple enterprise account renewal failure solution
We are a technical team of a large enterprise whose main business depends on internally developed iOS applications. Our Apple enterprise developer account expires on February 16th, and we filled in the renewal application form before that, but it was rejected by Apple. We contacted the Apple consultant through Apple's official website, and they said that the enterprise department is a separate department, and they could not solve my problem. Later, after efforts, I directly contacted the email address of the enterprise department, and I explained our situation. After their review, the final plan still could not renew, but only extended the use of our P12 certificate, and the maximum extension was one year in the end, so that we can deal with the application that is being distributed by the enterprise as soon as possible. May I ask if there is any better way to successfully renew my account? We only extended the certificate, which is not what we want, but this is the only way at present. If there is a good way to communicate, please check my personal information and have my email address for communication. Thank you all
0
0
316
Feb ’25
Enterprise developer renewal
We are a technical team of a large enterprise whose main business depends on internally developed iOS applications. Our Apple enterprise developer account expires on February 16th, and we filled in the renewal application form before that, but it was rejected by Apple. We contacted the Apple consultant through Apple's official website, and they said that the enterprise department is a separate department, and they could not solve my problem. Later, after efforts, I directly contacted the email address of the enterprise department, and I explained our situation. After their review, the final plan still could not renew, but only extended the use of our P12 certificate, and the maximum extension was one year in the end, so that we can deal with the application that is being distributed by the enterprise as soon as possible. May I ask if there is any better way to successfully renew my account? Only the extension of the certificate is not what we want, my profile explains the whole process, but this is the only way at present,
1
0
329
Feb ’25
Appleインビテーションで招待された人の条件は?
説明ではApple Accountが無くても回答可能とあるが、招待された画面を開きメールアドレスを入力するとApple acountのパスワードを入れるか、新規にacountを作成する画面になる。 Apple Accountが無い人は何も出来ないのか?それともあのパスワード欄は新規にパスワード登録するためのもの? また、招待を送ったメールアドレスとApple acountのメールアドレスが違う場合はどうなるのだろう? 誰か試した人いますか?
0
0
182
Feb ’25
Hello.
Dear Apple, I am sending this review to tell you that with my new update. I am not a fan of the photos set up. I find it very confusing and find myself getting irritated very often and giving up after searching for an image… which is frustrating for many reasons including I need my camera roll for work often. please make adjustments with the newest update… please. thank you, if anyone took the time to read this. Ashton, a very sad customer
1
0
265
Feb ’25
iCloud file reading and writing (iOS)
On my first attempt at adding iCloud to my existing app this is how far I've gotten. For reasons that I won't go into, the use case for my app does not need coordination. I have successfully made my app write a file to the Documents directory of iCloud and read back that same file without errors. In testing on a real iPhone 13 and iPhone 7 I have verified that my app can write a file to iCloud from the iPhone 7 and then read back that same file on the iPhone 13, so I know that the file truly exists in the cloud. But when I make my app on the iPhone 13 write to iCloud, my app on the iPhone 7 says the file does not exist. Exactly the same build of my app is running in both phones. This is problem #1. Problem #2 is that none of these files appear in the iCloud section of the Files app on either of these Phones, nor do they appear in the iCloud section of my Mac. All devices are signed in to my same Apple account in iCloud. Also my info.plist file in the app contains: <key>NSUbiquitousContainers</key> <dict> <dict> <key>iCloud.com.{my domain}.{my app}</key> <dict> <key>NSUbiquitousContainerIsDocumentScopePublic</key> <true/> <key>NSUbiquitousContainerSupportedFolderLevels</key> <string>Any</string> <key>NSUbiquitousContainerName</key> <string>{my app}</string> </dict> </dict> </dict> <key>UIFileSharingEnabled</key><true/> The iPhone 7 is running iOS 15.8.4 and the iPhone 13 is running iOS 18.3.2. The code that does the writing to iCloud is: NSFileManager *fman = [NSFileManager defaultManager]; NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil]; NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"]; if(urlDocs.path == nil) { NSLog(@"NULL path"); return; //..big problem } if( ! [fman fileExistsAtPath: urlDocs.path] ) { //..need to create the Docs directory NSError *err00 = nil; @try { [fman createDirectoryAtURL: urlDocs withIntermediateDirectories:true attributes:nil error:&err00]; NSLog(@"created the directory"); } @catch (NSException *except) { NSLog(@"Exception creating directory %@", except); } } //..directory is now created NSLog(@"url=%@", urlDocs); NSURL *urlFile = [urlDocs URLByAppendingPathComponent:txtfname()]; NSData *fdata = [@"Hello world" dataUsingEncoding: NSUTF8StringEncoding]; NSLog(@"file url=%@", urlFile); NSLog(@"file Data=%@", fdata); NSError *errorReturn = nil; Boolean ret = [fdata writeToURL: urlFile options: NSDataWritingAtomic error: &errorReturn]; NSLog(@"returned %1d, error=%@", ret?1:0, errorReturn); And the code that does the reading is: NSFileManager *fman = [NSFileManager defaultManager]; NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil]; NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"]; NSLog(@"url=%@", urlDocs); if(urlDocs.path == nil) { NSLog(@"urlDocs.path is NULL!"); return; //..big problem } if( ! [fman fileExistsAtPath: urlDocs.path] ) { //..need to create the Docs directory NSLog(@"It seems the urlDocs folder does not exist"); } NSURL *urlFile = [urlDocs URLByAppendingPathComponent:txtfname()]; if([fman fileExistsAtPath: urlFile.path]) { NSLog(@"file %@ exists", urlFile); [fman copyItemAtURL: urlFile toURL:<#(nonnull NSURL *)#> error:<#(NSError *__autoreleasing _Nullable * _Nullable)#>]; } else { NSLog(@"file %@ DOES NOT EXIST!", urlFile); }
1
0
117
May ’25