Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,332 results found

Post

Replies

Boosts

Views

Activity

PDFPageAnalyzerV2 causes recursive os_unfair_lock crash (EXC_BREAKPOINT) on iPadOS 26.5 with PDFView singlePageContinuous
Environment Device: iPad Pro 11-inch 2nd gen (iPad8,9 / A12X) OS: iPadOS 26.5 (23F77) Xcode: 26.3 Issue App crashes with EXC_BREAKPOINT / SIGKILL when user scrolls through a PDF in PDFView on iPadOS 26.5. Crash Log (ASI) BUG IN CLIENT OF LIBPLATFORM: Trying to recursively lock an os_unfair_lock Abort Cause 259 Root Cause (from .ips) Two threads deadlock on os_unfair_lock inside CGPDFPageInsertTableDescriptions: Thread 0 (main): _os_unfair_lock_recursive_abort CGPDFPageInsertTableDescriptions [PDFPageAnalyzerV2 addTablesFromVisionDocument:documentImage:toPage:withBox:]_block_invoke_2 _dispatch_async_and_wait_invoke ← main thread waiting Thread (PDFKit.PDFDocument.formFillingQueue): _dispatch_sync_f_slow ← background queue waiting for main thread +[PDFPageAnalyzerV2 addTablesFromVisionDocument:documentImage:toPage:withBox:] +[PDFPageAnalyzerV2 analyzePage:withBox:requestTypes:] -[PDFView visiblePagesChanged:] ← triggered by scrolling PDFPageAnalyzerV2 dispatches_sync back to the main thread from PDFKit
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
46
1d
Reply to Nested virtualization support for macOS guests using VZMacPlatformConfiguration?
You are correct that nested virtualisation is not supported with macOS guests. Beyond that, I’m not sure if there’s much useful info I can give you. Let’s look at your remaining questions: [quote='827663021, trukhinyuri, /thread/827663, /profile/trukhinyuri'] 2- If not, should this be treated as an intentional current limitation … ? [/quote] Yes. [quote='827663021, trukhinyuri, /thread/827663, /profile/trukhinyuri'] 3- Is there a supported host-side API or validation behavior to detect this limitation before creating or starting the VM? [/quote] I don’t understand this question. As you’ve pointed at, the nested virtualisation properties are on VZGenericPlatformConfiguration rather than VZMacPlatformConfiguration, and creating a macOS guest requires the latter. Thus this lack of support is visible to you at compile time. There’s no need for dynamic validation. One consequence of this is that, if support for this were added in the future, it would require new API. If and when that happens, you’ll be ab
Topic: App & System Services SubTopic: Core OS Tags:
1d
App completely stuck in "Waiting for Review" queue for 2 months
Hi everyone, We are experiencing a bizarre issue with one of our apps, BLOKX. Here is the quick timeline: March 26: First submission. No status change for 2 weeks. We canceled and resubmitted. April 27: Still zero movement. We updated our SDK and submitted again on May 15. On the exact same day, we submitted other app from our developer account. It got reviewed and approved. Only BLOKX gets completely ignored. May 20: Suspecting a technical glitch with the specific App ID, we created a brand new App ID and submitted BLOKX as a completely fresh app. Today (May 27): Still stuck in Waiting for Review with zero movement. The Support Loop: We have already contacted Apple Support multiple times regarding the old App ID (Case ID: 102871846091 and Case ID: 102875670447). The replies we are getting are incredibly frustrating and factually incorrect. Support keeps replying with a generic template stating that the app “was just submitted today” (matching the exact date of their email reply), completely ignoring
0
0
77
1d
Production-down apps stuck in WAITING_FOR_REVIEW — expedited request unacknowledged, escalation path?
Hi all — looking for any escalation path for two production-impacting submissions currently stuck in WAITING_FOR_REVIEW. Both apps' live App Store versions are broken for 100% of users; the submissions contain minimal, scope-limited fixes (no new APIs, entitlements, data collection, or UI). The Android equivalents are already live and verified working. MeetingMind: AI Note Taker (Apple ID 6757317991) — v6.1.2 / build 49, submission ID f88195d3-6c35-4e6d-a7a9-6f34b44bf0e7. Waiting since 2026-05-24 (3+ days). Bug: outbound phone calls fail to relay audio from the called party to the caller. Fix: ~5 lines in VoipService.swift. ReadAloudAI: Voice Reader (Apple ID 6757346255) — v7.9.1 / build 38, submission ID 21f4510f-4690-4d15-b559-437f89e037ca. Waiting since 2026-05-26. Bug: backend Cloud Run URLs retired, text-to-speech (core feature) fails for all users on v7.9 and earlier. Fix: configuration-only URL migration to Fly.io. Already done: expedited review filed via the contact form earlier today (no ack
1
0
34
1d
Unintended X-axis layout shift of a Button when sibling views animate and keyboard appears
Hello everyone, My name is Keita Tomizu. I'm a university student in Japan, currently developing a personal app. I am facing a tricky SwiftUI layout issue that I have spent hours trying to solve, and I would really appreciate your insights. Context & Goal: I have an overlay UI layer (zIndex(4)) consisting of a VStack that contains top and bottom HStacks. • In the top-left, there is a back button (<). • In the top-right and bottom-right, there are action buttons. • When a user taps the bottom-right button, a state isShowingAddView becomes true. This brings up a keyboard and a custom view in the background. • My Goal: When isShowingAddView is true, the right-side buttons should scale up and fade out (opacity to 0) in place. The top-left < button should remain completely static and anchored in its exact position. The Issue: When the state toggles, the < button unexpectedly shifts horizontally (along the X-axis) and sometimes behaves erratically, moving off-screen or losing its static position. Also,
Topic: Design SubTopic: General
0
0
182
1d
Reply to iCloud Sync not working with iPhone, works fine for Mac.
I have had this exact issue off and on over the past few months. I am using Codex to help code my app and finally after some extensive debugging and setting up a simple test App specifically to test CloudKit syncs, Codex came up with a fix for me. In summary: Fixed CloudKit sync wakeups by replacing the shared SyncSignal subscription with per-device subscriptions. After this simple change, all the data sync between my MacBook Air, iPhone, and iPad has been rock-solid. Hope this helps someone.
Topic: App & System Services SubTopic: iCloud Tags:
1d
Reply to SwiftUI Button with Image view label has smaller hit target
Thanks, @DTS Engineer. I haven’t tried that exact workaround, but I expect it works. Defining the label differently also avoids the issue with less code, so there are multiple workarounds. The bigger issue is the tap feedback. Tapping outside the SF Symbol but inside the visible button can show the normal bounce animation without triggering the action. If the action doesn’t run, the button shouldn’t look like it accepted the tap. This feels related to another issue I reported, where a disabled button still bounces like an active button:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1d
Reply to AppTransaction.shared throws StoreKitError code=2 in macOS TestFlight while deviceVerificationID is available
Is AppTransaction.shared expected to work for macOS apps distributed through TestFlight? Yes. If yes, what does StoreKitError code=2 indicate in this context, and what setup might be missing? It represents networkError(URLError), which indicates that a network error occurred. You can find it by handling the error in your code do { let result = try await AppTransaction.shared ....... } catch let error as StoreKitError { print(error.localizedDescription) } For more information, see Handling errors and Error Handling. For macOS apps that need a device-bound trust signal comparable to iOS App Attest, is AppStore.deviceVerificationID intended to be used without AppTransaction.shared, or should these APIs be used together? AppStore.deviceVerificationID is used for transaction verification. For more information, see deviceVerificationID.
Topic: App & System Services SubTopic: StoreKit Tags:
1d
Reply to SwiftUI Button with Image view label has smaller hit target
Thanks for the post. When you use a custom label: closure containing only an Image, SwiftUI sizes the button exactly to the intrinsic bounds of that image. If the image is small, like a standard SF Symbol, the minimum tap target size of 44x44. You can explicitly define a minimum frame for the image. However, when you expand the frame of an image, the empty space around it might not register taps. To fix this, apply .contentShape(Rectangle()) to tell SwiftUI that the entire bounding box should be interactive. In place code using your code above without using Xcode. Button { print(Button 3 tapped) } label: { Image(systemName: 3.square.fill) .frame(minWidth: 44, minHeight: 44) .contentShape(Rectangle()) } Albert
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
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.
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
no response and no developer account
Hi everyone, Apple took $79 from my bank account last week because I wanted to sign up to sell my app on the store. In my account, it says you need to complete your purchase, but the money has been charged in my account, and I have no access to any developer account. I have sent two emails to Apple support with no reply. Does anyone know how to get a refund or how to fix this?
0
0
25
1d
Passwordless Wi-Fi provisioning for better UX
Hello Apple Developer Forums, We are evaluating AccessorySetupKit for onboarding a custom Wi-Fi smart-home accessory. Our main goal is to achieve password-less Wi-Fi provisioning, meaning the user would not need to manually type a Wi-Fi password or setup/pairing code during onboarding. We would like to understand whether ASK currently supports, or is intended to support: Secure Wi-Fi credential provisioning through system APIs Fully system-mediated onboarding flows Provisioning for headless/no-display accessories More specifically: Can password-less Wi-Fi provisioning be implemented using only public ASK APIs? Is a pairing/setup code always required? Or are developers still expected to use temporary AP mode and custom credential transfer flows? We are trying to determine the recommended onboarding architecture for future products. Thank you.
0
0
21
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
PDFPageAnalyzerV2 causes recursive os_unfair_lock crash (EXC_BREAKPOINT) on iPadOS 26.5 with PDFView singlePageContinuous
Environment Device: iPad Pro 11-inch 2nd gen (iPad8,9 / A12X) OS: iPadOS 26.5 (23F77) Xcode: 26.3 Issue App crashes with EXC_BREAKPOINT / SIGKILL when user scrolls through a PDF in PDFView on iPadOS 26.5. Crash Log (ASI) BUG IN CLIENT OF LIBPLATFORM: Trying to recursively lock an os_unfair_lock Abort Cause 259 Root Cause (from .ips) Two threads deadlock on os_unfair_lock inside CGPDFPageInsertTableDescriptions: Thread 0 (main): _os_unfair_lock_recursive_abort CGPDFPageInsertTableDescriptions [PDFPageAnalyzerV2 addTablesFromVisionDocument:documentImage:toPage:withBox:]_block_invoke_2 _dispatch_async_and_wait_invoke ← main thread waiting Thread (PDFKit.PDFDocument.formFillingQueue): _dispatch_sync_f_slow ← background queue waiting for main thread +[PDFPageAnalyzerV2 addTablesFromVisionDocument:documentImage:toPage:withBox:] +[PDFPageAnalyzerV2 analyzePage:withBox:requestTypes:] -[PDFView visiblePagesChanged:] ← triggered by scrolling PDFPageAnalyzerV2 dispatches_sync back to the main thread from PDFKit
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
46
Activity
1d
Reply to Nested virtualization support for macOS guests using VZMacPlatformConfiguration?
You are correct that nested virtualisation is not supported with macOS guests. Beyond that, I’m not sure if there’s much useful info I can give you. Let’s look at your remaining questions: [quote='827663021, trukhinyuri, /thread/827663, /profile/trukhinyuri'] 2- If not, should this be treated as an intentional current limitation … ? [/quote] Yes. [quote='827663021, trukhinyuri, /thread/827663, /profile/trukhinyuri'] 3- Is there a supported host-side API or validation behavior to detect this limitation before creating or starting the VM? [/quote] I don’t understand this question. As you’ve pointed at, the nested virtualisation properties are on VZGenericPlatformConfiguration rather than VZMacPlatformConfiguration, and creating a macOS guest requires the latter. Thus this lack of support is visible to you at compile time. There’s no need for dynamic validation. One consequence of this is that, if support for this were added in the future, it would require new API. If and when that happens, you’ll be ab
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1d
App completely stuck in "Waiting for Review" queue for 2 months
Hi everyone, We are experiencing a bizarre issue with one of our apps, BLOKX. Here is the quick timeline: March 26: First submission. No status change for 2 weeks. We canceled and resubmitted. April 27: Still zero movement. We updated our SDK and submitted again on May 15. On the exact same day, we submitted other app from our developer account. It got reviewed and approved. Only BLOKX gets completely ignored. May 20: Suspecting a technical glitch with the specific App ID, we created a brand new App ID and submitted BLOKX as a completely fresh app. Today (May 27): Still stuck in Waiting for Review with zero movement. The Support Loop: We have already contacted Apple Support multiple times regarding the old App ID (Case ID: 102871846091 and Case ID: 102875670447). The replies we are getting are incredibly frustrating and factually incorrect. Support keeps replying with a generic template stating that the app “was just submitted today” (matching the exact date of their email reply), completely ignoring
Replies
0
Boosts
0
Views
77
Activity
1d
Production-down apps stuck in WAITING_FOR_REVIEW — expedited request unacknowledged, escalation path?
Hi all — looking for any escalation path for two production-impacting submissions currently stuck in WAITING_FOR_REVIEW. Both apps' live App Store versions are broken for 100% of users; the submissions contain minimal, scope-limited fixes (no new APIs, entitlements, data collection, or UI). The Android equivalents are already live and verified working. MeetingMind: AI Note Taker (Apple ID 6757317991) — v6.1.2 / build 49, submission ID f88195d3-6c35-4e6d-a7a9-6f34b44bf0e7. Waiting since 2026-05-24 (3+ days). Bug: outbound phone calls fail to relay audio from the called party to the caller. Fix: ~5 lines in VoipService.swift. ReadAloudAI: Voice Reader (Apple ID 6757346255) — v7.9.1 / build 38, submission ID 21f4510f-4690-4d15-b559-437f89e037ca. Waiting since 2026-05-26. Bug: backend Cloud Run URLs retired, text-to-speech (core feature) fails for all users on v7.9 and earlier. Fix: configuration-only URL migration to Fly.io. Already done: expedited review filed via the contact form earlier today (no ack
Replies
1
Boosts
0
Views
34
Activity
1d
Unintended X-axis layout shift of a Button when sibling views animate and keyboard appears
Hello everyone, My name is Keita Tomizu. I'm a university student in Japan, currently developing a personal app. I am facing a tricky SwiftUI layout issue that I have spent hours trying to solve, and I would really appreciate your insights. Context & Goal: I have an overlay UI layer (zIndex(4)) consisting of a VStack that contains top and bottom HStacks. • In the top-left, there is a back button (<). • In the top-right and bottom-right, there are action buttons. • When a user taps the bottom-right button, a state isShowingAddView becomes true. This brings up a keyboard and a custom view in the background. • My Goal: When isShowingAddView is true, the right-side buttons should scale up and fade out (opacity to 0) in place. The top-left < button should remain completely static and anchored in its exact position. The Issue: When the state toggles, the < button unexpectedly shifts horizontally (along the X-axis) and sometimes behaves erratically, moving off-screen or losing its static position. Also,
Topic: Design SubTopic: General
Replies
0
Boosts
0
Views
182
Activity
1d
Reply to iCloud Sync not working with iPhone, works fine for Mac.
I have had this exact issue off and on over the past few months. I am using Codex to help code my app and finally after some extensive debugging and setting up a simple test App specifically to test CloudKit syncs, Codex came up with a fix for me. In summary: Fixed CloudKit sync wakeups by replacing the shared SyncSignal subscription with per-device subscriptions. After this simple change, all the data sync between my MacBook Air, iPhone, and iPad has been rock-solid. Hope this helps someone.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
1d
Reply to SwiftUI Button with Image view label has smaller hit target
Thanks, @DTS Engineer. I haven’t tried that exact workaround, but I expect it works. Defining the label differently also avoids the issue with less code, so there are multiple workarounds. The bigger issue is the tap feedback. Tapping outside the SF Symbol but inside the visible button can show the normal bounce animation without triggering the action. If the action doesn’t run, the button shouldn’t look like it accepted the tap. This feels related to another issue I reported, where a disabled button still bounces like an active button:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
1d
Reply to AppTransaction.shared throws StoreKitError code=2 in macOS TestFlight while deviceVerificationID is available
Is AppTransaction.shared expected to work for macOS apps distributed through TestFlight? Yes. If yes, what does StoreKitError code=2 indicate in this context, and what setup might be missing? It represents networkError(URLError), which indicates that a network error occurred. You can find it by handling the error in your code do { let result = try await AppTransaction.shared ....... } catch let error as StoreKitError { print(error.localizedDescription) } For more information, see Handling errors and Error Handling. For macOS apps that need a device-bound trust signal comparable to iOS App Attest, is AppStore.deviceVerificationID intended to be used without AppTransaction.shared, or should these APIs be used together? AppStore.deviceVerificationID is used for transaction verification. For more information, see deviceVerificationID.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
1d
Reply to SwiftUI Button with Image view label has smaller hit target
Thanks for the post. When you use a custom label: closure containing only an Image, SwiftUI sizes the button exactly to the intrinsic bounds of that image. If the image is small, like a standard SF Symbol, the minimum tap target size of 44x44. You can explicitly define a minimum frame for the image. However, when you expand the frame of an image, the empty space around it might not register taps. To fix this, apply .contentShape(Rectangle()) to tell SwiftUI that the entire bounding box should be interactive. In place code using your code above without using Xcode. Button { print(Button 3 tapped) } label: { Image(systemName: 3.square.fill) .frame(minWidth: 44, minHeight: 44) .contentShape(Rectangle()) } Albert
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
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
no response and no developer account
Hi everyone, Apple took $79 from my bank account last week because I wanted to sign up to sell my app on the store. In my account, it says you need to complete your purchase, but the money has been charged in my account, and I have no access to any developer account. I have sent two emails to Apple support with no reply. Does anyone know how to get a refund or how to fix this?
Replies
0
Boosts
0
Views
25
Activity
1d
Passwordless Wi-Fi provisioning for better UX
Hello Apple Developer Forums, We are evaluating AccessorySetupKit for onboarding a custom Wi-Fi smart-home accessory. Our main goal is to achieve password-less Wi-Fi provisioning, meaning the user would not need to manually type a Wi-Fi password or setup/pairing code during onboarding. We would like to understand whether ASK currently supports, or is intended to support: Secure Wi-Fi credential provisioning through system APIs Fully system-mediated onboarding flows Provisioning for headless/no-display accessories More specifically: Can password-less Wi-Fi provisioning be implemented using only public ASK APIs? Is a pairing/setup code always required? Or are developers still expected to use temporary AP mode and custom credential transfer flows? We are trying to determine the recommended onboarding architecture for future products. Thank you.
Replies
0
Boosts
0
Views
21
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