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
MDM profile installation Error
While setting up the MDM server, I got the following error: Please tell me what the error is and how to fix it. ProfileConnection Error com.apple.ManagedConfiguration 12:33:23.432323+0900 ManagedConfiguration PerfPowerServices MDM profile installation check failed with error:NSError. Desc : Connectiong process 'com.apple.managedconfiguration.profiled-access' lacks permission US Desc: Calling process lacks 'com.apple.managedconfiguration.profiled-access' entitlement Domain : MCXPCErrorDomain Code : 39000 Type : MCFatalError Params : ( "com.apple.managedconfiguration.profiled-access" )
1
0
399
Jan ’25
CarPlay music sound output from iPhone after enabled Enhanced Siri
With CarPlay communication plugin R18.1, I followed these steps to integrate Enhance siri, the music sound was output from carplay and there is no option for output to Car. ============================================ Enhanced Siri Declare supported audioFormats for the AuxIn and AuxOut streams Since the AuxIn and AuxOut streams for Siri do not have to be both active at the same time, the accessory must claim audio formats support for AuxIn Audio and AuxOut audio independently. The audio formats for each stream can differ from each other (48KHz for AuxOut and 16KHz for AuxIn). The new audio types represent these new streams - AuxIn/speechRecognition & AuxOut/speechRecognition. Check if connected device supports the feature AirPlayReceiverSessionHasFeatureEnhancedSiri() Claim support in the Setup Response message if device supports the feature Add kAirPlayKeyAccessoryEnabledFeature_EnhancedSiri key through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_AccessoryEnabledFeatures key. Helper function: CFArrayAppendValue() Add Enhanced Siri parameters dictionary in the INFO message Add dictionary through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_EnhancedSiriInfo key. kAirPlayKey_EnhancedSiriInfo dictionary parameters: Voice activation of Siri - kAirPlayKey_EnhancedSiriVoice Current language of voice model - kAirPlayKey_VoiceModelCurrentLanguage Supported languages of voice model - kAirPlayKey_VoiceModelSupportedLanguages Enhanced Button activation of Siri - kAirPlayKey_EnhancedSiriButton Supported zone(s) if any - kAirPlayKey_SupportedSiriTriggerZones Update AudioStream Get state of the AuxIn state by providing an implementation of AudioStreamUpdateState() - Off, local buffering, or streaming to device. Decouple input streams from output streams. AuxIn is an independent input stream only. The property kAudioStreamProperty_Direction will provide the necessary information if the stream is input, output or input & output. Provide a handler for the AirPlayReceiverSessionDelegate setEnhancedSiriParams_f This will provide additional information: Activation type Setting the language of the voice model Invoke the Communication Plugin to start buffering Once the activation type has been specified, the accessory can request the plugin to start buffering using AirPlayReceiverSessionAuxInStart(). Use the new APIs to trigger Siri: AirPlayReceiverSessionRequestSiriActionWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithSample() Button presses and voice activations should use this new APIs which adds a timestamp of the activation. These APIs allow a choice of a latency or a sample for button and voice activations. If there is a delay between the user pressing the button to notifying the device on the button press, this latency value should represent this time. If the accessory can determine which zone activated, it can provide the zone with the request. Invoke the Communication Plugin to stop buffering You may need to invoke the plugin to stop buffering (AirPlayReceiverSessionAuxInStop()) if exclusive access to the microphone is necessary. Such instances may include but not limited to: Native voice recognition session Telephony Another stream function which uses the microphone starts modesChanged notification can be used to determine if a resource is being used Note, if the session ends, the plugin will automatically stop buffering
0
0
272
Mar ’25
Does My Swift Student Challenge App Need to Be Fully Functional?
Hi everyone, I'm working on my submission for the Swift Student Challenge and wanted to clarify something—does the application need to be fully functional in every aspect to be eligible for submission? Or is it acceptable if some features aren't fully implemented, as long as the overall experience showcases my coding skills and creativity? Would appreciate any insights from past participants or anyone familiar with the guidelines! Thanks!
1
0
621
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
179
Jan ’25
Please Help! App won't open for 1 user, Just fades away.
[https://vimeo.com/manage/videos/1051990313) We are experiencing an issue where a user is unable to open our app on their iPhone 16 Pro Max running iOS 18.3. When the user selects the app, it begins to scale to screen size but then fades away without fully opening. It is unclear whether this is a crash or another issue. To troubleshoot, we created a simplified version of the app containing only a single screen displaying "Hello, World." The user experiences the same issue with this version, leading us to believe there may be a device-specific setting or compatibility issue at play. Steps the User Has Tried: Checked device storage – over 200GB available Offloaded and reinstalled the app Deleted and reinstalled the app Updated to iOS 18.3 Forced restart of the device Reset network settings Turned off VPN Despite these steps, the issue persists. We would appreciate any guidance on potential causes or troubleshooting steps to resolve this issue.
3
0
241
Jan ’25
Fitbit Google login Issue in WKWebView
I’m developing an app that has a Fitbit login page embedded in a WKWebView. On the Fitbit login page, there is a Google login button. When I try to log in to Fitbit via Google, some devices redirect back to the Fitbit login page even after entering the correct Google credentials. However, it works on the second attempt. I tested the same URL in the default browser, and it works fine when the page is loaded in the browser instead of inside the WebView. I tried the following workarounds but was unable to fix the issue: 1. Enabled JavaScript in WebView. 2. Tried cookie synchronization between WKWebsiteDataStore and HTTPCookieStorage.
1
0
268
Feb ’25
Notes.app EXEC_CRASH (SIGKILL (Code Signature Invalid))
I'm pretty desperate today and unfortunately it's making me sick, really sick. Yesterday I edited a note on a MacBook Pro, M2 processor, MacOS Sequoia 15.8.1 (-1) and today the text work I invested several days in is lost. My only option is to delete the note! So far I've had very, very good experiences with the Notes.app, robust, reliable, manageable range of functions. When integrating the math functions I became really suspicious for the first time. I had calculated series and sequences and suddenly the Note.app froze for a worryingly long time, in fact the entire operating system was blocked. Then today I got a huge shock, the note can no longer be opened, neither on the iPhone nor on the MacBook Pro. The note contained my business concept for a business partner. I had already been writing the concept for several days! I estimated the value at several thousand euros. This has torn me apart, I can feel myself getting sick. I'm going to the doctor tomorrow and it might take a week for me to get a sick note. I'm pretty shocked. Here are the technical details, in case someone at Apple Incorp. wants to look into it. The note contains links and photos and is encrypted! Which in and of itself is an impossibility. Or is it? In any case, the Notes.app has always stubbornly claimed that I cannot encrypt notes with this content. That's a paradox, isn't it? I'm schizophrenic! I'm attaching the Notes.app crash report to this post. I can't say more at the moment. Except that I'm very, very sad and very, very shocked. Notes wurde unerwartet beendet.
1
0
254
Mar ’25
Very strange behavoir of Safari.app, Notes.app on MacBook Pro
Is there a way to check whether third-party code can be inserted into parts of the ARM CPU architecture from outside? I have the paranoid impression that my MacBook Pro, M2 processor is being manipulated from outside. For example: Safari, when opened, displays pages scaled down without my conscious intervention, when clicked on the original size it scales back to normal for a short time and then implodes again; I use the navigation bar on the left excessively, it is my most important tool in Safari, today it was impossible to insert a link using drag & drop, the bar scrolls up or down very quickly; a behavior that I only know from Intel processors. For example, notes, I encrypted an important note, no problem even though photos and links are inserted, yesterday I could no longer open the note, neither on the MacBook Pro nor on the iPhone. When opening the notes app in the terminal on the MacBook Pro, an EXEC_CRASH report was generated. I have a terrible suspicion that the Apple branch in Munich is tampering with the devices and software of users in Germany. Sorry, I'm a big fan of Apple and its products, but this is very spooky. I just wanted to share my distrust with you!
3
0
236
Mar ’25
Overnightforecast data from weatherResponse.dailyForecast.forecast array object
Background: We are using Apple WeatherKit for an app to fetch future weather data specialty cloudCover and condition and pretipitationChance from the Overnightforecast data from weatherResponse.dailyForecast.forecast array object. Code Sample: On xcode on Swift and Swift UI using Apple WeatherKit task{ do{ let weatherResponse= try await self.weatherService.forecast(for: latLong) let cloudCover = weatherResponse.dailyForecast.forecast[0].overnightforecast.cloudCover Issue: While we are on debug mode, we can literally see overnightforecast.cloudCover data (as well as condition and pretipitationChance) is available under from index 0 to index 10 of weatherResponse.dailyForecast.forecast array object but when we are trying to assign this property, its throwing error as "overnightforecast object not present under weatherResponse.dailyForecast.forecast array object" Attachment:
3
0
383
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
322
Feb ’25
iOS 18.3 (22D5040d) Beta internet issues
I have been using US Cellular without any issues, and my previous device worked seamlessly with a stable connection. However, after updating to iOS 18.3 (22D5040d), I have been experiencing significant connectivity problems. In most locations, I have no internet access, and when I do, the speeds are extremely slow, typically around 2 Mbps at best.
2
0
729
Jan ’25
Pages continues to crash
Process: Pages [24164] Path: /Applications/Pages.app/Contents/MacOS/Pages Identifier: com.apple.iWork.Pages Version: 14.3 (7042.0.76) Build Info: Pages-7042000076000000~4 (1A80s) App Item ID: 409201541 App External ID: 869633787 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-02-03 10:33:48.0108 -0500 OS Version: macOS 15.0 (24A5264n) Report Version: 12 Anonymous UUID: CADF4BC4-9940-34D7-7009-116B6231DC3E Sleep/Wake UUID: 74C42190-FF06-46AE-B3A5-A3EBD47E7F1F Time Awake Since Boot: 350000 seconds Time Since Wake: 720 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [24164] VM Region Info: 0 is not in any region. Bytes before following region: 4336156672 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 102748000-1039a0000 [ 18.3M] r-x/r-x SM=COW /Applications/Pages.app/Contents/MacOS/Pages Model: Mac14,2, BootROM 11881.0.80.0.2, proc 8:4:4 processors, 8 GB, SMC Graphics: Apple M2, Apple M2, Built-In Display: Color LCD, 2560 x 1664 Retina, Main, MirrorOff, Online Memory Module: LPDDR5, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Apr 22 2024 07:25:15 version 20.10.1110.0.8.7.176 FWID 01-f2e48c5b IO80211_driverkit-1302.55 "IO80211_driverkit-1302.55" May 30 2024 20:56:50 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Air, Apple Inc. Thunderbolt Bus: MacBook Air, Apple Inc.
1
0
244
Feb ’25