Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,375 results found

Post

Replies

Boosts

Views

Activity

Reply to Protecting sensitive data in memory.
I am developing a library called MemoryCryptor for macOS. Its purpose is to protect sensitive data of the calling process (including launchd daemons), e.g. user passwords and other secrets, from being written to disk or read directly by debuggers or malware. So, the first thing I need to clarify here is what you're threat model is and to what degree you're willing to trust the operating system itself. The problem here is that there's a spectrum of trust that runs from: If you trust the operating system, then the solution is fairly simple. As described here, if a process has Get task allow set to false, then the system will not allow any process to retrieve that processes task port. Without that port, there's no way for an app to gain access to another apps process, solving the issue. Are many other mechanism at work that reenforce and/or prevent other attack vectors, but the general answer here is that that standard system configuration makes ensures that one process cannot read the memory of another process
2w
Apple App Review + DSA Review taking over 2 months – anyone else experiencing this?
I'm an independent developer and one of my apps has been stuck in App Review / DSA review for more than 2 months now. I fully understand that reviews take time, especially with the new Digital Services Act (DSA) requirements in the EU, but two months with almost no feedback is honestly frustrating. I've already submitted everything required for compliance and responded to the few messages I received, but the app is still sitting in review without any clear timeline. For indie developers this kind of delay can be really difficult since launches, updates, and marketing plans depend on getting the app approved. Has anyone else experienced very long DSA-related reviews recently?
3
0
275
2w
DSA Trader Verification "In Review" for 49 Days — EU Distribution Blocked
Hello, My app Glow Mode: AI Skin Scanner (Apple ID: 6762376419) has been blocked from distribution in all 27 European Union countries for 49+ days due to Digital Services Act trader verification stuck in In Review state. Current state in App Store Connect: • Business → Compliance → Digital Services Act: In Review since 24 March 2026 • Pricing and Availability → Manage Availability: all 27 EU countries show Trader Status Not Provided → Cannot Sell • App-level: declared as trader app ✓ • Account: published in 148 other countries, all agreements / banking / tax forms verified and Active Apple's stated typical review time is 5 business days. I'm at day 49. Several other developers have reported identical issues in recent threads: • https://developer.apple.com/forums/thread/822744 — DSA Review stuck • https://developer.apple.com/forums/thread/822857 — App not available in EU • https://developer.apple.com/forums/thread/818244 — Review stuck 2+ months I've also filed a support case (ID: 20000114608599) but
1
0
134
2w
Organization Developer Account
I have been attempting to contact development support regarding verification of my organization in my signing ability on behalf of my organization because my account has not been. My initial filing was on May 5 for my new reference number because my first one got declined the developer portal as that it should only take two business days, but it is definitely taking a lot longer than that to verify my business. has anybody had this sort of issue before and is there a phone number to actually contact because the email process also seems to be delayed at this point in time. I work full-time and cannot receive phone calls during the day so putting in a ticket for someone to call me is not feasible. Hopefully somebody from the sports team will see this post and reach out to me and give me a way to contact Apple development support so I can get this finalized.
1
0
76
2w
Reply to NSInvalidArgumentException while sharing in UIDocumentInteractionController
The stack you've posted is entirely within the ShareSheet framework — no app frames are visible. -[__NSArrayM insertObject:atIndex:] + 1276 is the code path that throws NSInvalidArgumentException when you pass a nil object, so something inside SHSheetActivityItemsManager loadItemProvidersForRequest:activity:completion: is receiving a nil item provider for one of the activity items and adding it to an array without a nil check. That suggests a framework issue, but I'll need more to be confident. It's also possible that the specific item you're passing to UIDocumentInteractionController is what triggers the nil-provider path. A few things would help narrow this down: A full .ips crash report. Beyond the top frames, the thread that crashed, the other threads' states, and the binary images list all matter for diagnosis. The exception reason string matters most — the *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '...' line that usually precedes this kind of stack. Tha
Topic: UI Frameworks SubTopic: UIKit Tags:
2w
Enrollment Blocked: "Exceeded maximum attempts" after Mail Verification Bug for company enrollment
Hello, I am attempting to enroll in the Apple Developer Program as an Organization. During the email verification step, I encountered a technical error: no verification code was sent to my email (I confirmed the email address was correct and checked all folders). There was no Resend button available on the screen. After refreshing the page to try and fix the UI glitch, I was immediately blocked with the following error: Contact us to continue your enrollment. You’ve exceeded the maximum number of attempts. Please contact us. I have already opened a support ticket (Case ID: 102824565622), but since this is a time-sensitive corporate enrollment, I am looking for advice. Any help from the community or an Apple representative would be greatly appreciated. Thanks in advance, Yoni
1
0
166
2w
Reply to Multipeer Connectivity connection is flaky on iOS 26
Thank you very much for the very quick replies. Almost an honor to hear from two literal dev forum legends so quickly. This is much, much funnier than you'd realized. Up until COVID took WWDC virtual, Quinn and I would regularly end up hanging out together in the WWDC labs... talking someone out of using MultipeerConnectivity. Apparently, we've continued that habit into the forums. To the feedback FB22691771 I now added: Fabulous, all of that was perfect. In terms of what the logs show, if you narrow down to the MultipeerConnectivity library, you'll clearly see that it's repeatedly discovering the device and attempting to connect, only to have the connection fail over and over again. What's causing the full failure pattern isn't clear, but it's likely tied to these messages on the receiver side: 2026-05-11 08:30:50.990771+0200 wifip2pd: [com.apple.awdl:subscribe] AWDLBrowse _rps-service._tcp.local will attempt to stop 2026-05-11 08:30:50.991521+0200 wifip2pd: [com.apple.awdl:subscribe] AWDLBrowse _rp
2w
Markup Tool: Support for persistent tool presets (color, stroke, fill settings)
Markup Tool: Support for persistent tool presets (color, stroke, fill settings) I use Markup heavily for work — up to 20 images per day, always with the same settings: red arrow or rectangle, no fill, specific stroke width. The problem has two parts: Part 1 – Markup resets everything: Every time Markup is opened, all settings reset: tool, color, fill, stroke width. This means 3–4 manual steps per image, adding up to 80 unnecessary interactions per day. Part 2 – The default red is unusable: The red in Apple’s color palette is muted and too pale for clear, high-contrast annotations. I have to open the color wheel every single time to manually select a proper, vivid red. The copy/duplicate workaround only helps within one image — as soon as a new photo or screenshot is opened, everything starts over from scratch. Markup has no memory between different images. Switching to a third-party annotation app is not a solution — the entire advantage of Markup is its native integration directly within th
2
0
324
2w
AVFoundation: Strange error while trying to switch camera formats with the touch of a single button.
I'm getting the following output from my iOS app's debug console, note the error on the last line: Capture format keys: [600x600@25, 1200x1200@5, 1200x1200@30, 1600x1200@2, 1600x1200@30, 3200x2400@15, 3200x2400@2, 600x600@30] Start capture session for 1600x1200@30: Stop capture session: [vide] -> [vide] -> [vide] -> Start capture session for 600x600@30: [vide] -> [vide] -> [vide] -> <<<< FigSharedMemPool >>>> Fig assert: blkHdr->useCount > 0 at (FigSharedMemPool.c:591) - (err=0) This is in response to trying to switch capture formats between the two key modes that must regularly be used by my application. Below you will find the functions that I use to start and stop capturing frames to my preview layer. I have a UI with three buttons. Off Mode 1 Mode 2 If I tap the Off button in between tapping Mode 1 or Mode 2 all is well; I can do this all day. However, attempt to jump between Mode 1andMode 2` dir
1
0
1.1k
2w
Reply to My macOS app is getting closed by the system
Based on the documentation, this is intended to quickly terminate the app during logout or system shutdown. I'm not sure why we wrote it that way, but I believe that description is somewhat misleading. What sudden termination actually does is change how an app is expected to handle quit. The standard quit flow is that an app receives kAEQuitApplication, which then lets in opt in/out of exiting through applicationShouldTerminate(). Sudden termination reverses that approach. When sudden termination is enabled, the system quits your app by directly terminating it without any notice or warning. Your app is then responsible for telling the system NOT to do that by using disableSuddenTermination()/enableSuddenTermination(). You can read more about it here, but my guess is that it's probably not a factor. That's primarily because it's hard to send kAEQuitApplication to an FBA (Faceless Background App) unless you really dig into the system, but also because I believe we start with sudden termination disabled, so your
Topic: UI Frameworks SubTopic: AppKit Tags:
2w
Reply to Xcode 26.4: IBOutlets/IBActions gutter circles missing — cannot connect storyboard to code (works in 26.3)
Is it only with objC code or Swift as well ? Xcode 26.5: In new iOS storyboard project I can connect IBOutlets from the Assistant editor in Swift...looks fixed there. Connection bubbles show. But in Objective-C the connection bubbles are completely gone from source files so in ObjC the problem is not fixed, actually worse. You can connect from the Connections Inspector though, but Xcode won't display connection status in ObjC source. So for me, because I still use ObjC the problem is worse. Hope that's not intentional. That would be very very negative evolution. You mean typing xibs by hand doesn't make you more productive!? 😂
2w
Reply to Overlay window above all windows, even when moving spaces
Your collectionBehavior is close — canJoinAllApplications is the right option for spanning other apps' Spaces — but two other pieces are missing for floating above full-screen apps: 1. Accessory activation policy. macOS doesn't layer regular foreground apps above other apps' full-screen Spaces. Overlay utilities like DropOver use NSApplicationActivationPolicyAccessory, which removes the Dock icon and app menu bar (most overlay utilities add a menu bar status item in their place) and lets the app's windows appear above full-screen content from other apps. In your app delegate's applicationDidFinishLaunching: NSApp.setActivationPolicy(.accessory) 2. NSPanel with .nonactivatingPanel. An NSWindow activates its app when ordered front, which can cause a full-screen app to exit its Space. An NSPanel with the .nonactivatingPanel style mask doesn't. Full panel setup: let panel = NSPanel( contentRect: NSRect(x: 200, y: 200, width: 260, height: 140), styleMask: [.nonactivatingPanel, .titled, .closable]
Topic: UI Frameworks SubTopic: General Tags:
2w
Reply to Protecting sensitive data in memory.
I am developing a library called MemoryCryptor for macOS. Its purpose is to protect sensitive data of the calling process (including launchd daemons), e.g. user passwords and other secrets, from being written to disk or read directly by debuggers or malware. So, the first thing I need to clarify here is what you're threat model is and to what degree you're willing to trust the operating system itself. The problem here is that there's a spectrum of trust that runs from: If you trust the operating system, then the solution is fairly simple. As described here, if a process has Get task allow set to false, then the system will not allow any process to retrieve that processes task port. Without that port, there's no way for an app to gain access to another apps process, solving the issue. Are many other mechanism at work that reenforce and/or prevent other attack vectors, but the general answer here is that that standard system configuration makes ensures that one process cannot read the memory of another process
Replies
Boosts
Views
Activity
2w
Apple App Review + DSA Review taking over 2 months – anyone else experiencing this?
I'm an independent developer and one of my apps has been stuck in App Review / DSA review for more than 2 months now. I fully understand that reviews take time, especially with the new Digital Services Act (DSA) requirements in the EU, but two months with almost no feedback is honestly frustrating. I've already submitted everything required for compliance and responded to the few messages I received, but the app is still sitting in review without any clear timeline. For indie developers this kind of delay can be really difficult since launches, updates, and marketing plans depend on getting the app approved. Has anyone else experienced very long DSA-related reviews recently?
Replies
3
Boosts
0
Views
275
Activity
2w
AVP Developer Strap
I'm trying to find where to buy the Vision Pro Developer Strap Gen 2. I've looked all around this site and cannot find it. Help
Replies
1
Boosts
0
Views
684
Activity
2w
DSA Trader Verification "In Review" for 49 Days — EU Distribution Blocked
Hello, My app Glow Mode: AI Skin Scanner (Apple ID: 6762376419) has been blocked from distribution in all 27 European Union countries for 49+ days due to Digital Services Act trader verification stuck in In Review state. Current state in App Store Connect: • Business → Compliance → Digital Services Act: In Review since 24 March 2026 • Pricing and Availability → Manage Availability: all 27 EU countries show Trader Status Not Provided → Cannot Sell • App-level: declared as trader app ✓ • Account: published in 148 other countries, all agreements / banking / tax forms verified and Active Apple's stated typical review time is 5 business days. I'm at day 49. Several other developers have reported identical issues in recent threads: • https://developer.apple.com/forums/thread/822744 — DSA Review stuck • https://developer.apple.com/forums/thread/822857 — App not available in EU • https://developer.apple.com/forums/thread/818244 — Review stuck 2+ months I've also filed a support case (ID: 20000114608599) but
Replies
1
Boosts
0
Views
134
Activity
2w
Organization Developer Account
I have been attempting to contact development support regarding verification of my organization in my signing ability on behalf of my organization because my account has not been. My initial filing was on May 5 for my new reference number because my first one got declined the developer portal as that it should only take two business days, but it is definitely taking a lot longer than that to verify my business. has anybody had this sort of issue before and is there a phone number to actually contact because the email process also seems to be delayed at this point in time. I work full-time and cannot receive phone calls during the day so putting in a ticket for someone to call me is not feasible. Hopefully somebody from the sports team will see this post and reach out to me and give me a way to contact Apple development support so I can get this finalized.
Replies
1
Boosts
0
Views
76
Activity
2w
Work with Reality Composer Pro content in Xcode
May I ask if there is a complete source code project for this instructional video that needs to be learned. Work with Reality Composer Pro content in Xcode
Replies
3
Boosts
0
Views
342
Activity
2w
Reply to NSInvalidArgumentException while sharing in UIDocumentInteractionController
The stack you've posted is entirely within the ShareSheet framework — no app frames are visible. -[__NSArrayM insertObject:atIndex:] + 1276 is the code path that throws NSInvalidArgumentException when you pass a nil object, so something inside SHSheetActivityItemsManager loadItemProvidersForRequest:activity:completion: is receiving a nil item provider for one of the activity items and adding it to an array without a nil check. That suggests a framework issue, but I'll need more to be confident. It's also possible that the specific item you're passing to UIDocumentInteractionController is what triggers the nil-provider path. A few things would help narrow this down: A full .ips crash report. Beyond the top frames, the thread that crashed, the other threads' states, and the binary images list all matter for diagnosis. The exception reason string matters most — the *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '...' line that usually precedes this kind of stack. Tha
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
2w
Enrollment Blocked: "Exceeded maximum attempts" after Mail Verification Bug for company enrollment
Hello, I am attempting to enroll in the Apple Developer Program as an Organization. During the email verification step, I encountered a technical error: no verification code was sent to my email (I confirmed the email address was correct and checked all folders). There was no Resend button available on the screen. After refreshing the page to try and fix the UI glitch, I was immediately blocked with the following error: Contact us to continue your enrollment. You’ve exceeded the maximum number of attempts. Please contact us. I have already opened a support ticket (Case ID: 102824565622), but since this is a time-sensitive corporate enrollment, I am looking for advice. Any help from the community or an Apple representative would be greatly appreciated. Thanks in advance, Yoni
Replies
1
Boosts
0
Views
166
Activity
2w
Reply to Multipeer Connectivity connection is flaky on iOS 26
Thank you very much for the very quick replies. Almost an honor to hear from two literal dev forum legends so quickly. This is much, much funnier than you'd realized. Up until COVID took WWDC virtual, Quinn and I would regularly end up hanging out together in the WWDC labs... talking someone out of using MultipeerConnectivity. Apparently, we've continued that habit into the forums. To the feedback FB22691771 I now added: Fabulous, all of that was perfect. In terms of what the logs show, if you narrow down to the MultipeerConnectivity library, you'll clearly see that it's repeatedly discovering the device and attempting to connect, only to have the connection fail over and over again. What's causing the full failure pattern isn't clear, but it's likely tied to these messages on the receiver side: 2026-05-11 08:30:50.990771+0200 wifip2pd: [com.apple.awdl:subscribe] AWDLBrowse _rps-service._tcp.local will attempt to stop 2026-05-11 08:30:50.991521+0200 wifip2pd: [com.apple.awdl:subscribe] AWDLBrowse _rp
Replies
Boosts
Views
Activity
2w
Markup Tool: Support for persistent tool presets (color, stroke, fill settings)
Markup Tool: Support for persistent tool presets (color, stroke, fill settings) I use Markup heavily for work — up to 20 images per day, always with the same settings: red arrow or rectangle, no fill, specific stroke width. The problem has two parts: Part 1 – Markup resets everything: Every time Markup is opened, all settings reset: tool, color, fill, stroke width. This means 3–4 manual steps per image, adding up to 80 unnecessary interactions per day. Part 2 – The default red is unusable: The red in Apple’s color palette is muted and too pale for clear, high-contrast annotations. I have to open the color wheel every single time to manually select a proper, vivid red. The copy/duplicate workaround only helps within one image — as soon as a new photo or screenshot is opened, everything starts over from scratch. Markup has no memory between different images. Switching to a third-party annotation app is not a solution — the entire advantage of Markup is its native integration directly within th
Replies
2
Boosts
0
Views
324
Activity
2w
AVFoundation: Strange error while trying to switch camera formats with the touch of a single button.
I'm getting the following output from my iOS app's debug console, note the error on the last line: Capture format keys: [600x600@25, 1200x1200@5, 1200x1200@30, 1600x1200@2, 1600x1200@30, 3200x2400@15, 3200x2400@2, 600x600@30] Start capture session for 1600x1200@30: Stop capture session: [vide] -> [vide] -> [vide] -> Start capture session for 600x600@30: [vide] -> [vide] -> [vide] -> <<<< FigSharedMemPool >>>> Fig assert: blkHdr->useCount > 0 at (FigSharedMemPool.c:591) - (err=0) This is in response to trying to switch capture formats between the two key modes that must regularly be used by my application. Below you will find the functions that I use to start and stop capturing frames to my preview layer. I have a UI with three buttons. Off Mode 1 Mode 2 If I tap the Off button in between tapping Mode 1 or Mode 2 all is well; I can do this all day. However, attempt to jump between Mode 1andMode 2` dir
Replies
1
Boosts
0
Views
1.1k
Activity
2w
Reply to AVFoundation: Strange error while trying to switch camera formats with the touch of a single button.
I re-wrote the code after much experimentation, some time ago, and solved the issue. Please ignore.
Replies
Boosts
Views
Activity
2w
Reply to My macOS app is getting closed by the system
Based on the documentation, this is intended to quickly terminate the app during logout or system shutdown. I'm not sure why we wrote it that way, but I believe that description is somewhat misleading. What sudden termination actually does is change how an app is expected to handle quit. The standard quit flow is that an app receives kAEQuitApplication, which then lets in opt in/out of exiting through applicationShouldTerminate(). Sudden termination reverses that approach. When sudden termination is enabled, the system quits your app by directly terminating it without any notice or warning. Your app is then responsible for telling the system NOT to do that by using disableSuddenTermination()/enableSuddenTermination(). You can read more about it here, but my guess is that it's probably not a factor. That's primarily because it's hard to send kAEQuitApplication to an FBA (Faceless Background App) unless you really dig into the system, but also because I believe we start with sudden termination disabled, so your
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to Xcode 26.4: IBOutlets/IBActions gutter circles missing — cannot connect storyboard to code (works in 26.3)
Is it only with objC code or Swift as well ? Xcode 26.5: In new iOS storyboard project I can connect IBOutlets from the Assistant editor in Swift...looks fixed there. Connection bubbles show. But in Objective-C the connection bubbles are completely gone from source files so in ObjC the problem is not fixed, actually worse. You can connect from the Connections Inspector though, but Xcode won't display connection status in ObjC source. So for me, because I still use ObjC the problem is worse. Hope that's not intentional. That would be very very negative evolution. You mean typing xibs by hand doesn't make you more productive!? 😂
Replies
Boosts
Views
Activity
2w
Reply to Overlay window above all windows, even when moving spaces
Your collectionBehavior is close — canJoinAllApplications is the right option for spanning other apps' Spaces — but two other pieces are missing for floating above full-screen apps: 1. Accessory activation policy. macOS doesn't layer regular foreground apps above other apps' full-screen Spaces. Overlay utilities like DropOver use NSApplicationActivationPolicyAccessory, which removes the Dock icon and app menu bar (most overlay utilities add a menu bar status item in their place) and lets the app's windows appear above full-screen content from other apps. In your app delegate's applicationDidFinishLaunching: NSApp.setActivationPolicy(.accessory) 2. NSPanel with .nonactivatingPanel. An NSWindow activates its app when ordered front, which can cause a full-screen app to exit its Space. An NSPanel with the .nonactivatingPanel style mask doesn't. Full panel setup: let panel = NSPanel( contentRect: NSRect(x: 200, y: 200, width: 260, height: 140), styleMask: [.nonactivatingPanel, .titled, .closable]
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w