Search results for

Request failed with http status code 503

190,797 results found

Post

Replies

Boosts

Views

Activity

Reply to SFCertificateView Memory Leak
Thanks for bringing this to the forums. As a first step I recommend that you extract this code into a small test project and see if the problem reproduces there. Ideally that project would not be tied to the presence of a smart card, but instead display a test certificate that’s embedded in the app. If your test project reproduces the problem then none of the other code in your app is at fault, and that focuses the blame on SFCertificateView itself. In that case the next step is to file a bug against that API, making sure to include: A sysdiagnose log taken shortly after reproducing the problem [1]. Your test project. Please post your bug number, just for the record. As to a workaround, I very much doubt there is one, but that’s unlikely to be a problem. Unless this leak is huge, it’s unlikely to affect the user in practice because there’s a limit to how fast they can show and hide your certificate viewer. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmai
Topic: Privacy & Security SubTopic: General Tags:
4d
Reply to How to safely terminate hanging threads in launched agent context
[quote='804974021, Pavel, /thread/804974, /profile/Pavel'] Would Apple recommend isolating this functionality in a separate process [/quote] Well, I’d recommend that you avoid using third-party libraries that “occasionally hang” at all, but I understand that that’s not always an option (-: If you are stuck with unreliable code then your only option is to run that code in a separate process. Apple platforms do resource tracking on a process-by-process basis, so there’s no way to safely kill a specific thread within your process because that thread might be holding critical resources. [quote='804974021, Pavel, /thread/804974, /profile/Pavel'] Can I use the system call fork() in launched agent? [/quote] Yes, as long as you then immediately call exec*. WARNING On Apple platforms it is not generally safe to call fork without then immediately calling exec* [1]. But, in general, there’s no specific prohibition against a launchd agent spawning a child process, ideally with posix_spawn or a wrapper a
4d
Reply to PushToTalk
PTTManager This is my PTT code 1: Click on the intercom button and Bluetooth device button on the PushToTalk interface. The recording all starts in this method (channelManager: PTChannelManager, didActivate AudioSession: AVAudioSession) 2: There is no problem with recording audio by clicking the intercom button on the PushToTalk interface. But there are problems with clicking on recorded audio on Bluetooth devices (all noise or no sound during playback) 3: The method called after the application switches to the background (setupChannelManager (channelUUID: UUID)) 4: The method called by clicking the Bluetooth button (requestBeginTransmitting()) 5: The above scenarios are all when the application switches to the background (the application has set the background to keep alive and Background Modes) 6: All functions are normal without any issues when the application switches to the frontend.
Topic: Media Technologies SubTopic: Audio Tags:
4d
Reply to Notarization Stuck "In Progress"
[quote='804847021, Breakfast, /thread/804847, /profile/Breakfast'] This issue has been occurring since Friday, October 17th. [/quote] I’d like to clarify the failure you’re seeing: Is this a single request that’s been stuck since 2025-10-17? Or is it that this request and all subsequent requests are stuck? Or is it that requests are going through, they’re just taking a long time? Also, please post: The UUID of an example ‘bad’ request, that is, a request that was most affected by this issue. And a rough timeline for that request, that is, when you submitted it and, if it completed, when it completed. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
4d
Reply to Use two NFC entitlement in the same App
[quote='804844021, jpderyck, /thread/804844, /profile/jpderyck'] I would like to avoid if possible to create a second application … ? [/quote] I don’t see how that’d be possible. You want to ship two different variants of your app: One with the EU entitlement, only in the EU, authored by your EU-based organisation. Another with the non-EU entitlement, in various countries outside the EU, authored by your US-based organisation. App Store Connect doesn’t support that. In ASC: A given app record is ‘owned’ by a specific team, whereas you want to associate it with multiple teams. And you can only add a single binary to that an app record [1], whereas you want to add multiple binaries. So, you’ll need multiple app records in App Store Connect, each with its own App ID. Of course these two apps will share a lot of same source code. Usually I’d set this up by duplicating the app target in Xcode and then tweaking the build settings, most critically the bundle ID, on that second target. Share and Enjoy — Quin
4d
APDU Command Execution Issues with Core Bluetooth and Secure Element Communication
I'm experiencing intermittent failures when executing APDU (Application Protocol Data Unit) commands through Core Bluetooth to communicate with external secure elements. The communication flow involves establishing a BLE connection, discovering services and characteristics, and then sending structured APDU commands for card management operations. While the initial connection and characteristic discovery work reliably, I'm encountering inconsistent behavior during APDU command execution where commands either timeout, return unexpected response codes, or fail to complete the expected transaction sequences. The issue appears to be more prevalent when sending multiple APDU commands in rapid succession or when the commands involve cryptographic operations. I've implemented proper error handling and retry mechanisms, but the failures seem to occur at the Core Bluetooth level rather than in my application logic. The peripheral device responds correctly to the same commands when tested with other pl
0
0
11
4d
Chances of App Rejection for B2B Rug Cleaning App (with or without IAP)
Hi everyone, I am developing a mobile application designed for rug cleaning businesses. The app allows businesses to register, subscribe, and use various tools to manage their daily operations — such as job tracking, rug status updates, and team coordination. Essentially, our platform provides a SaaS solution specifically for professional rug cleaning companies, not for general consumers. I have a couple of questions: Since the app is meant only for registered businesses, and users must have a valid business account to access the core features — what are the chances of the app being rejected during App Store review? If I integrate Apple In-App Purchase (IAP) for subscription instead of using an external payment method (like Stripe), would that reduce the chances of rejection, or could there still be issues since it’s a B2B app? Any guidance or real experiences with similar business-use apps would be greatly appreciated. Thank you, Dinesh
2
0
171
4d
How to display a toast view above both main content and FullScreenCover in SwiftUI?
I'm using a ZStack with viewA() and a toast viewB(). I present a FullScreenView() using .fullScreenCover(isPresented:). ZStack { viewA() viewB() // toast view } .fullScreenCover(isPresented: $isPresented) { FullScreenView() } I want viewB (the toast) to appear above both viewA and the FullScreenView. I only found this approach works but it has duplicate code. ZStack { viewA() viewB() // toast view } .fullScreenCover(isPresented: $isPresented) { ZStack { FullScreenModalView() viewB() // toast view } } What are all possible approaches to achieve this in SwiftUI? Any advice or code samples would be appreciated!
Topic: UI Frameworks SubTopic: SwiftUI
1
0
57
4d
Reply to Multiple Apple Pay relationships with differing apple-developer-merchantid-domain-association files
Hi @Hunt_Welch, The Apple Pay Web Merchant Registration API is intended for payment platforms and e-commerce providers, to register and manage a portfolio of merchants via REST API. Please see the following post to answer your questions about configuring multiple providers, payment gateways, and merchants with this API: Apple Pay Web and Ecommerce site hosting Multiple Merchants on a Single Domain Site https://developer.apple.com/forums/thread/61538?answerId=829805022#829805022 Cheers, Paris X Pinkney |  WWDR | DTS Engineer
4d
Reply to registering apple pay as a psp
Hi @aobifuze, For more information about onboarding as a payment platform, please download the Platform Integration Guide PDF listed on the following page: Apple Pay: Resources https://developer.apple.com/apple-pay/resources/ Once you've configured your environment, you may submit a request to access the Apple Pay Web Merchant Registration API. Please follow the steps outlined in the documentation below: Applying to use the registration API and configuring IDs https://developer.apple.com/documentation/applepaywebmerchantregistrationapi/applying-to-use-the-registration-api-and-configuring-ids In your request, please explain your intent to be a PSP or payment platform and the Apple Pay team will explain the rest of the process. Cheers, Paris X Pinkney |  WWDR | DTS Engineer
4d
Reply to Should UserSendCBD work on UAS interfaces?
I tried making a codeless dext which matches to my IOUSBHostInterface. It has a plist that looks like this: CFBundleIdentifierKernel = com.apple.kpi.iokit // not sure if this is required IOClass = AppleUSBHostMergeProperties // uses IOProviderMergeProperties IOMatchCategory = $(PRODUCT_BUNDLE_IDENTIFIER) // makes its matching unique IOProviderClass = IOUSBHostInterface // what I want to match against IOUserClass = force_alt0 // not sure I need this, because we don't need a user-space process at all // required properties for matching to a IOUSBHostInterface, // see https://developer.apple.com/library/archive/qa/qa1076/_index.html idProduct = x // my product's usb product ID, as a Number idVendor = y // my product's usb vendor ID, as a Number bInterfaceNumber = 0 bConfigurationValue = 1 IOProviderMergeProperties = { bInterfaceProtocol = 80 // 0x50 sentinelProperty = I am just a string } I can see in the IORegistry that my sentinelProperty is applied to the interface, but bInterfaceProtocol is not. If
Topic: App & System Services SubTopic: Drivers Tags:
4d