Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,347 results found

Post

Replies

Boosts

Views

Activity

iOS 26 Full Keyboard Access with custom UITableViewCell
On iOS 26 with Full Keyboard Access enabled, a UITableView(style: .grouped) with custom cells only enumerates section 0 in the Ctrl+Tab focus order (But it works with arrow keys). Cells in sections 1+ are reachable via arrow keys, and canFocusRowAt fires and returns true when arrows spatially reach them — but Tab leaves the table after the last row of section 0 and jumps to the next focus item outside the table. Same code works correctly on iOS 18.x. focusGroupIdentifier strategies (single ID on the table, same ID across view/table/every cell, unique ID per cell) have no effect. tableView.allowsFocus is true. Is this a known iOS 26? Has anyone else run into this? final class CardCell: UITableViewCell { private let cardView = UIView() override init(style: CellStyle, reuseIdentifier: String?) { super.init(style: style, reuseIdentifier: reuseIdentifier) cardView.backgroundColor = .white cardView.translatesAutoresizingMaskIntoConstraints = false contentView.addSubview(cardView) NSLayoutConstraint.activat
2
0
481
6d
"In-App Purchases and Subscriptions" section missing from version page — cannot submit subscriptions with binary
I have an iOS app with two auto-renewable subscriptions (monthly and annual) that are fully configured and ready for their first submission. Both products have complete metadata, pricing, localizations, review screenshots, and review notes. The problem: The In-App Purchases and Subscriptions section does not appear on the version preparation page. It should appear between App Review Information and App Store Version Release, but it's missing entirely. This means I cannot link the subscriptions to my app version for a combined submission. How I got here: I initially submitted the subscriptions for review independently (via the Submit for Review button on the subscription product page), not realizing they needed to be submitted alongside a binary. This resulted in a Guideline 3.1.1 rejection. I then created a new app version with a build, but the In-App Purchases and Subscriptions section did not appear on the version page. Not realizing this section should exist, I submitted the app — it was approved
0
0
142
6d
Reply to A few issues with the iPhone Photos app
(part 2 of 2) — continuing from my response above. The following performance considerations and progressive-loading techniques apply to both the SwiftUI path and the UIKit path described in part 1. PhotoKit performance tips (apply to both paths) A few details from the PHCachingImageManager and PHImageManager header comments that are easy to miss and matter for smoothness: Use PHImageRequestOptionsDeliveryModeOpportunistic (the default for async requests) — your result handler may be called multiple times: first with a fast, lower-quality result, then with the final high-quality image as it becomes available. This is what lets the grid feel instant even while the real thumbnails are still being prepared. From the header: client may get several image results when the call is asynchronous. Match your caching options exactly to your request options. From the startCachingImagesForAssets header comment: The options values shall exactly match the options values used in loading methods. If your targ
Topic: App & System Services SubTopic: General Tags:
6d
Reply to A few issues with the iPhone Photos app
Thanks for the positive observation about the Photos app's grid zoom — it is genuinely smooth, and wanting to replicate that in your own app is a reasonable aspiration. I spent some cycles putting together the following summary of APIs you may wish to explore pursuing this goal. A framing note before getting to the substance: I can't share the specifics of how Apple's Photos app is implemented internally, since that's not something DTS can detail. What I can do is point you to the public APIs and techniques that let you build similar grid-zoom behavior in your own app. The good news is that the public surface includes a class for the interpolated-zoom effect you're after. The SwiftUI path For a photo-library-backed grid with smooth pinch-to-zoom in SwiftUI, the building blocks are: LazyVGrid for the grid container (iOS 14 or later). MagnifyGesture (iOS 17 or later) for pinch input. MagnifyGesture replaced the now-deprecated MagnificationGesture; the gesture's value gives you the magnification factor to drive
Topic: App & System Services SubTopic: General Tags:
6d
Reply to Cannot create MusicKit key — "There are no identifiers available that can be associated with the key"
Thanks for the detailed report. The symptom you're describing — App ID with MusicKit capability shows as enabled, but the Media Services key creation says no identifiers available — is a clear sign that the Developer Portal has two different identifier paths for MusicKit, and the path you took isn't the one the Media Services key flow uses. The two paths: App ID with MusicKit capability — for native iOS/macOS apps that link the MusicKit framework on-device. The App ID enables MusicKit usage for the app build chain. Documented on the MusicKit Services help page. Media ID — for server-side use of the Apple Music REST API via developer tokens. This is the identifier the Media Services key picker requires. Documented on the Create a media identifier and private key help page. Your server-to-server use case (developer token for catalog search, charts, artist endpoints) is the Media ID path. The fix: Go to Certificates, Identifiers & Profiles → Identifiers → click the (+) button Select Media I
Topic: Media Technologies SubTopic: General Tags:
1w
Reply to Xcode 26 RC unable to compile asset catalogs on CI
Adding a data point that should help narrow this down. I'm hitting the same nil-objects assertion described in this thread -[IBICAbstractPlatformAdapter selectCatalogIconComposerItemsFromCollection:...] on Xcode 26.5 (17F42), macOS 26.5 (25F71). Two findings from local testing: The crash is content-independent. I tested 13 .icon variants: bare {} icon.json with no Assets/, empty groups: [], single layer with no glass, sRGB instead of display-p3, watchOS removed, --platform macosx instead of iphoneos, etc. All 13 produced the identical backtrace. Standalone repro (no project required): mkdir /tmp/foo.icon && echo '{}' > /tmp/foo.icon/icon.json mkdir -p /tmp/out xcrun actool /tmp/foo.icon --compile /tmp/out --platform iphoneos --app-icon foo --output-partial-info-plist /tmp/p.plist --output-format human-readable-text The crash fires before actool parses the icon content. The mere presence of a .icon directory as input is enough. The regression was introduced after Xcode 26.4.1. I side-instal
1w
Reply to VNDocumentCameraViewController — Tick/Done Button Becomes Unresponsive After Scanning
Thanks for the precise reproducer — pinning the failure to tap before thumbnail appears, confirming that waiting for the thumbnail makes the tap work, and identifying that the delegate callback never fires in the failing case characterize the timing race. Looking at the public surface of VNDocumentCameraViewControllerDelegate (https://developer.apple.com/documentation/visionkit/vndocumentcameraviewcontrollerdelegate), the delegate has exactly three callbacks: documentCameraViewController(_:didFinishWith:) — successful scan completion documentCameraViewControllerDidCancel(_:) — cancellation documentCameraViewController(_:didFailWithError:) — scan failed or capture unavailable There's no intermediate-state callback (no scan captured but still processing, no ready to commit). The VNDocumentCameraViewController class itself exposes only delegate and the class property supported — no observable property that would signal when the internal processing pipeline has finished. So your reading of the public API is corre
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
CLMonitor.init crash - same signature as thread 771001, but NOT initialized at library load time
We're experiencing the same CLMonitor.init crash described in thread 771001, but our initialization timing is different from the original poster's - we do NOT initialize at library load time or during didFinishLaunchingWithOptions. Our CLMonitor is created lazily as a singleton on first access, after UIApplicationMain() has completed. Our setup: iOS 17+ deployment target, Swift 6, strict concurrency CLMonitor is created as a singleton, lazily, on first access — triggered by either a location update (recentering the geofence via setFence) or the geofence event loop starting when the app enters background (didEnterBackground -> startGeofenceMonitoring) We use one CLMonitor.CircularGeographicCondition for geofencing (exit detection only) The CLMonitor singleton is @MainActor-isolated What we've tried: Pinned the Task that creates CLMonitor to @MainActor (Task { @MainActor in await CLMonitor(GeofenceMonitor) }). This didn't help - the crash still occurs because CLMonitor.init itself executes on the cooperative
0
0
51
1w
TestFlight Poorly Designed and Implemented
Am I alone in this thinking? How could the beta platform for a company this big and successful be this bad? I was able to get a few beta testers signed in and they actually were able to install my app. But I've had several people say that they could install the beta (because they were asked for a Redeem Code, but they didn't have any). Today, I got an email from a friend saying that his invitation was invalid, but I just sent it to him and the expiration date is 90 days away. I just uploaded a new build that was approved is ready for Testing and I checked with one of my users and they got no push notification that a new build was available. I had them go into TestFlight and no indication that a new build was available. And that whole process for getting a new build online and ready for testing is not intuitive at all. And the non-linear nature of finding groups and group members is unbelievable. Everything is so chaotic. Or maybe it's just me. Someone please tell me that I'm crazy.
1
0
75
1w
Reply to CarPlay: CPListItem.image degrades to placeholder glyph mid-session, only iPhone reboot recovers — FB22828125
Thank you, yes that FB was submitted earlier today. Two new pieces of data from a tester conversation today that I wanted to put on the record here, because they suggest the asset-accumulation theory may not be the whole story. 1. Cliff transition, not gradual degradation. I just spoke with one customer and he described the failure as one second the screen was fine, the next it was gray boxes. Not a slow boil where one icon becomes the placeholder, then a few more, then most. Sudden onset, every visual at once. 2. Both CPListItem icons and CPListImageRowItemRowElement images fail. I have several list-row icons (connection status, adapter status) and the row-element images on my Driving and Charging tabs (which are CPListTemplates built with CPListImageRowItem rows). The CPListItem rasterized SF-symbol icons are quasi-static. They're gated behind state-change snapshots and only re-rasterized on actual state transitions (connectionDisplay returning a different (symbol, tint) pair, or the adapt
Topic: UI Frameworks SubTopic: General Tags:
1w
Epic Mobile team sees "Resource Not Found" error when downloading my game
Hi! We are trying to put the game The Ouroboros King on the Epic Mobile Store (I can share SKU ID and AppleID if it helps). We followed all the steps: the game has been notarized, tested on iOS (via TestFlight), and associated with the Epic Game Store alternative marketplace in App Store Connect. After all of that, we can see the binary available on the Epic portal for the Epic Team to test, but when they try to download it, it says App Not Available. We've tried multiple things with them, but it seems stuck, and they told us to try with Apple Support. So here I am! Their engineers see iOS making an API call to fetch the data to display for the install confirmation popup. But it's failing with: errors: [{ id: ORHPEIOCABRJX6DYPA6SJSLGK4, title: Resource Not Found, detail: Resource with requested id was not found, status: 404, code: 40400 }] Can someone have an idea on how to fix the situation? Thank you!
0
0
74
1w
Reply to Universal Links: Apple CDN returns SWCERR00301 Timeout while file is publicly available
Thanks for the post. Looks like you do not provide me a link to your AASA so I can check the error. If you like to discuss this privately. I'd like you to submit a code-level support request so we can discuss this further privately. When you create the request, indicate that you were referred by Albert Pascual at Apple and make sure to include a link to this thread. Thanks Albert
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
1w
Reply to CKQuerySubscription on public database failing with BAD_REQUEST in Production — distinct from iOS 26.4 silent-push regression
Quick follow-up on point #2 (Security Roles): checked Schema → Security Roles. GuardianRequest and GuardianResponse grant Read via _world, Create via _icloud, Write via _creator — a standard public-DB config. The Read permission query subscriptions need is present, so Security Roles don't appear to be the cause.
Topic: App & System Services SubTopic: iCloud Tags:
1w
Reply to watchOS-Only App First Submission — IAP Rejected Multiple Times, Works in TestFlight Sandbox but Not in Review
@wodiuleliangpro Please file a code-level support ticket so we can assist you with this issue.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
6d
iOS 26 Full Keyboard Access with custom UITableViewCell
On iOS 26 with Full Keyboard Access enabled, a UITableView(style: .grouped) with custom cells only enumerates section 0 in the Ctrl+Tab focus order (But it works with arrow keys). Cells in sections 1+ are reachable via arrow keys, and canFocusRowAt fires and returns true when arrows spatially reach them — but Tab leaves the table after the last row of section 0 and jumps to the next focus item outside the table. Same code works correctly on iOS 18.x. focusGroupIdentifier strategies (single ID on the table, same ID across view/table/every cell, unique ID per cell) have no effect. tableView.allowsFocus is true. Is this a known iOS 26? Has anyone else run into this? final class CardCell: UITableViewCell { private let cardView = UIView() override init(style: CellStyle, reuseIdentifier: String?) { super.init(style: style, reuseIdentifier: reuseIdentifier) cardView.backgroundColor = .white cardView.translatesAutoresizingMaskIntoConstraints = false contentView.addSubview(cardView) NSLayoutConstraint.activat
Replies
2
Boosts
0
Views
481
Activity
6d
"In-App Purchases and Subscriptions" section missing from version page — cannot submit subscriptions with binary
I have an iOS app with two auto-renewable subscriptions (monthly and annual) that are fully configured and ready for their first submission. Both products have complete metadata, pricing, localizations, review screenshots, and review notes. The problem: The In-App Purchases and Subscriptions section does not appear on the version preparation page. It should appear between App Review Information and App Store Version Release, but it's missing entirely. This means I cannot link the subscriptions to my app version for a combined submission. How I got here: I initially submitted the subscriptions for review independently (via the Submit for Review button on the subscription product page), not realizing they needed to be submitted alongside a binary. This resulted in a Guideline 3.1.1 rejection. I then created a new app version with a build, but the In-App Purchases and Subscriptions section did not appear on the version page. Not realizing this section should exist, I submitted the app — it was approved
Replies
0
Boosts
0
Views
142
Activity
6d
Reply to A few issues with the iPhone Photos app
(part 2 of 2) — continuing from my response above. The following performance considerations and progressive-loading techniques apply to both the SwiftUI path and the UIKit path described in part 1. PhotoKit performance tips (apply to both paths) A few details from the PHCachingImageManager and PHImageManager header comments that are easy to miss and matter for smoothness: Use PHImageRequestOptionsDeliveryModeOpportunistic (the default for async requests) — your result handler may be called multiple times: first with a fast, lower-quality result, then with the final high-quality image as it becomes available. This is what lets the grid feel instant even while the real thumbnails are still being prepared. From the header: client may get several image results when the call is asynchronous. Match your caching options exactly to your request options. From the startCachingImagesForAssets header comment: The options values shall exactly match the options values used in loading methods. If your targ
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
6d
Reply to A few issues with the iPhone Photos app
Thanks for the positive observation about the Photos app's grid zoom — it is genuinely smooth, and wanting to replicate that in your own app is a reasonable aspiration. I spent some cycles putting together the following summary of APIs you may wish to explore pursuing this goal. A framing note before getting to the substance: I can't share the specifics of how Apple's Photos app is implemented internally, since that's not something DTS can detail. What I can do is point you to the public APIs and techniques that let you build similar grid-zoom behavior in your own app. The good news is that the public surface includes a class for the interpolated-zoom effect you're after. The SwiftUI path For a photo-library-backed grid with smooth pinch-to-zoom in SwiftUI, the building blocks are: LazyVGrid for the grid container (iOS 14 or later). MagnifyGesture (iOS 17 or later) for pinch input. MagnifyGesture replaced the now-deprecated MagnificationGesture; the gesture's value gives you the magnification factor to drive
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
6d
Reply to Cannot create MusicKit key — "There are no identifiers available that can be associated with the key"
Thanks for the detailed report. The symptom you're describing — App ID with MusicKit capability shows as enabled, but the Media Services key creation says no identifiers available — is a clear sign that the Developer Portal has two different identifier paths for MusicKit, and the path you took isn't the one the Media Services key flow uses. The two paths: App ID with MusicKit capability — for native iOS/macOS apps that link the MusicKit framework on-device. The App ID enables MusicKit usage for the app build chain. Documented on the MusicKit Services help page. Media ID — for server-side use of the Apple Music REST API via developer tokens. This is the identifier the Media Services key picker requires. Documented on the Create a media identifier and private key help page. Your server-to-server use case (developer token for catalog search, charts, artist endpoints) is the Media ID path. The fix: Go to Certificates, Identifiers & Profiles → Identifiers → click the (+) button Select Media I
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Xcode 26 RC unable to compile asset catalogs on CI
Adding a data point that should help narrow this down. I'm hitting the same nil-objects assertion described in this thread -[IBICAbstractPlatformAdapter selectCatalogIconComposerItemsFromCollection:...] on Xcode 26.5 (17F42), macOS 26.5 (25F71). Two findings from local testing: The crash is content-independent. I tested 13 .icon variants: bare {} icon.json with no Assets/, empty groups: [], single layer with no glass, sRGB instead of display-p3, watchOS removed, --platform macosx instead of iphoneos, etc. All 13 produced the identical backtrace. Standalone repro (no project required): mkdir /tmp/foo.icon && echo '{}' > /tmp/foo.icon/icon.json mkdir -p /tmp/out xcrun actool /tmp/foo.icon --compile /tmp/out --platform iphoneos --app-icon foo --output-partial-info-plist /tmp/p.plist --output-format human-readable-text The crash fires before actool parses the icon content. The mere presence of a .icon directory as input is enough. The regression was introduced after Xcode 26.4.1. I side-instal
Replies
Boosts
Views
Activity
1w
Stuck with "Waiting for Review" for over 2 weeks
Hi, Submitted my app for initial review nearly 2 weeks ago, I know there can be a wait but contacted apple support a few times with no reply, getting a bit concerned we are somehow stuck in a bit of a hidden loop. Any response/help with getting this resolved would be appreciated App Name: Traders Guild Apple ID: 6766094235 Thanks
Replies
0
Boosts
0
Views
81
Activity
1w
Reply to VNDocumentCameraViewController — Tick/Done Button Becomes Unresponsive After Scanning
Thanks for the precise reproducer — pinning the failure to tap before thumbnail appears, confirming that waiting for the thumbnail makes the tap work, and identifying that the delegate callback never fires in the failing case characterize the timing race. Looking at the public surface of VNDocumentCameraViewControllerDelegate (https://developer.apple.com/documentation/visionkit/vndocumentcameraviewcontrollerdelegate), the delegate has exactly three callbacks: documentCameraViewController(_:didFinishWith:) — successful scan completion documentCameraViewControllerDidCancel(_:) — cancellation documentCameraViewController(_:didFailWithError:) — scan failed or capture unavailable There's no intermediate-state callback (no scan captured but still processing, no ready to commit). The VNDocumentCameraViewController class itself exposes only delegate and the class property supported — no observable property that would signal when the internal processing pipeline has finished. So your reading of the public API is corre
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
1w
CLMonitor.init crash - same signature as thread 771001, but NOT initialized at library load time
We're experiencing the same CLMonitor.init crash described in thread 771001, but our initialization timing is different from the original poster's - we do NOT initialize at library load time or during didFinishLaunchingWithOptions. Our CLMonitor is created lazily as a singleton on first access, after UIApplicationMain() has completed. Our setup: iOS 17+ deployment target, Swift 6, strict concurrency CLMonitor is created as a singleton, lazily, on first access — triggered by either a location update (recentering the geofence via setFence) or the geofence event loop starting when the app enters background (didEnterBackground -> startGeofenceMonitoring) We use one CLMonitor.CircularGeographicCondition for geofencing (exit detection only) The CLMonitor singleton is @MainActor-isolated What we've tried: Pinned the Task that creates CLMonitor to @MainActor (Task { @MainActor in await CLMonitor(GeofenceMonitor) }). This didn't help - the crash still occurs because CLMonitor.init itself executes on the cooperative
Replies
0
Boosts
0
Views
51
Activity
1w
TestFlight Poorly Designed and Implemented
Am I alone in this thinking? How could the beta platform for a company this big and successful be this bad? I was able to get a few beta testers signed in and they actually were able to install my app. But I've had several people say that they could install the beta (because they were asked for a Redeem Code, but they didn't have any). Today, I got an email from a friend saying that his invitation was invalid, but I just sent it to him and the expiration date is 90 days away. I just uploaded a new build that was approved is ready for Testing and I checked with one of my users and they got no push notification that a new build was available. I had them go into TestFlight and no indication that a new build was available. And that whole process for getting a new build online and ready for testing is not intuitive at all. And the non-linear nature of finding groups and group members is unbelievable. Everything is so chaotic. Or maybe it's just me. Someone please tell me that I'm crazy.
Replies
1
Boosts
0
Views
75
Activity
1w
Reply to CarPlay: CPListItem.image degrades to placeholder glyph mid-session, only iPhone reboot recovers — FB22828125
Thank you, yes that FB was submitted earlier today. Two new pieces of data from a tester conversation today that I wanted to put on the record here, because they suggest the asset-accumulation theory may not be the whole story. 1. Cliff transition, not gradual degradation. I just spoke with one customer and he described the failure as one second the screen was fine, the next it was gray boxes. Not a slow boil where one icon becomes the placeholder, then a few more, then most. Sudden onset, every visual at once. 2. Both CPListItem icons and CPListImageRowItemRowElement images fail. I have several list-row icons (connection status, adapter status) and the row-element images on my Driving and Charging tabs (which are CPListTemplates built with CPListImageRowItem rows). The CPListItem rasterized SF-symbol icons are quasi-static. They're gated behind state-change snapshots and only re-rasterized on actual state transitions (connectionDisplay returning a different (symbol, tint) pair, or the adapt
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Epic Mobile team sees "Resource Not Found" error when downloading my game
Hi! We are trying to put the game The Ouroboros King on the Epic Mobile Store (I can share SKU ID and AppleID if it helps). We followed all the steps: the game has been notarized, tested on iOS (via TestFlight), and associated with the Epic Game Store alternative marketplace in App Store Connect. After all of that, we can see the binary available on the Epic portal for the Epic Team to test, but when they try to download it, it says App Not Available. We've tried multiple things with them, but it seems stuck, and they told us to try with Apple Support. So here I am! Their engineers see iOS making an API call to fetch the data to display for the install confirmation popup. But it's failing with: errors: [{ id: ORHPEIOCABRJX6DYPA6SJSLGK4, title: Resource Not Found, detail: Resource with requested id was not found, status: 404, code: 40400 }] Can someone have an idea on how to fix the situation? Thank you!
Replies
0
Boosts
0
Views
74
Activity
1w
Reply to Universal Links: Apple CDN returns SWCERR00301 Timeout while file is publicly available
Thanks for the post. Looks like you do not provide me a link to your AASA so I can check the error. If you like to discuss this privately. I'd like you to submit a code-level support request so we can discuss this further privately. When you create the request, indicate that you were referred by Albert Pascual at Apple and make sure to include a link to this thread. Thanks Albert
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to CKQuerySubscription on public database failing with BAD_REQUEST in Production — distinct from iOS 26.4 silent-push regression
Quick follow-up on point #2 (Security Roles): checked Schema → Security Roles. GuardianRequest and GuardianResponse grant Read via _world, Create via _icloud, Write via _creator — a standard public-DB config. The Read permission query subscriptions need is present, so Security Roles don't appear to be the cause.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
1w