Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,332 results found

Post

Replies

Boosts

Views

Activity

Reply to M4 Mac Mini: Xcode generates private keys with wrong label - codesigning impossible
I’m still hoping that someone can explain under what circumstances xCode or KeyChain Access would generate a new certificate and private key that are not paired (code signed). My M4 Mac Mini was setup using a Time Machine backup but I lost the private key. I used Claude and Gemini AI to guide me but none of their ‘solutions’ worked. Their latest suggestion was to create this post. A complete factory reset and rebuild of my Mac Mini without using a Time Machine backup would probably solve the problem but without understanding what caused it.
1d
Reply to C++ STL bug
Thanks for your post. Could you please provide additional details about the bug? If possible, please include the code that reproduces the issue. This information will be invaluable in identifying a workaround or a fix promptly. Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. I'm sure many engineers here are looking forward to your simple focused project. Albert
  Worldwide Developer Relations.
1d
Reply to FSKit removeItem Not Being Called
Could this be related to how file permissions or attributes are set during createItem? Yes, absolutely. FSKit and the VFS layer may be using this data, but even if they weren’t, many tools/apps preflight operations before they perform them. Related to that point, this kind of real world testing: Terminal command: rm -rf /path/to/mounted/file option + cmd + delete to remove the file in Finder ...isn't all that useful when you're trying to get a file system working. A simple tool like rm is 600+ lines of code, but that's ignoring the fact that it's built on fts which pulls in even more code. For diagnostic purposes, you want to know exactly which syscalls occurred and what/how they failed, but either of those tests is FAR too high a level to determine that. The better approach here is to write your own very basic test tool, so you can see exactly what's going on. Looking at specific details: entitlements required for removeItem to be invoked? No, nothing like that is required. Similarly: Is th
Topic: App & System Services SubTopic: Core OS Tags:
1d
iOS Camera app code
What's the underlying code for ios's camera app ? like how does it assign metadata and filename? is it java or something else ? Can another app be created to use the same basic code with added extra features ?
11
0
545
1d
Enrollment stuck on "Pending" for 96+ hours after successful payment - No support response (Case #102893928841)
I am writing to seek help with my Apple Developer Program enrollment, which has been stuck on Pending status for more than 96 hours after a successful payment. My support case has also not received any reply within the promised 2 business days. Enrollment Details: Region: Turkey Payment date/time: May 17, 2026, 19:03 (GMT+3 / Turkey Time) Time elapsed since payment: 96+ hours Enrollment type: [Individual / Organization] Order Number: W1801866909 Current Status: My account still shows Pending Dashboard continues to display: Purchase your membership. To continue your enrollment, complete your purchase now. Your purchase may take up to 48 hours to process. The 48-hour processing window has been exceeded twice over I have NOT clicked complete your purchase again, to avoid a duplicate charge Support Case: Case Number: 102893928841 & #102896148475 Response received: None, despite the promised 2 business day response window What I have already verified: Two-Factor Authentication is ena
1
0
141
1d
Reply to Enrollment stuck on "Pending" for 96+ hours after successful payment - No support response (Case #102893928841)
Update — May 26, 2026 (Day 9): Still no response from Apple Developer Support. Both support cases (#102893928841 and #102896148475) remain unanswered well beyond the promised 2 business day response window. Day 1-2: Payment processing window (acceptable) Day 3: First support case opened — no reply Day 5: Second support case opened — no reply Day 9 (today): Still Pending, dashboard still shows complete your purchase Could @Apple Developer Support please prioritize manual review of stuck enrollments? Several threads from the past weeks describe the same exact issue (links: [search enrollment pending in this forum and link 2-3 similar threads]). This delay is significantly impacting my work. Any update would be greatly appreciated.
1d
Reply to iOS Camera app code
Hey @anmac1789, so is there like some animation that shows the timeline of code being executed to when the capture image is generated ? Not exactly, you could use signposts and Instruments to help you visualize this timeline though. For example, you could begin a signpost in your code when you call capturePhoto, and then you can end the signpost when you receive that photo in the AVCapturePhotoCaptureDelegate. See Recording Performance Data for more information about signposts and Instruments.
1d
MacOS 26.4 beta “Failed to prepare software update”
I have received this installation error attempting to upgrade from MacOS 26.4 beta 2 to beta 3 on my Intel 2020 27” iMac, and now trying to install beta 4 from beta 3 on my M1 Max MBP. I have seen from a sprinkling of post that some others have had the same issue. I was able to successfully perform the 2 to 3 upgrade on the iMac in safe boot, suggesting possible compatible, third-party app. But that did not work for beta 4 on either device. I have submitted feedback for each episode. Any others have this issue? Unusual for Apple, I have never had any issues installing beta software before.
7
0
1.2k
1d
Additional Vendor ID Approval
Requested DriverKit USB Transport - VendorID for two VendorID, one in main request and one in the description of the request. Then I was approved but found out the provisioning profile only had 1 vendor id. I then sent another request ID 964Y77AHUZ to add the other vendor id but have not heard back for a week now. What is the turn-around time on these requests? Anyway to request this to be expedited? Thank you, --Michael Team ID: MZR5GHAQX4
3
0
171
1d
Reply to iOS app will not auto-sleep
Thanks for your post and congratulations on your SwiftUI app. Is the iPhone is plugged into your Mac and running through Xcode? The debugger alters the device's power management and prevents it from sleeping normally so you don't lose your debugging session. There are a few things that prevents the device for going to sleep that you may be using without knowing. On top of my head. If you are using the camera, you likely have an AVCaptureSession running, make sure the camera session is not actively running, because it assumes the user is framing a shot or recording. Even if the camera view is hidden behind another SwiftUI view or you navigated to a different tab, if you didn't explicitly tell the session to stop, it keeps running in the background and keeps the screen awake. Temporarily comment out the code that calls session.startRunning() and see if the phone sleeps. If it does, you know the camera is the issue. Another one, do a global search in your Xcode project for isIdleTimerDisabled Since you
1d
iOS app will not auto-sleep
Hello, I am working on a iOS app. This is my first big project in SwiftUI which it is going well besides I can not get my phone to auto-sleep/auto-lock when I am in the app. I am testing the app on my phone through xcode. As I am checking my energy report on idle it is saying Low and is almost to the very bottom, and my memory is idling at 90MB~115MB which seems very low. Now If I just leave the app it works right away even if I do not clear the app. I am wondering if anyone has any ideas on how to help me with this issue. I am using HealthKit, a Timer and the camera. I am making a workout app to give some information. I can also give more info if needed I will appreciate any help or ideas. I have tried to use AI to see if it can find any issues and it said that it didn't see anything wrong with my code that will cause it not to sleep now that is AI and it isn't perfect so I would appreciate any help.
1
0
33
1d
MacBook Pro m5 can’t recognize two external monitors with same EDID binary serial (only one works at a time)
My MacBook Pro M5 running MacOS Tahoe 26.3 beta fails to detect two identical ASUS ROG Swift OLED PG32UCDM monitors simultaneously. Only one display is recognized at a time. One potential root cause might be that both monitors report identical binary EDID serial numbers (0x01010101), and the MacBook Pro M5 appears to use this value exclusively for display identity rather than combining it with other more detailed information (e.g., port, or alphanumeric serial number). I've verified that the monitor EDID binary serial numbers are in fact identical -- however the alphanumerical serial numbers are not identical. NOTE: This behavior is specific to the MacBook Pro M5 — when connecting both monitors via usb-c to a Mac Mini M4 Pro running the same MacOS Tahoe 26.3 beta, the monitors work fine. The OS detects both and assigns different names to them (PG32UCDM (1) and PG32UCDM (2)). NOTE: I could be wrong about this root cause, I don't have a way to disprove it, though the fact the monitors work fin
20
0
1.2k
1d
AssistiveTouch eye tracker HID over USB-C/iAP2 accepted by iPadOS, but gaze point mapping is wrong
I’m implementing an Apple AssistiveTouch eye tracker accessory for iPad over USB-C using iAP2 plus native HID Gaze Point reports. Current state: iAP2 authentication succeeds identification succeeds StartNativeHID is received AssistiveTouchInformation(IsEnabled=true) is received iPadOS enumerates the HID interface and consumes the interrupt IN reports The remaining issue is that the gaze-point behavior is not interpreted as direct screen coordinates. Repeated fixed gaze inputs produce deterministic but incorrect cursor motion, often appearing like orbiting or projection around a locus rather than stable placement. I have tested: the 119-byte Apple example HID descriptor from the Accessory Interface Specification two report-1 layouts: timestamp + x + y status + timestamp + x + y normalized and physical coordinate scaling verified on the wire that the intended report bytes are sent and consumed iPad console logs show internal model point (HID r) values and multiple derived Pointer positions for a single
2
0
341
1d
Reply to M4 Mac Mini: Xcode generates private keys with wrong label - codesigning impossible
I’m still hoping that someone can explain under what circumstances xCode or KeyChain Access would generate a new certificate and private key that are not paired (code signed). My M4 Mac Mini was setup using a Time Machine backup but I lost the private key. I used Claude and Gemini AI to guide me but none of their ‘solutions’ worked. Their latest suggestion was to create this post. A complete factory reset and rebuild of my Mac Mini without using a Time Machine backup would probably solve the problem but without understanding what caused it.
Replies
Boosts
Views
Activity
1d
Reply to C++ STL bug
Thanks for your post. Could you please provide additional details about the bug? If possible, please include the code that reproduces the issue. This information will be invaluable in identifying a workaround or a fix promptly. Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. I'm sure many engineers here are looking forward to your simple focused project. Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1d
Reply to FSKit removeItem Not Being Called
Could this be related to how file permissions or attributes are set during createItem? Yes, absolutely. FSKit and the VFS layer may be using this data, but even if they weren’t, many tools/apps preflight operations before they perform them. Related to that point, this kind of real world testing: Terminal command: rm -rf /path/to/mounted/file option + cmd + delete to remove the file in Finder ...isn't all that useful when you're trying to get a file system working. A simple tool like rm is 600+ lines of code, but that's ignoring the fact that it's built on fts which pulls in even more code. For diagnostic purposes, you want to know exactly which syscalls occurred and what/how they failed, but either of those tests is FAR too high a level to determine that. The better approach here is to write your own very basic test tool, so you can see exactly what's going on. Looking at specific details: entitlements required for removeItem to be invoked? No, nothing like that is required. Similarly: Is th
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1d
Reply to iOS Camera app code
Alright, I'll just have to try that but, is there a camera app out there that can set custom filename or watermarks but that uses the similar or same camera codes that native ios system camera uses ?
Replies
Boosts
Views
Activity
1d
iOS Camera app code
What's the underlying code for ios's camera app ? like how does it assign metadata and filename? is it java or something else ? Can another app be created to use the same basic code with added extra features ?
Replies
11
Boosts
0
Views
545
Activity
1d
Enrollment stuck on "Pending" for 96+ hours after successful payment - No support response (Case #102893928841)
I am writing to seek help with my Apple Developer Program enrollment, which has been stuck on Pending status for more than 96 hours after a successful payment. My support case has also not received any reply within the promised 2 business days. Enrollment Details: Region: Turkey Payment date/time: May 17, 2026, 19:03 (GMT+3 / Turkey Time) Time elapsed since payment: 96+ hours Enrollment type: [Individual / Organization] Order Number: W1801866909 Current Status: My account still shows Pending Dashboard continues to display: Purchase your membership. To continue your enrollment, complete your purchase now. Your purchase may take up to 48 hours to process. The 48-hour processing window has been exceeded twice over I have NOT clicked complete your purchase again, to avoid a duplicate charge Support Case: Case Number: 102893928841 & #102896148475 Response received: None, despite the promised 2 business day response window What I have already verified: Two-Factor Authentication is ena
Replies
1
Boosts
0
Views
141
Activity
1d
Reply to Enrollment stuck on "Pending" for 96+ hours after successful payment - No support response (Case #102893928841)
Update — May 26, 2026 (Day 9): Still no response from Apple Developer Support. Both support cases (#102893928841 and #102896148475) remain unanswered well beyond the promised 2 business day response window. Day 1-2: Payment processing window (acceptable) Day 3: First support case opened — no reply Day 5: Second support case opened — no reply Day 9 (today): Still Pending, dashboard still shows complete your purchase Could @Apple Developer Support please prioritize manual review of stuck enrollments? Several threads from the past weeks describe the same exact issue (links: [search enrollment pending in this forum and link 2-3 similar threads]). This delay is significantly impacting my work. Any update would be greatly appreciated.
Replies
Boosts
Views
Activity
1d
Reply to iOS Camera app code
Hey @anmac1789, so is there like some animation that shows the timeline of code being executed to when the capture image is generated ? Not exactly, you could use signposts and Instruments to help you visualize this timeline though. For example, you could begin a signpost in your code when you call capturePhoto, and then you can end the signpost when you receive that photo in the AVCapturePhotoCaptureDelegate. See Recording Performance Data for more information about signposts and Instruments.
Replies
Boosts
Views
Activity
1d
Reply to iOS Camera app code
I am relatively new to swift programming Im trying to learn as much as I can, so is there like some animation that shows the timeline of code being executed to when the capture image is generated ?
Replies
Boosts
Views
Activity
1d
MacOS 26.4 beta “Failed to prepare software update”
I have received this installation error attempting to upgrade from MacOS 26.4 beta 2 to beta 3 on my Intel 2020 27” iMac, and now trying to install beta 4 from beta 3 on my M1 Max MBP. I have seen from a sprinkling of post that some others have had the same issue. I was able to successfully perform the 2 to 3 upgrade on the iMac in safe boot, suggesting possible compatible, third-party app. But that did not work for beta 4 on either device. I have submitted feedback for each episode. Any others have this issue? Unusual for Apple, I have never had any issues installing beta software before.
Replies
7
Boosts
0
Views
1.2k
Activity
1d
Additional Vendor ID Approval
Requested DriverKit USB Transport - VendorID for two VendorID, one in main request and one in the description of the request. Then I was approved but found out the provisioning profile only had 1 vendor id. I then sent another request ID 964Y77AHUZ to add the other vendor id but have not heard back for a week now. What is the turn-around time on these requests? Anyway to request this to be expedited? Thank you, --Michael Team ID: MZR5GHAQX4
Replies
3
Boosts
0
Views
171
Activity
1d
Reply to iOS app will not auto-sleep
Thanks for your post and congratulations on your SwiftUI app. Is the iPhone is plugged into your Mac and running through Xcode? The debugger alters the device's power management and prevents it from sleeping normally so you don't lose your debugging session. There are a few things that prevents the device for going to sleep that you may be using without knowing. On top of my head. If you are using the camera, you likely have an AVCaptureSession running, make sure the camera session is not actively running, because it assumes the user is framing a shot or recording. Even if the camera view is hidden behind another SwiftUI view or you navigated to a different tab, if you didn't explicitly tell the session to stop, it keeps running in the background and keeps the screen awake. Temporarily comment out the code that calls session.startRunning() and see if the phone sleeps. If it does, you know the camera is the issue. Another one, do a global search in your Xcode project for isIdleTimerDisabled Since you
Replies
Boosts
Views
Activity
1d
iOS app will not auto-sleep
Hello, I am working on a iOS app. This is my first big project in SwiftUI which it is going well besides I can not get my phone to auto-sleep/auto-lock when I am in the app. I am testing the app on my phone through xcode. As I am checking my energy report on idle it is saying Low and is almost to the very bottom, and my memory is idling at 90MB~115MB which seems very low. Now If I just leave the app it works right away even if I do not clear the app. I am wondering if anyone has any ideas on how to help me with this issue. I am using HealthKit, a Timer and the camera. I am making a workout app to give some information. I can also give more info if needed I will appreciate any help or ideas. I have tried to use AI to see if it can find any issues and it said that it didn't see anything wrong with my code that will cause it not to sleep now that is AI and it isn't perfect so I would appreciate any help.
Replies
1
Boosts
0
Views
33
Activity
1d
MacBook Pro m5 can’t recognize two external monitors with same EDID binary serial (only one works at a time)
My MacBook Pro M5 running MacOS Tahoe 26.3 beta fails to detect two identical ASUS ROG Swift OLED PG32UCDM monitors simultaneously. Only one display is recognized at a time. One potential root cause might be that both monitors report identical binary EDID serial numbers (0x01010101), and the MacBook Pro M5 appears to use this value exclusively for display identity rather than combining it with other more detailed information (e.g., port, or alphanumeric serial number). I've verified that the monitor EDID binary serial numbers are in fact identical -- however the alphanumerical serial numbers are not identical. NOTE: This behavior is specific to the MacBook Pro M5 — when connecting both monitors via usb-c to a Mac Mini M4 Pro running the same MacOS Tahoe 26.3 beta, the monitors work fine. The OS detects both and assigns different names to them (PG32UCDM (1) and PG32UCDM (2)). NOTE: I could be wrong about this root cause, I don't have a way to disprove it, though the fact the monitors work fin
Replies
20
Boosts
0
Views
1.2k
Activity
1d
AssistiveTouch eye tracker HID over USB-C/iAP2 accepted by iPadOS, but gaze point mapping is wrong
I’m implementing an Apple AssistiveTouch eye tracker accessory for iPad over USB-C using iAP2 plus native HID Gaze Point reports. Current state: iAP2 authentication succeeds identification succeeds StartNativeHID is received AssistiveTouchInformation(IsEnabled=true) is received iPadOS enumerates the HID interface and consumes the interrupt IN reports The remaining issue is that the gaze-point behavior is not interpreted as direct screen coordinates. Repeated fixed gaze inputs produce deterministic but incorrect cursor motion, often appearing like orbiting or projection around a locus rather than stable placement. I have tested: the 119-byte Apple example HID descriptor from the Accessory Interface Specification two report-1 layouts: timestamp + x + y status + timestamp + x + y normalized and physical coordinate scaling verified on the wire that the intended report bytes are sent and consumed iPad console logs show internal model point (HID r) values and multiple derived Pointer positions for a single
Replies
2
Boosts
0
Views
341
Activity
1d