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

App Automatically Logging Out for Some Users
Hello, We’re experiencing an issue in our app where a subset of users are being logged out automatically without any apparent reason. This is impacting both iOS 16 and iOS 17 users (though it’s hard to confirm if it’s platform-specific). Here’s a breakdown of the situation: Symptoms Some users report being logged out of the app randomly, even after remaining active. The issue doesn’t seem to affect all users—just a specific subset. Users are prompted to log in again, and once they do, the app behaves as expected until the issue recurs.
1
0
501
Dec ’24
Turning on setVoiceProcessingEnabled bumps channel count to 5
Hi all, The use of setVoiceProcessingEnabled increases the channel count of my microphone audio from 1 to 5. This has downstream effects, because when I use AVAudioConverter to convert between PCM buffer types the output buffer contains only silence. Here is a reproduction showing the channel growth from 1 to 5: let avAudioEngine: AVAudioEngine = AVAudioEngine() let inputNode = avAudioEngine.inputNode print(inputNode.inputFormat(forBus: 0)) // Prints <AVAudioFormat 0x600002f7ada0: 1 ch, 48000 Hz, Float32> do { try inputNode.setVoiceProcessingEnabled(true) } catch { print("Could not enable voice processing \(error)") return } print(inputNode.inputFormat(forBus: 0)) // Prints <AVAudioFormat 0x600002f7b020: 5 ch, 44100 Hz, Float32, deinterleaved> If it helps, the reason I'm using setVoiceProcessingEnabled because I don't want the mic to pick up output from the speakers. Per wwdc When enabled, extra signal processing is applied on the incoming audio, and any audio that is coming from the device is taken Here is my conversion logic from the input PCM format (which in the case above is 5ch, 44.1kHZ, Float 32, deinterleaved) to the target format PCM16 with a single channel: let outputFormat = AVAudioFormat( commonFormat: .pcmFormatInt16, sampleRate: inputPCMFormat.sampleRate, channels: 1, interleaved: false ) guard let converter = AVAudioConverter( from: inputPCMFormat, to: outputFormat) else { fatalError("Demonstration") } let newLength = AVAudioFrameCount(outputFormat.sampleRate * 2.0) guard let outputBuffer = AVAudioPCMBuffer( pcmFormat: outputFormat, frameCapacity: newLength) else { fatalError("Demonstration") } outputBuffer.frameLength = newLength try! converter.convert(to: outputBuffer, from: inputBuffer) // Use the PCM16 outputBuffer The outputBuffer contains only silence. But if I comment out inputNode.setVoiceProcessingEnabled(true) in the first snippet, the outputBuffer then plays exactly how I would expect it to. So I have two questions: Why does setVoiceProcessingEnabled increase the channel count to 5? How should I convert the resulting format to a single channel PCM16 format? Thank you, Lou
2
0
570
Dec ’24
iPhone 15 Pro’s Screen Turns Black After iOS 18.3 BETA Update
After Updating My iPhone 15 Pro To IOS 18.3 beta, 1 Day Later A Pixel seemed stuck or burnt, and then after 1 Day on 25 Dec The Screen Went Black Or Turned Off But Responded To My Touch, the reason i suppose the screen went black would be a memory glitch happening when i opened the camera from the Lock Screen or a graphica card issue if anyone can help I would appreciate it
0
0
496
Dec ’24
Safari with Prevent Cross-Site Tracking enabled bypasses NEDNSProxyProvider
Hi, I’ve encountered an issue with Safari’s behavior when Prevent Cross-Site Tracking is enabled in iOS, related to DNS filtering via an implemented NEDNSProxyProvider. Here’s a step-by-step breakdown: In Safari, when attempting to query a blocked domain (according to the filtering policy of the NEDNSProxyProvider), the page is blocked as expected. Closing Safari without closing the tab with the blocked domain. Reopening Safari – Expected result: The page remains blocked; Actual result: The page loads and bypasses the NEDNSProxyProvider (no logs are received for this flow). Tapping the refresh button causes the page to be blocked, as the DNS Proxy Provider intercepts the new request. Note: This issue is only reproducible in general tabs in Safari. In private tabs, a fresh DNS query is generated each time, and the blocking behavior works as expected. I also tested Google Chrome, where the domain is blocked consistently. I attempted to filter this issue via Content Filter, but the only connection received by NEFilterDataProvider is for com.apple.Safari.SearchHelper with ssl.gstatic.com. Could you advise on how to handle this behaviour? Would be grateful to hear any ideas
4
0
666
Dec ’24
MAC OS Sequoia 15.2 and Thunderbolt incompatibilities
15.2 has a major problem with Thunderbolt devices. Dozens of reports on the discussion forum after people upgraded from prior versions. In my case 15.1 was working flawlessly. After upgrading to 15.2 the MAC PRO (2019) won't even boot with multiple Thunderbolt devices attached. If as suggested I disconnect all those devices the MAC boots but I no longer have my Thunderbolt drives available. Someone from Apple really needs to start listening to this. We have posted feedback after feedback and I keep getting told no one else has this problem. Well 4 pages of people on the discussion forum would disagree with that.
1
0
460
Dec ’24
MetalTools.framework Missing/Corrupted
Like I said in the title, it looks like MetalTools.framework is missing or corrupted. I think I saw that the symbolic link was broken. They look like aliases in the finder, but I can't find the original. This was a problem with Ventura (using the last compatible Xcode version) and Sequoia 15.2 (Xcode 16.2). I didn't use Xcode before that. Note that none of my apps need Metal API (I don't think). I only noticed it when Xcode gave an error regarding Metal. Sorry this is so long; I hope the Terminal info will help. I don't want to reinstall Sequoia and this has been a problem since at least Ventura. Recommendations? ls -l /System/Library/PrivateFrameworks/MetalTools.framework/ total 0 lrwxr-xr-x 1 root wheel 27 Dec 7 01:11 MetalTools -> Versions/Current/MetalTools lrwxr-xr-x 1 root wheel 26 Dec 7 01:11 Resources -> Versions/Current/Resources drwxr-xr-x 4 root wheel 128 Dec 7 01:11 Versions ls -la /System/Library/PrivateFrameworks/MetalTools.framework/ total 0 drwxr-xr-x 5 root wheel 160 Dec 7 01:11 . drwxr-xr-x 1885 root wheel 60320 Dec 7 01:11 .. lrwxr-xr-x 1 root wheel 27 Dec 7 01:11 MetalTools -> Versions/Current/MetalTools lrwxr-xr-x 1 root wheel 26 Dec 7 01:11 Resources -> Versions/Current/Resources drwxr-xr-x 4 root wheel 128 Dec 7 01:11 Versions codesign -v /System/Library/PrivateFrameworks/MetalTools.framework/MetalTools /System/Library/PrivateFrameworks/MetalTools.framework/MetalTools: No such file or directory ls -la /System/Library/PrivateFrameworks/MetalTools.framework/Versions/ total 0 drwxr-xr-x 4 root wheel 128 Dec 7 01:11 . drwxr-xr-x 5 root wheel 160 Dec 7 01:11 .. drwxr-xr-x 4 root wheel 128 Dec 7 01:11 A lrwxr-xr-x 1 root wheel 1 Dec 7 01:11 Current -> A ls -la /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/ total 0 drwxr-xr-x 4 root wheel 128 Dec 7 01:11 . drwxr-xr-x 4 root wheel 128 Dec 7 01:11 .. drwxr-xr-x 10 root wheel 320 Dec 7 01:11 Resources drwxr-xr-x 3 root wheel 96 Dec 7 01:11 _CodeSignature Note - -rwxr-xr-x 1 root wheel MetalTools should be in the above list (according to ChatGPT) system_profiler SPDisplaysDataType Intel UHD Graphics 630 and AMD Radeon Pro 5500M (includes: Metal Support: Metal 3 Playground code => "Metal is supported." Default device: Apple iOS simulator GPU. Thanks, Ashley
3
0
577
Dec ’24
error 1001 no fill with facebook ads loading
Hi ! I am trying to insert interstitial ads in my app with facebook ads. I found app id, placement id and when I am running my app I have the following error : Interstitial ad failed to load with error: Error Domain=com.facebook.ads.sdk Code=1001 "No fill" UserInfo={NSLocalizedDescription=No fill, FBAdErrorDetailKey={ msg = "No fill"; }} Could you help me ?
2
0
458
Dec ’24
iOS 18 has killed my iPhone 15 pro
It was good for a week after updating to ios 18.2. Now when I call or receive any phone call, it literally restart. even if I call using WhatsApp also. Also unable to play any video on it. Unable to use YouTube. Battery health is 89%. I already hard reset my phone. Even installed beta version 18.3. Still getting same problem. Even I purchased third party app to fix iOS issue but nothing is working.
1
0
797
Dec ’24
My Apple developer account has been locked and cannot be used
Dear Apple Developer Community, I hope this message finds you well. I'm seeking guidance regarding an issue with my Apple Developer account and the future status of my app. Issue Summary: Account Status: My Apple Developer account has been locked (cannot be used) without any clear reason. Despite contacting both Apple Support and Apple Developer Support, I haven't received a workable solution to regain access. App Status: Currently, my mobile app remains visible and downloadable on the Apple App Store. Concerns: Future of the App: I'm concerned about the future availability of my app. I've heard that apps associated with locked or inactive developer accounts might be archived or removed after a certain period. Is this accurate? If so, what is the typical timeframe for such actions? Similar Experiences: Has anyone in the community encountered a similar situation with their developer account being locked and cannot be used? If so, were you able to resolve it, and how? I appreciate any insights or advice from those who have faced similar challenges or have knowledge in this area. Your assistance would be invaluable in helping me navigate this situation.
3
2
630
Jan ’25
Clarification on Using Stripe for a Facilitation Platform and Compliance with App Store Guidelines
Hi everyone, We are developing an app, Video Tradie, which operates as a marketplace platform connecting customers with independent tradespeople for consultations. The app facilitates scheduling, communication, and payments but does not directly provide any services—our role is strictly as a facilitator. For payment processing, we are currently integrating Stripe to handle invoicing, payment splits to tradespeople, and detailed reporting features that are essential to our business model. However, we want to ensure compliance with Apple’s App Store guidelines, particularly regarding: Digital Services vs. Physical Services: Since the app facilitates consultations (virtual services), would it fall under Apple’s in-app purchase requirements, or could it qualify for exemptions, similar to apps facilitating physical services? Stripe Integration: If we continue using Stripe for payments, are we allowed to remit Apple’s 15% commission (under the Small Business Programme) while not using Apple’s payment infrastructure? Marketplace Positioning: Does positioning our app as a marketplace rather than a direct service provider exempt us from using Apple’s in-app payment system? Alternative Billing Options: If operating in regions like the EU or South Korea, where alternative billing is permitted, are there specific steps we need to follow to comply? We are seeking clarification to ensure we develop the app in a way that aligns with Apple’s expectations. If anyone has experience with similar setups or advice on communicating with Apple during the submission process, I’d greatly appreciate your input! Thank you!
0
0
487
Jan ’25
Guidance on Integrating Meta Ads with Google AdMob Bidding Mediation and Testing Issues
Hello, I am currently working on integrating Meta Audience Network (Meta) with Google AdMob using bidding mediation for an iOS app. The goal is to show ads through meta , with AdMob acting as the mediation layer. I have successfully set up both the Meta SDK and Google AdMob SDK, as well as the GoogleMobileAdsMediationFacebook adapter. My AdMob and Meta accounts are both linked for mediation, and I have configured the correct placement IDs for Meta within AdMob. Currently i am creating a demo project with demo accounts i haven't added app live link as my app isn't on AppStore and haven't added any payment method. However, I am encountering a couple of issues and need some guidance: 1. Test Ads Work, but Real Ad Unit Fails: • When using test AdMob ad unit IDs, everything works fine, and ads are shown as expected. • But when I use my original AdMob ad unit ID, I get the error: “Publisher data not found.” • Does this mean my app is not fully set up or is there something else I might be missing in my configuration? • Is it necessary to go live on the App Store to get ads from the real ad unit, even for testing purposes? 2. Meta Ads via Bidding Mediation: • I have integrated Meta through AdMob’s bidding mediation system. But i am showing ads using GADBannerView is it right way to show meta ads that are mediated with google admob. If i have to show ads with FBAdView from where to get withBidPayload value for this function adView.loadAd(withBidPayload: "what_here") 3. Payment Method Requirements: • My app is still in the demo/testing phase and is not live on the App Store. I have not added any payment methods in either AdMob or Meta. • Is it necessary to add a payment method for testing purposes, or is this only required when I start monetizing and going live? I would appreciate any advice or pointers to ensure the setup is correct and to understand why the original ad unit ID isn’t working during testing. Thank you for your time and assistance!
0
0
527
Jan ’25
Promotional Offers not Working-"Offer Not Available"
When attempting to use apple promotional offers for subscriptions I consistently receive the popup that says "Offer Not Available" for both production and sandbox. Without offer code purchase working fine. I have verified the App Store Connect setup and client side code and even created new offer codes also, but I have hit a dead end. Error:- (Error Domain=SKErrorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x280dbb0f0 {Error Domain=ASDServerErrorDomain Code=3904 "Offer Not Available" UserInfo={NSLocalizedFailureReason=Offer Not Available}}})
2
2
420
Jan ’25
Camera's settings at calibration time
Hi everyone, I am wondering under which settings the camera(s) were set by the time they were calibrated. For instance, one aspect that is easy to find is the reference resolution of the images taken when calibrating the intrinsics, this is by retrieving intrinsicMatrixReferenceDimensions. Making sure that the principal point is referenced to the by the time resolution used when the calibration was ongoing. However, recently I saw that there are focusing modes that potentially displace the lens' physical position. Settings like: AutoFocusRangeRestriction: none, near, far setFocusModeLocked: Locks the lens position at the specified value, and sets the focus mode to a locked state. My concern lies the impact this focusing lens displacements have on the intrinsic matrix parameters, if the lens is displaced, these parameters no longer describe the camera since the lens position has changed w.r.t. the lensPosition set when they were calibrated [0-1]. If my understanding is correct the AutoFocusRangeRestriction is just a range freedom the system is allowed to auto-focus and not a specific lens position. Conversely, the setFocusModeLocked does indeed fix the lensPosition to a certain value [0 - 1]. In simple words, what is the focus lensPosition the cameras were set when calibrating them for intrnisics?
0
0
444
Jan ’25
App development agency bankruptcy, what about our apps?
First, I apologize if I post to the wrong forum, but this is kinda new to me. Backstory: I recently joined a company as CTO and the first topic on my agenda is the mobile presence. The android app was built in-house, but the iOS app was outsourced to an app/web development agency. The problem: the aforementioned agency ceased operations in mid-2024 without notifying us. They cancelled their dev program enrollment and our apps are no longer available on the App Store. And the agency reps are not responding to emails and phone calls. My question: is there a way to get access to our application? We plan in-house redesign and refactoring in 2025, but we want access to the bundle ID, the app groups, the iCloud container, etc. We can present legal documents, company website and branding, everything to prove that app is technically ours. Thanks in advance! Have a good and productive 2025!
0
0
290
Jan ’25
Please support device mirroring with cable and without iCloud login
Hi all, if anyone from apple Dev team is seeing this, please do consider supporting device mirroring without the need to login to icloud and with cable connection in addition to wi-fi. I am working in a corporate setting which does not allow us to login to icloud, thus I am unable to use device mirroring when my work really needs is, I am stuck with Quick time preview. I am quite sure, that this does not only apply to me.
1
0
288
Jan ’25
Globe key cannot switch to iOS emoji keyboard
Scenario: hardware keyboard is attached to iPhone Before iOS 18.2, if I setup only two keyboards (e.g., english and emoji) in the system, click Globe key can switch to iOS emoji keyboard without problem. Since iOS 18.2, it stop working, and emoji keyboard is never displayed. I need to add one more keyboard, then I can switch to emoji keyboard (via the keyboard selector).
0
0
166
Jan ’25
Beta update 18.3 on IOS
Beta Update Feedback: iOS 18.3 The iOS 18.3 beta update has been a deeply frustrating experience due to numerous critical issues that severely impact the device's functionality. Below is a detailed report of the problems encountered: All major social applications, including WhatsApp, Instagram, and Photos, consistently crash. When launching these apps, the screen often turns dark before reverting to the home screen. This issue persists across other third-party and native apps, making the device unusable for basic tasks. The system frequently hangs, failing to process basic operations effectively. Restarting the device is often the only temporary solution; however, even after multiple restarts, the issues remain unresolved. Significant charging drops are observed, and the device intermittently fails to recognize the charger. Charging efficiency has drastically decreased, creating inconvenience for daily usage. The Photos app is riddled with bugs, making it nearly impossible to use. Basic functions such as viewing, editing, or sharing photos do not work properly. Every aspect of the update feels unstable, with issues cropping up in every corner of the system. The phone’s functionality has deteriorated, so it no longer performs as expected. Device Affected: iPhone 13 Impact Level: Severe This update has caused immense frustration and has made the iPhone 13 difficult.
2
1
2.3k
Jan ’25
Can't swap camera with AVCaptureMultiCamSession
I have a PIP camera that is streaming from the front and back based on AVCaptureMultiCamSession. It works fine, but when i go to swap the camera it crashes. This is code that works with a single camera, so not sure what is wrong. Also the object appears valid in the debugger. This is the snippit where the camera is swapped private func updateSessionConfiguration() { guard isCaptureSessionConfigured else { return } captureSession.beginConfiguration() defer { captureSession.commitConfiguration() } // Remove all current inputs for input in captureSession.inputs { if let deviceInput = input as? AVCaptureDeviceInput { captureSession.removeInput(deviceInput) app_log("removing input for \(input)") } } // Add the primary device input if let deviceInput = deviceInputFor(device: captureDevice) { app_log("device input \(deviceInput)") if !captureSession.inputs.contains(deviceInput), captureSession.canAddInput(deviceInput) { captureSession.addInput(deviceInput) } } if let secondaryDeviceInput = deviceInputFor(device: secondaryCaptureDevice) { app_log("Secondary device input \(secondaryDeviceInput)") if !captureSession.inputs.contains(secondaryDeviceInput), captureSession.canAddInput(secondaryDeviceInput) { captureSession.addInput(secondaryDeviceInput) } } updateVideoOutputConnection() } It crashes at: captureSession.addInput(deviceInput) with: Thread 10: EXC_BAD_ACCESS (code=1, address=0xcaeb36b964f0) which is strange because canAdd is checked prior to this call. Totally stumped here. Please help. Not sure if this is an AVCaptureMuliCamSession issue or something.
4
0
416
Jan ’25