Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

WatchOS Xcode 16.4 to sample live RR intervals from the PPG sensor ERROR
Hi, I am getting an error stating "Argument passed to call that takes no arguments". I want this Apple Watch App to measure and store RR Intervals from the PPG sensor on the Apple Watch for Heart Rate Variability calculations. Please help me fix this, I can't figure it out. Here is my code: heartbeatQuery = HKHeartbeatSeriesQuery(predicate: predicate, dataReceivedHandler: { (query, timeSinceLastBeat, ended, error) in // Switch to main thread for UI updates DispatchQueue.main.async { if let error = error { print("Heartbeat query error: (error.localizedDescription)") self.fetchErrorMessage = "Heartbeat query error: (error.localizedDescription)" // Consider stopping the workout session if the query fails critically // self.stopWorkoutSession() return } if ended { print("Heartbeat query indicates series ended.") } // Append valid RR intervals if timeSinceLastBeat > 0 { self.rrIntervals.append(timeSinceLastBeat) self.beatCount += 1 } } // End DispatchQueue.main.async }) // End query data handler // --- END OF PROBLEMATIC INITIALIZER --- // Execute the query if it was created successfully It recommends the fix as removing this part: '(predicate: predicate, dataReceivedHandler: { (query, timeSinceLastBeat, ended, error) in // Switch to main thread for UI updates DispatchQueue.main.async { if let error = error { print("Heartbeat query error: (error.localizedDescription)") self.fetchErrorMessage = "Heartbeat query error: (error.localizedDescription)" // Consider stopping the workout session if the query fails critically // self.stopWorkoutSession() return } if ended { print("Heartbeat query indicates series ended.") } // Append valid RR intervals if timeSinceLastBeat > 0 { self.rrIntervals.append(timeSinceLastBeat) self.beatCount += 1 } } // End DispatchQueue.main.async })' But after I remove that it says "Cannot assign value of type 'HKHeartbeatSeriesQuery.Type' to type 'HKHeartbeatSeriesQuery'" PLEASE HELP ME Thanks
0
0
109
Apr ’25
Enrollment form error handling
I don't want to throw anyone under the bus here, but I think the error handling for the D-U-N-S number verification step could be improved. Shown on page: The information you entered did not match your D&B profile. Before submitting your information, check your D&B profile. If you've recently changed your legal entity name, update your D&B profile. This message is confusing when the only information provided is the company name, which exactly matches the D&B profile. We get more information about the error in console than what is shown on the page: "resultCode": 20010, "resultString": "Your organizations information is not complete.", "userString": "Your organizations information is not complete.", "requestUrl": "https://developer.apple.com/services-enrollment/validateDunsDetails", Displaying a clearer error message in line with this would greatly improve user understanding of what went wrong.
0
0
187
Feb ’25
LONG PROGRAM ENROLLMENT PROCESS
I've been trying to enroll my account in a paid Apple Developer Program. I've attempted this for the third time, and the billing is in process according to the bank, yet it has been more than 48 hours and still no response. Even through Apple Support, I have not received a response to my inquiry. Please advise.
0
0
65
Apr ’25
Proxies Simulator
I have a VPN installed (Global Protect) on my company computer, which is a MacBook Pro M2, to access the company network, internal URLs, websites, and run the app I work on. However, even with the VPN installed, I am having trouble accessing certain resources. The solution found was to manually configure the proxies for my Wi-Fi network. After configuring the proxies, I was able to access all the company's URLs and everything I needed. However, the Xcode Simulator is not picking up these network configurations, and when I try to run the project, it does not work. How can I solve this?
0
0
168
Feb ’25
Is it possible to set the Derived Data location differently for different projects?
Within Xcode's settings location section is a drop down menu to switch between setting the derived data location to be default, relative or custom. However its a global setting. I work on more than one project simultaneously, and for one of them I want the location set to relative, but default for all the others. Is there any way of achieving that?
0
0
87
Apr ’25
Firebase Phone Auth OTP not working on TestFlight
Hi, I'm working in unity and I've implemented Firebase Phone Number Authentication in it. Everything works fine when I directly install build from xCode. App Attest screen shows up, user receives OTP on their phone and login works. But when I download the same build from TestFlight, it gets stuck after the user sends OTP request. I've added Push Notifications and App Attest in capabilities. I've also additionally added Remote Notifications. In device log I see an error about mobile provisioning file but I've added that to my account also. Is this expected behavior that phone number authentication does not work on TestFlight? If yes, how can I get this approved from apple since they need to test it before approving it. Thanks!
0
0
237
Feb ’25
Apple Developer Program Enrollment Stuck
Hi all. I don't know where else to go in order to find a way to communicate with Apple or reach help. I have enrolled to the Apple Developer Product, no money charged in my account by I have received confirmation of Apple Acknowledgement that I have made an order. Specifically 2 weeks now I try to contact someone from Apple side but with no luck. Recently I received the following and I had a small conversation from them. If you have additional questions related to this request, please > reference case number 20000089031868. Ge***le -> this is the name of the support agent Did I do something wrong from my side? Does anyone has the same issue?
0
1
259
Feb ’25
Issue with Apple Developer Enrollment – Stuck in Pending State
Hello, I've noticed that many people on the forum are experiencing issues enrolling in the Apple Developer Program. I’m facing the same problem—I can't complete my enrollment using my MacBook Pro. When I try to enroll through the Apple Developer app, I get an error saying, "Enrollment through the Apple Developer app is not available for this Apple ID." So, I tried using Safari instead. I submitted all my personal information and credit card details and initiated the order. However, no transaction was processed from my bank account, and I received an email stating that I would be notified when my order and items are ready. When I check the Apple Developer portal, my enrollment status is Pending, and I see a message prompting me to complete the purchase, as if I need to make a new payment. I don’t understand why Apple makes it so complicated just to subscribe to the Developer Program. Why can’t I use my MacBook Pro for enrollment? Why does the Developer portal ask me to complete the purchase even though I already submitted my payment details? Why is the process so confusing? Any help or clarification would be greatly appreciated. Thanks!
0
0
314
Mar ’25
Apple developer taking weeks
I enrolled to the apple developer account more than one week ago. Nothing! After 3 or 4 emails to support I received an email with steps I should perform from the iPhone app. I did so, my money was charged and ... nothing. My enrollment has been withdrawn no activation nothing. I made another request (although I am not sure that it is ok). Can somebody help me?
0
0
202
Mar ’25
Unable to Re-Enroll in Apple Developer Program Due to Document Rejection
Hello, Two months ago, I tried to enroll in the Apple Developer Program and provided official documents such as my ID and passport. However, I was repeatedly asked to upload them again until my account was declared no longer eligible for use in the Apple Developer Program. I don’t know why my ID was rejected. I tried uploading a regular photo of the document, I tried a scan, and I tried various formats, but nothing worked. Now I want to try again and enroll, but the button is not clickable. Can you please guide me through what went wrong and how I can try again? Thank you.
0
0
77
Mar ’25
Apple Developer Program Enrollment
Hello, I have been enrolled for apple developer program in 14th of February which says it should takes up to 48 hours to enroll. I have received my order number which is W1510513031 but my account is still seems Pending when i logged in. How long it should take? In my account when i logged in it still have purchase button there which i have already paid for it.
0
1
195
Feb ’25