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

Created

[Apple Pay]how to update multiTokenContexts when PKPaymentRequestShippingContactUpdate method trigger
multiTokenContexts is defined as follows (https://developer.apple.com/documentation/passkit/pkpaymentrequest/multitokencontexts) You can assign a value when initializing PKPaymentRequest (https://developer.apple.com/documentation/passkit/pkpaymentrequest). However, in actual usage scenarios, when the Apple Pay address changes and PKPaymentRequestShippingContactUpdate (https://developer.apple.com/documentation/passkit/pkpaymentrequestshippingcontactupdate) is triggered, how to update multiTokenContexts? The documentation and code do not provide updates for this parameter. In contrast, Apple Pay on the Web provides newMultiTokenContexts as an update when ApplePayShippingContactUpdate (https://developer.apple.com/documentation/apple_pay_on_the_web/applepayshippingcontactupdate) is triggered. Has anyone encountered this problem? Would you happen to have any solutions? Thank you.
0
0
423
Jan ’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
728
Jan ’25
App crash!!!
Phone application is crashing every time I try to update WhatsApp has contact saved on my Iphone12, why? Mobile phone crash report from settings linkText Click on update contact option and you will redirect to review and update page without any data visibility. On clicking this update button, app crashes instantly.
1
0
512
Jan ’25
Developer Program Billing
Hi, I did get the renew invoice in email but there was an additional charge the same day / time for $6.19 from Apple , seems like it is related but cannot find any invoice in email or anything other than a charge line on the credit card. Does anyone have any idea what this additional charge might be? Still waiting to hear back from Apple.
0
0
234
Jan ’25
CarPlay - Parking
Dear Developers, I'm exploring the feasibility of playing video content on CarPlay when the vehicle is in a parked state. Could you please provide guidance on whether this is supported and, if so, the best practices for implementation?
1
0
375
Jan ’25
Sandbox/Wallet/Apple Pay hacker
So this is a long shot. My apple device has been hacked. In March, my credit card, which is in apple pay, started to get used, until May. It was used for thousands of dollars. In July i discovered installed and generally “invisible” files in the files app. I’ve called All IPhone that was a contact file. when i started deleting everything from my phone, all messages and photos and accounts, it became obvious i was signed into the app store in a sandbox account i never signed up for or into. I believe this is one method by device as compromised through apple. does anyone have any ideas on if it would be possible for a hacker to use my apple pay through some scam developer who had initiated a testing agreement between myself and them?
1
0
467
Jan ’25
SwiftUI Manual Orientation Control for Views - Solution and a Bug!
I am working on a project that contains a QuickLook View and Some ARViews. I want to restrict the entire app to Portrait orientation, but I want to allow the ARView to have Portrait and Landscape orientation. If I restrict the app to Portrait in the Deployment Info settings, we can still turn the device to landscape in the ARView, However, there is an issue with "some" spatial audio files within the digital experience. Some spatial audio items, are placed appropriately, and others are panned oddly left. If we allow Landscape Left and Right in the Deployment Info settings, all spatial audio behaves appropriately. So, we need to "lock" every other view as Portrait and only allow Portrait and Landscape on the ARView. I'm not smart enough to know how to do that, but I found this excellent package on GitHub. It works as expected. https://github.com/wvteijlingen/swiftui-interface-orientation However! When we wrap SwiftUI with UIKit, it appears every single view that contains an ARView is initialized at launch even though it is not visible. So, when the app launches, it is running multiple ARViews at once. It appears we need to have some kind of lazy loading, so this doesn't occur, but again, I am not knowledgable enough for this yet. I tried to wrap it all in a LazyVStack, I tried a LazyView struct, but I couldn't get it to build appropriately. I feel like this might be a common thing, so maybe there's already a simple answer I'm not able to locate? Any ideas??
1
0
461
Jan ’25
Apple Developer Program Account Activation - No Response
I'm experiencing an issue with my Apple Developer Program enrollment process: Submitted initial enrollment application: Sat Jan 11 21:13 (7 days ago) Current status: Stuck at "Purchase your membership" stage (pending) Waited: 6+ days without any response or ability to proceed to payment The system shows "Your purchase may take up to 48 hours to process" message No payment has been processed yet as I cannot proceed to that step I have not received any emails explaining the delay or requesting additional information. I've checked both my primary and spam folders. Is this delay normal at the pre-payment stage? What would be the recommended next steps to resolve this situation? Any guidance would be appreciated.
1
1
367
Jan ’25
Apple Developer Program Subscription Issue
Hello everyone, I’m reaching out for assistance regarding an issue with my Apple Developer Program subscription. I made the $99 USD payment for my subscription on January 10, 2025, but my account is still not active, and I am unable to publish my app. According to the process, activation should take up to 48 hours, but it has now been much longer without any updates. Additionally, when I log into the Apple Developer website, I still see the "PURCHASE" button as if the payment was not processed. Has anyone encountered a similar issue? If so, how was it resolved? Any guidance on what steps I should take next would be greatly appreciated. Thank you in advance for your help!
1
1
272
Jan ’25
Sudden Storage Fluctuations/Free Up
I’m experiencing something strange with my phone’s storage, and I’m not sure what’s going on. Last year, I had nearly maxed out my storage at 255/256 GB, but suddenly, it dropped to around 100 GB, and now it’s fluctuating again—it decreased to 99 GB today. This is concerning, and I’m wondering if something might be wrong with my phone. Could someone help me understand what’s happening? Here’s some context: my phone was being used for filming a school project, and I often got “insufficient storage” notifications. To make room, I deleted some apps, but I was still hovering around 250-253/256 GB of used storage. Later, I heard that getting iCloud storage would free up space by storing photos in the cloud, so I subscribed to 200 GB of iCloud storage. I used it for about a day but then canceled the subscription after hearing it wasn’t effective at freeing up much space. Unfortunately, I didn’t check my storage before canceling the subscription, which I now realize was a mistake. In December, I took a lot of photos and videos during trips, but I didn’t check my storage, assuming I’d hit full capacity soon. However, just two days ago, I checked my storage and was shocked to see that it had suddenly dropped to around 105 GB. This morning, it dropped again to about 100.96 GB. I read in an article that this could be a bug and that updating the software might help, so I updated my phone to iOS 18. After the update, I checked my storage again, and it had dropped further to 94.16 GB. Then, in the same minute, it fluctuated to 94.99 GB, and four minutes later, it went down to 94.65 GB. Now, as I’m writing this, it’s back up to 95.58 GB. Could anyone explain what’s going on?
1
0
401
Jan ’25
My iPhone charged to 100%
Basically, I always charge my phone at night to my limit 85%, but when I installed the iOS 18.3 beta 3, my iPhone charged to 100% at night when I was having always limit to 85%, my phone was overheated too. Did that only happened to me? Because I even checked and it’s on 85% limit.
0
1
327
Jan ’25
MDM profile installation check failed with error
ProfileConnection Error com.apple.ManagedConfiguration 12:33:23.432323+0900 ManagedConfiguration PerfPowerServices MDM profile installation check failed with error:NSError. Desc: Connecting process lacks permission 'com.apple.managedconfiguration.profiled-access' 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
300
Jan ’25
NFC iOS 18.0 slow
Why NFC tags shown speed is slower than iOS 16.0? After paying with Apple Wallet with iOS 18.0, it seems that it could only detect the NFC tags after 5s, it is the particularity of the iOS 18.0? How can it be quick as former version?
0
0
274
Jan ’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
551
Jan ’25
iOS 18 libquic.dylib crash
when i send a http request with NSURLSession, app is crashed. _quic_frame_write _quic_frame_write __quic_packet_builder_assemble _quic_conn_assemble_and_encrypt _quic_conn_send_frames_for_key_state _quic_conn_send_internal _quic_recovery_pto _quic_recovery_timer_fired _quic_timer_run ___nw_protocol_instance_schedule_wakeup_block_invoke ___nw_context_reset_timer_block_with_time_block_invoke __dispatch_client_callout __dispatch_continuation_pop __dispatch_source_latch_and_call __dispatch_source_invoke __dispatch_workloop_invoke __dispatch_root_queue_drain_deferred_wlh __dispatch_workloop_worker_thread __pthread_wqthread
2
0
293
Jan ’25
Error creating FileProvider domain on external drive
Hi, I am trying to use the new FileProvider feature available on macOS 15 to create a FileProvder domain on an external drive. I am creating the domain with the initializer init(displayName:, userInfo:, volumeURL:) But when I try to add the domain with NSFileProviderManager.add() I get error NSCocoaErrorDomain, code 3328 - feature not supported. My external drive is APFS formatted and encrypted. I am checking its eligibility with NSFileProviderManager.checkDomainsCanBeStoredOnVolume(at:) and the result is "eligible". What should be done to solve this problem - is there a specific entitlement I have to add? I checked the possible entitlements and I don't see anything pointing in this direction. I will be very grateful for any help!
0
0
318
Jan ’25
Constant refresh rate/frame rate
Hi, I just bought iPhone few days ago, switched from Android after long time, the first thing I noticed is that refresh rate/frame rate is not constant for some reason. Android phones are having those 120 hz all the time but for some reason iPhone drops it In some situations which makes no sense at all, I want consistency in smoothness , I want phone to be same smooth all the tome, not that it changes it self depended on situation. I think you should just give us a option where we can choose to have variable refresh rate(because of saving power) or constant refresh rate (smoothest experience). Also what I noticed when I am in video call everything is perfectly smooth as it should be, once I end the video call the difference is noticeable immediately. Thanks in advance. Please consider this, Im 100% sure that Im not the only one who seeks for this option.
2
0
288
Jan ’25