Apple Developers

RSS for tag

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

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Activity

Apple ACME client failing to poll order when order is in "processing" status.
I'm developing an ACME server to issue identity certificates to macOS/iOS devices for MDM attestation, following RFC 8555. Per RFC, the client creates an order, performs authorization, verifies the challenge, and finalizes the order by submitting a CSR to the CA. In my setup, the CA sometimes takes longer to issue the certificate (around 50 seconds). According to RFC 8555, if certificate issuance isn’t complete after the /finalize call, the server should respond with an "order" object with a "processing" status. The client should then send a POST-as-GET request to the order resource (e.g., /order/<order_id>) to check the current state. If the CA still hasn’t issued the certificate, the server should return the order object with the same "processing" status and include a "Retry-After" header, indicating when the client should retry. The client is expected to poll the order resource at this specified interval with POST-as-GET requests. However, it seems the Apple ACME client ignores the "Retry-After" header and instead returns the error: "Profile failed - Order status is processing, not yet valid" immediately upon the first poll response with "processing." Apple ACME client deviating from the RFC documentation. Has anyone found a reliable solution to this issue? Ref -https://datatracker.ietf.org/doc/html/rfc8555#:~:text=A%20request%20to%20finalize%20an%20order%20will%20result%20in%20error,to%20the%20%22certificate%22%20field%20of%20the%20order.%20%20Download%20the%0A%20%20%20%20%20%20certificate. To work around this, I’m holding the /finalize call until the CA issues the certificate. This works when issuance is quick (under 20 seconds), but if it takes more than that , the client times out. Interestingly, the Apple ACME client’s timeout appears shorter than the usual 60-second URLSession default.
0
0
468
Oct ’24
This video scrubbing is fucking worthless
I don’t know what you felt was wrong with video scrubbing that you needed to fuck it up this badly. I can’t scrub within the video, only within several seconds of the pause or worse it restarts the whole damn video. used to be an Easy and enjoyable process to harvest photos from a video and you’ve turned it into the most frustrating part of operating my phone. release me a patch to optionally enable the old scrubbing behavior.
0
1
555
Nov ’24
Clarification on PKPassLibrary.requestAutomaticPassPresentationSuppression Behavior
We are implementing a feature that uses PKPassLibrary.requestAutomaticPassPresentationSuppression to prevent the Wallet from appearing when unlocking a lock. We have already completed the approval process for the entitlement to enable Pass Presentation Suppression. In most cases, our code snippet works as expected, and the result is .success. However, we are also encountering other results, such as .denied, .alreadyPresenteding, and .cancelled, .notSupported, which cause the Wallet to appear for users. Here's the code snippet we're using: PKPassLibrary.requestAutomaticPassPresentationSuppression { result in logger.log( .info, "PKPassLibrary suppression result: \(result.description)", LogContext.homeFeature ) } We would appreciate clarification on the following points: Could you explain the meaning of each result type (.denied, .alreadyPresenting, .canceled, .notSupported) beyond what is mentioned in the documentation? The documentation here does not provide additional details. What is the recommended handling for these specific result states? Should we be taking different actions or retries based on each case? ThankS!
0
0
362
Nov ’24
Account hacking
My account was hacked and this was purchased through it. Im hoping someone sees this so and that ive left my mark that i got into his developer account be sheer luck and determination. Ive tried to gain access back into my apple id account with no luck, even contacting apple support. They got into all my online accounts. Im hoping something can be done eventually, but untill then, whoever is controlling my account and incase i get kicked off, cer i grafu!
0
0
226
Dec ’24
Mac m1 Sequoia: how do I own the HOME directory?
Hello! I need ownership of my Home directory as "apply to enclosed items" seems greyed out and trying to do sudo chown -R juliapak:admin /Users/juliapak doesn't seem to work. I have a feeling I will need to do something with csrutil authenticated-root disable but I'm not sure yet. How do I go about doing this?
0
0
399
Oct ’24
Audio MIDI Set Up wont load
Hi - I've been using logic for a few years now. Three days ago I whilst opening it, a pop up said MIDICORE was not working and I haven't been able to fix it since. I read online that booting up in safe mode + opening audio MIDI set up would fix it, thing is audio MIDI set up wont load up. Anyone knows how I can fix it? I am on the verge of tears as I cannot seam to find any information online about audio MIDI set up not opening. And I cannot seam to fix the MIDI issue without it. Thanks!
0
1
233
Feb ’25
How to Display Multiple Fields in a User Registration Form Using TVML for Apple TV?
Hello, I am currently developing an application for Apple TV using TVML, and I am trying to create a user registration or login form with multiple input fields (e.g., "Username" and "Password"). However, I am facing issues with displaying multiple textField components in the formTemplate. Here are the approaches I have tried: Attempt 1: <document> <formTemplate> <banner> <title>Login</title> </banner> <banner> <textField>UserName</textField> </banner> <banner> <textField>Password</textField> </banner> <footer> <button id="button1"> <text>Button 1</text> </button> </footer> </formTemplate> </document> Attemp 2: <document> <formTemplate> <banner> <title>Login</title> </banner> <textField>UserName</textField> <textField>Password</textField> <footer> <button id="button1"> <text>Button 1</text> </button> </footer> </formTemplate> </document> In both cases, the layout does not render the fields as expected. Either the textField components do not display at all, or the structure seems incorrect. Could someone please guide me on the proper way to display multiple textField components in a formTemplate? Is there a limitation or specific requirement for structuring these elements? Thank you in advance for your assistance!
0
0
526
Jan ’25
Screen time running when I power my phone off
After updating my SE 2nd gen a month ago, whenever I power my phone off screen time is running constantly in the background while it is powered down. I shut my phone off for three hours today and when I turned it back on there were three hours added to my time, but it was a gray bar indicating a specific app was not running, but the screen was on. I restarted my phone and turned location services off and neither helped. I would really appreciate a fix to this problem because my parents constantly check my screen time but I would still like to be able to power my phone off. Thanks!
0
1
415
Nov ’24
Integrating cryptocurrency on app platforms
I’m a novice developer seeking insight from those more experienced. My goal is to buils an app UI platform for a streaming series and content + games tethered to a new crypto asset in development. I know this has been done on the App Store with products like Axie Infinity (Ronin/ETH currency) and am also looking over the Hedera white paper. Gaming is easily the most substantive case use for crypto currency, I’m just interested in what are the challenges to integration and if anyone has other examples or thoughts on the topic. Specifically tied to products developed for the Apple platform. What’s the playbook? cheers
0
0
277
Nov ’24