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

Trouble Displaying Heart Rate Data Graph from Apple Watch in iOS App
Issue with Heart Rate Graph from Apple Watch in iOS App Hello Community! I hope everyone is doing well. I'm developing an iOS app that includes a feature to display a graph of the heart rate recorded during a route using the Apple Watch. Current Implementation I have successfully implemented data collection and transfer from the Apple Watch to the iPhone. The app's main UI correctly displays the user's real-time BPM. When the user stops the route, an analysis view is generated, showing speed and altitude (both work perfectly). Expected Behavior The user starts recording a route while monitoring heart rate. After tapping "Stop Route," an analysis view should display a heart rate graph along with speed and altitude data. Issue Encountered Despite multiple attempts, I have not been able to properly generate the heart rate graph. The only result I have achieved so far is a flat line with points representing the recorded BPM over time, instead of a proper graph. Request for Help If anyone has experience implementing a similar feature, I would appreciate any guidance on correcting my implementation. I can share: The file responsible for graph visualization. The file handling data processing after the user stops the route. Any help or suggestions would be greatly appreciated! Summary I'm trying to display a heart rate graph from Apple Watch data in my iOS app. While data collection and transfer work fine, the graph only shows a flat line instead of a proper visualization. Speed and altitude graphs work correctly. If anyone has experience with this, I’d love some guidance!
0
0
230
Mar ’25
CoreAudio: Audio Output Device Stopped Error since macOS 15
Hello! I used the Apple CA Playthrough example code that pipes audio between devices. It uses AudioUnit callbacks to pipe the input to an output device, and I created a system equalizer with it - however users reported it stopped working in macOS 15. I am getting the error HALPlugIn.cpp:552 HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop) for the output device and no sound coming out of the speakers. The error only occurs when using a virtual device as an input, not using the microphone. First I thought the problem was in the loopback driver, but it also does not work with other loopback drivers like Blackhole. STEPS TO REPRODUCE Install a virtual device, for example "brew install blackhole-2ch" and run the CAPlayThrough example code (you need to add Mic Permission in the info.plist). Then set your system audio output to the virtual device, select the device as input in CAPlayThrough and hit start. You should see the error in console. My question: What did change in macOS 15 that could cause this? Is it something with the new permission handling maybe?
0
1
584
Jan ’25
macOS 15.4 Beta (24E5222f) Killed My External Displays – Send Help (or an Exorcist)
For 9 Glorious Months, My MacBook Pro & J5 Create JCD543 HUB Were Best Friends… Until I Updated macOS For nearly a year, my MacBook Pro 14” (2023, M2 Pro, 16GB RAM) worked flawlessly with my J5 Create JCD543 HUB, allowing me to run: ✅ 4 External Displays (Samsung, LG, Insignia, Samsung) A setup that worked perfectly… until I updated macOS. Then Came the Update… and the Issues Began First, I updated last week. Two of my four displays stopped working. No big deal, I thought—I’ve dealt with display quirks before. Then, like an optimist ignoring red flags, I updated again last night to 15.4 Beta (24E5222f) and… well, now things are completely broken. My Once-Perfect Setup (Now a Display Disaster) JCD543 HUB → 2 HDMI displays (not working) JUD380 HUB → 1 HDMI display (partially working, unstable) MacBook HDMI port → 1 HDMI display (working, but feeling abandoned) JCA365 USB-C to Dual HDMI Adapter (Not part of my setup, but tested—also not working) What I’ve Tried (aka My Troubleshooting Journey) ✔ Restarted my Mac multiple times ✔ Uninstalled and reinstalled J5 drivers ✔ Swapped cables, unplugged/replugged everything, tested known-working HDMI cables (they work fine on other devices) ✔ Deleted /Library/Preferences/com.apple.windowserver.displays.plist (this fixed a similar issue in the past, but the file no longer exists in this update) The Likely Culprit? It seems to be a J5 driver issue triggered by the macOS update—and I’m not alone. Others are reporting similar problems. Apple… Any Fixes? I just want my four screens back. The setup worked flawlessly for 9 months, so it’s hard to believe it was never meant to work. If anyone has a workaround, I’m open to testing any solution—whether it’s a driver update, system tweak, or hidden macOS setting that might bring my displays back to life. Any advice would be greatly appreciated! Thanks in advance. (P.S. Apple, if you’re reading this—please look into this issue!)
0
0
548
Mar ’25
Card views and List views
My main app is CardView based w/programmatic navigation.. My secondary app is a nice EventListView w/programmatic navigation. Both are functional with no errors. I want to add an event list to my CardView app but the appearance is all wrong. See image. The blue swirl at bottom is all of my List that appears. I can post images of code, if needed. My question is this - can I combine CardViews and ListViews?
0
0
146
Feb ’25
Need Help Creating Demo Video for NFC Functionality (App Store Review Guideline 2.1)
Hi Everyone, I’m currently working on an app that uses NFC functionality, and I’ve hit a roadblock during the App Store review process. The review team has requested a demo video that demonstrates the app’s NFC functionality in use, as per Guideline 2.1. Here are the details I’ve received from the App Store team: • The demo video should show the app running on a physical iOS device, not on a simulator. • It needs to clearly document the NFC-related app features, user permission requests, and how the app interacts with NFC tags. My Challenges: 1. I’m unsure about the best way to visually capture the NFC interaction, as it involves scanning physical tags. 2. Are there any recommended tools or techniques for recording a demo on an iOS device that complies with Apple’s guidelines? 3. Has anyone successfully submitted an NFC app with a similar requirement? If so, I’d appreciate tips or examples of how you structured your video. I want to make sure I meet all the necessary requirements so the app passes review. Any advice or guidance would be greatly appreciated! Thank you in advance for your help. Best regards, Edwin
0
0
289
Jan ’25
DetectBarcodesRequest operates differently among machines
Hi Apple Developers! I’m using the DetectBarcodesRequest function to identify QR codes in some images and PDFs. However, I’m facing an issue where the function doesn’t detect the barcode on certain documents and machines, while it works on others using the same document. The only common factor I’ve noticed is that the machines that successfully identify the QR code of the “problematic” document are all heavy developer machines that have Xcode installed. Interestingly, this doesn’t seem to be related to processor type (Intel vs. Apple Silicon). Could you please provide some guidance or leads on how to resolve this issue?
0
0
334
Jan ’25
iPadOS26 DFU Mode not showing in Finder
iPadOS 26 Dev Beta 1 - need to do a restore via DFU mode. I made sure iPad in normal mode shows up in Finder and I can see device details. When I boot into DFU mode (I have kept the ipad connected to mac), it does not show up in Finder. No matter what combination of plugging/unplugging cables, rebooting, again into DFU mode, it will not show up in Finder. Looking for steps to resolve this, or do I need to wait until beta 2 to resolve this?
0
1
110
Jun ’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
495
Jan ’25
In rare VoIP calls, B can’t hear A, but A can hear B — audio input issue on iOS?
Hi everyone, We’re seeing a rare but frustrating issue in our iOS VoIP app and would appreciate any advice. What’s happening: In some VoIP calls between two users (let’s say A and B), B can’t hear A’s voice, but A can still hear B just fine. It doesn’t happen often, but once it does, the issue persists until the device is restarted. Users who experience this issue typically have other voice or conferencing apps installed and actively use them. They report that when our app runs into this problem, those other apps continue to work normally. ⸻ What we’ve ruled out: • AVAudioSession has microphone permission, and audio input works under normal conditions • Network conditions are stable • App-side logic seems solid — the issue occurs extremely rarely (e.g., 1 out of several thousand calls), making it unlikely to be caused by a consistent bug in our call flow ⸻ What we’ve tried to fix it (all ineffective): Restarting the call — no effect Force-quitting and relaunching the app — no effect Toggling Bluetooth: disconnecting and reconnecting audio route, or switching back to built-in mic — no effect Replugging wired headphones or switching to the default iPhone audio input — no effect ⸻ What actually works (so far): • Restarting the device — this is the only action that reliably fixes the issue ⸻ What we’re looking for help with: 1. Does this sound like an iOS-level AVAudioSession routing or audio stack issue? 2. Is there any way to recover from this state without rebooting the device — either through iOS system settings or programmatically? 3. Are there any known audio routing or input bugs in iOS that match this behavior? Thanks in advance — any suggestions or pointers would be greatly appreciated!
0
0
48
Jun ’25
Update to IOS 26
Today I updated to iOS 26 and after changing to clear mode nothing happens, the icons remain a solid color, everything remains a solid color, nothing is transparent.
0
0
110
Jun ’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
229
Feb ’25
FocusState Issue with TextFields in ScrollView on iPad (iOS 18.0)
When using a VStack containing two TextFields inside a ScrollView on an iPad running iOS 18.0, the FocusState of the topmost TextField does not trigger, while the second TextField's FocusState works correctly. Adding an invisible TextField on top resolves the issue, but it appears to be a bug specifically in iOS 18.0 on iPads. This issue does not occur on iOS versions below or above 18.0 (including iOS 18.1). Code that is not working struct ContentView: View { @State var text: String = "" @FocusState private var focusState: Bool var body: some View { ScrollView(.vertical, content: { VStack(spacing: 0) { TextField(text: $text) { Text("Hello, World!") } .border(focusState ? Color.red : Color.gray) .focused($focusState) .onChange(of: focusState) { oldValue, newValue in print(newValue) } .onChange(of: text) { oldValue, newValue in focusState = true } } }) .padding() } } Code that is working struct ContentView: View { @State var text: String = "" @FocusState private var focusState: Bool var body: some View { ScrollView(.vertical, content: { VStack(spacing: 0) { // Invisible Text Field TextField("", text: .constant("")) .frame(height: 0) TextField(text: $text) { Text("Hello, World!") } .border(focusState ? Color.red : Color.gray) .focused($focusState) .onChange(of: focusState) { oldValue, newValue in print(newValue) } .onChange(of: text) { oldValue, newValue in focusState = true } } }) .padding() } }
0
0
279
Feb ’25
WalletUIExtention alert "Unable to add card"
I download a demo from:https://applepaydemo.apple.com/wallet-extensions And I run my WalletUIExtention,but it's failed. This is some key in my info.plist <key>NSExtensionMainStoryboard</key> <string>MainInterface</string> <key>NSExtensionPointIdentifier</key> <string>com.apple.PassKit.issuer-provisioning.authorization</string> <key>NSExtensionPrincipalClass</key> <string>MyAUViewController</string> But I found that deleting the key: NSExtendesionPrincipalClass or NSExtendeionMainStoryboard in the info.plist file can make it run. Should I delete the key ? Whitch key ? This is it alert: This it's message: 2025-05-06 09:15:02.946890+0800 WalletUIExt[626:13530] Successfully load keyboard extensions Line: 1 Col:1 2025-05-06 09:15:02.972702+0800 WalletUIExt[626:13597] [xpc.exceptions]<NSXPCConnection: 0x2830c30c0> connection from pid 584 on mach service named com.bank.app.WalletUIExt.viewservice: Exception caught during decoding of received selector __connectToViewControllerFromRemoteViewController:replyHandler:, dropping incoming message. Exception:<NSXPCDecoder: Qx12a82bc00> received a message or reply block that is not in the interface of the remote object (__connectToViewControllerFromRemoteViewController:replyHandler:),
0
0
105
May ’25
Issue getting back only a subset of product IDs for purchase controller
As of today we seem to continuously get back 21 of the product IDs we have defined when the shop initializes. This is causing what looks like intermittent bug behavior in our shop. The IDs sent each time are random (not always the same 21). So sometimes they match shop offers and the packs look right and can be bought and sometimes the ones our current shop offers need are not sent and so the offers in game look wrong and error when you try to buy. Is anyone else seeing this new behavior of not getting down all their product IDs successfully?
0
1
90
May ’25
Can a Default Messaging App Handle Legacy SMS Messages on iOS
I have been reviewing the documentation on preparing your app to be the default messaging app, and I am wondering about the following: If I set my app as the default messaging app, will it be able to send and receive legacy SMS messages? Does iOS provide any SMS-specific framework or APIs to facilitate handling SMS messages directly within my app? I’d appreciate any clarification on whether iOS supports such functionality and, if so, how to integrate it into my app. Thank you!
0
0
203
Jan ’25
Porting Games Over to Apple Arcade
Hi all, I'm working for a publisher, and we're looking to bring some of our PC/console titles over to Apple Arcade - how viable is this? Is Unity or Unreal Engine easier to port from? Does anyone have any contacts with porting studios who have done this before? Thanks
0
0
45
Apr ’25