Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,351 results found

Post

Replies

Boosts

Views

Activity

Reply to 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build or create version, affecting 2 separate accounts for 1 week
Thank you for the clarification — but with respect, this answer raises a much bigger problem than it solves. If internal only builds cannot be attached to app versions, why are they shown as selectable options in the build picker in the first place? Your own UI presented build 2 as a valid candidate, let us select it, and then failed silently with a generic 409 error in the network layer. No inline error message. No badge or label on the build indicating it was ineligible. No tooltip. Nothing in the visible UI explaining why the attach was failing. We — and apparently other developers, given that you said thank you all for the reports — spent hours debugging this. We checked export compliance, re-verified processing status, hard-refreshed, cleared caches, re-archived builds, opened DevTools to inspect network traffic, and combed through documentation. All of that time and effort was wasted because App Store Connect surfaced an ineligible build as if it were eligible and then refused to attach it with
1w
App stuck in “Waiting for Review” for almost two weeks — Apple ID 6761327996
My app ActLike AI – Face Swap Video (Apple ID: 6761327996, Bundle ID: com.LCDMediaGames.ActLike-AI) has been stuck in “Waiting for Review” for almost two weeks. Normally, my app submissions move from “Waiting for Review” to “In Review” within 2–3 days. However, this submission has not started review yet. I have already tried the following: Contacted Apple Developer Support Called support Submitted an expedited review request Removed and resubmitted the build Unfortunately, the app is still stuck in “Waiting for Review”. This delay is affecting my release schedule and causing unnecessary backend/infrastructure costs because the app uses AI video generation services. Could someone from Apple please check whether this submission is blocked, delayed, or requires any action from my side? Any help would be appreciated.
1
0
136
1w
iOS26.4 WKWebView loadurl error -1005
We are seeing intermittent WKWebView main-frame navigation failures on iOS 26.4.x. The failure is reported through: webView:didFailProvisionalNavigation:withError: The error code is: NSURLErrorNetworkConnectionLost (-1005) The affected pages are normal HTTPS H5 pages loaded by WKWebView,。 From our client logs, the issue appears during provisional navigation, before the page finishes loading. In many cases, error.userInfo does not contain a useful description, and the log only shows: did fail provisional navigation, error code: -1005, description: nil We have also observed a high concentration of this error on iOS 26.4.x devices. The failures are intermittent and may recover after a retry, which makes us suspect that the underlying network connection may be lost during request processing or connection reuse. What we would like to know: Is there any known issue in iOS 26.4.x / WebKit / CFNetwork that could cause WKWebView provisional navigation to fail with NSURLErrorNetworkConnectionLost (-10
Topic: Safari & Web SubTopic: General
1
0
1.2k
1w
Reply to iOS26.4 WKWebView loadurl error -1005
Thanks for the careful report and for setting out the four questions clearly — the structure helps. NSURLErrorNetworkConnectionLost (-1005) surfacing through webView:didFailProvisionalNavigation:withError: is a generic outcome that can come from several distinct underlying conditions — TCP-level disconnects, HTTP/2 stream resets (RST_STREAM), idle-connection close races during connection reuse, transient network-path changes, or server-side behavior. Without captured diagnostics from a failure as it happens, there isn't a way to map your reports to a specific cause, and there isn't a known iOS 26.4.x regression we'd identify as a likely match. The most productive next step is to capture per-request diagnostics during a failure and file a Feedback Assistant report: ❏ Web Inspector network waterfall. Three things need to be enabled before this works: iPhone: Settings → Apps → Safari → Advanced → Web Inspector toggle on. Mac: Safari → Settings → Advanced → Show features for web developers enabled. In yo
Topic: Safari & Web SubTopic: General
1w
Reply to App Transfer Impact on DeviceCheck Token/keyid
When an app is transferred between developer accounts, the DeviceCheck state (the two bits and timestamp associated with a device) persists across the transfer. This means that the data previously stored for a device using DeviceCheck will remain accessible and associated with that device, even after the app's ownership changes (assuming the new owner is not changing the Bundle ID). This persistence is designed to help mitigate fraud, as the state is maintained by Apple and survives app reinstallation, device transfer between users, and even device erasure. However, the authentication for communicating with the DeviceCheck service relies on a private key and an iss (issuer) value from your developer account. When an app is transferred to a new developer account, it becomes associated with the recipient's Team ID. Therefore, to continue authenticating requests to the DeviceCheck service for the transferred app, the backend must be updated to use a new DeviceCheck private key generated under the recipi
Topic: Privacy & Security SubTopic: General Tags:
1w
Reply to App Transfer Impact on APNS
Yes, the guidance still holds true. Apart from a trivial but non-zero time period around the moment of transfer being completed (due to network propagation and database update times), once the transfer is complete, the credentials of the old team will no longer work, and the new team with their new credentials will need to take over. The only exception is if the old team has already open connections to APNs having used their old credentials, those connections will continue functioning until the connections are closed. For users who already have the app installed and previously opted into push notifications before the transfer: The transfer hands over push server infrastructure authentication from one team to the other. The app itself is not affected at all unless the new team is changing the Bundle ID. Will existing APNs device tokens remain valid after the app transfer? Device tokens will not change as long as the App Bundle ID is the same, and the migration to the new app does not involve deleting the old a
1w
NSTextView.shouldDrawInsertionPoint doesn't work with TextKit 2
The following code only ever causes shouldDrawInsertionPoint to be printed (no drawInsertionPoint), but even if that method returns false, the blinking insertion point is still drawn. On the other hand, with TextKit 1 it works as expected. Is there a way to hide the default insertion point in TextKit 2? My app draws its own. I've filed FB13684251. class TextView: NSTextView { override var shouldDrawInsertionPoint: Bool { print(shouldDrawInsertionPoint) return false } override func drawInsertionPoint(in rect: NSRect, color: NSColor, turnedOn flag: Bool) { print(drawInsertionPoint, flag) } } ``
Topic: UI Frameworks SubTopic: AppKit Tags:
11
0
596
1w
Reply to Will APNs become invalid immediately after the app transfer is completed?
1. Both the P12 and the P8 based JWTs will remain valid: For a trivial but non-zero time after the transfer is complete. if the old team has already open connections to APNs at the time the transfer is completed, they will be able to continue sending notifications until the close the connections and try to reopen them, in which case their authentication will fail 2. Whether the original team shuts down APNs and JWT services or not, will the old P12 certificates and P8 keys become invalid right away, leaving users unable to receive pushes until the new company updates the relevant credentials? Th old certificates will become invalid almost right away, after a trivial but non-zero time has passed. Once the connections are closed the old certificates will no longer work, and the new team has to start using their own credentials.
1w
Issues with monitoring and changing WebRTC audio output device in WKWebView
I am developing a VoIP app that uses WebRTC inside a WKWebView. Question 1: How can I monitor which audio output device WebRTC is currently using? I want to display this information in the UI for the user . Question 2: How can I change the current audio output device for WebRTC? I am using a JS Bridge to Objective-C code, attempting to change the audio device with the following code: void set_speaker(int n) { session = [AVAudioSession sharedInstance]; NSError *err = nil; if (n == 1) { [session overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker error:&err]; } else { [session overrideOutputAudioPort:AVAudioSessionPortOverrideNone error:&err]; } } However, this approach does not work. I am testing on an iPhone with iOS 16.7. Is a higher iOS version required?
3
0
534
1w
How do I cancel my developer account
I have my primary apple account associated with email A and I created a separate email B for my app. I then created an apple developer account using email B and paid for the $99 subscription. Note that I enrolled in the developer program through the Apple Developer App on my phone which is signed into account A. Two months ago, I did not want my subscription to renew, so I tried visiting this link to can cancel it https://developer.apple.com/account#MembershipDetailsCard Unintuitively, this does not let me modify my membership participation, only contact details. I then tried canceling the subscriptions here by checking my subscriptions for both account A and account B https://account.apple.com/account/manage/section/subscriptions Unintuitively, I saw the developer subscription for the account associated with email A, not B, so I canceled it there. Today, I see the subscription as inactive and neither account A or B have an active developer subscription. As an added measure, I removed all saved billi
1
0
73
1w
Reply to M5 Pro DCP bandwidth allocation: asymmetric 27,400/13,700 Mbps split between dispext0/dispext1 on dual 5K configuration
OK. So what you're describing isn't about the kernel. More specifically, this ONLY works: After forcing HiDPI 5K on Monitor 2 via BetterDisplay 4.3.3: Monitor 2 transitioned to: 5120x2880 @ 60Hz HiDPI (VRR 48-60Hz), HDR10 RGB Full Range, 13,700 Mbps allocation. So the dual 5K HiDPI configuration is only achievable when a third-party utility (BetterDisplay) overrides the default macOS mode selection on the secondary display. ...because the kernel's pipe configuration allowed enough bandwidth to support that configuration. What IS being caused by the kernel is that you're not able to take the second monitor to 120Hz. I believe that's a side effect of the display configuration the first monitor is presenting, notably: Maximum Source Width: 7680 The documented architectural difference (M5 Max showing four entries in MaxSrcRectWidthForPipe vs M5 Pro's two) suggests M5 Max may have additional sub-pipes available, Yes, it does. but the underlying kernel allocation logic you described would
1w
Reply to SCScreenshotManager.captureImage and display sleep
Thank you for the post. The question is indeed dependent on the specific application being used and whether the machine is in sleep mode. If the machine is in sleep mode, it means that the Mac Catalyst or macOS application is not running, and consequently, the code will not execute. https://developer.apple.com/documentation/screencapturekit/scscreenshotmanager/captureimage(in:completionhandler:) So, there is no direct way to capture a screenshot of a window using ScreenCaptureKit (SCScreenshotManager) while the display is asleep. Albert
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
1w
Glass effect interactive effect issue when used with concentric shapes
Using .glassEffect(.clear.interactive(), in: shape), where shape is some concentric shape that adapts to corner radius of the device, results in appearing of highlighted capsule shape. Code to reproduce this behavior import SwiftUI struct HelloLiquidGlass: View { var body: some View { if #available(iOS 26.0, *) { Text(Hello, World!) .frame(maxWidth: .infinity, maxHeight: .infinity) // .glassEffect(.clear.interactive(), in: .rect(corners: .concentric)) // .glassEffect(.clear.interactive(), in: ConcentricRectangle(uniformTopCorners: .fixed(80))) .padding(36) .ignoresSafeArea() .preferredColorScheme(.dark) } } } #Preview { HelloLiquidGlass() } Either of both commented-out modifiers produces the same result when user interacts with Liquid Glass pane (revealing of capsule shape that is not relative to actual shape of liquid glass effect modifier) iOS 26.5 (23F73) SDK + iOS 26.5 (23F77) Simulator
3
0
286
1w
Reply to Glass effect interactive effect issue when used with concentric shapes
@kamilochel Thanks for the post, any chance you can create a new thread with those images, description and provide the full code of your view as I only see the children code .glassEffect only applies the shape mask and edge highlights to the glass material itself. The interactive highlight (the surface hover effect) calculates its own boundary based on the view's hit-testing shape, which often defaults to a capsule or standard rectangle if it encounters highly rounded corners without an explicit content shape. But I would appreciate if in a new thread you can provide the full code for SwiftUI engineers to help you with that effect. Thanks Albert
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
How can users dismiss the iOS 18 second-stage Contacts permission prompt?
In iOS 18, requesting Contacts access via CNContactStore.requestAccess(for:) triggers a two-stage authorization flow: First stage: the standard Allow / Don't Allow alert Second stage: a sheet titled How do you want to share contacts? with two options — Select Contacts and Share All [N] Contacts My question is about the second-stage sheet specifically. It does not appear to have a Cancel or Close button, and swipe-down to dismiss does not work on the devices I've tested (iOS 18.x). If a user reaches this second prompt and decides they don't want to choose either option, how are they expected to dismiss it? Is this intentional behavior?
1
0
178
1w
Reply to 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build or create version, affecting 2 separate accounts for 1 week
Thank you for the clarification — but with respect, this answer raises a much bigger problem than it solves. If internal only builds cannot be attached to app versions, why are they shown as selectable options in the build picker in the first place? Your own UI presented build 2 as a valid candidate, let us select it, and then failed silently with a generic 409 error in the network layer. No inline error message. No badge or label on the build indicating it was ineligible. No tooltip. Nothing in the visible UI explaining why the attach was failing. We — and apparently other developers, given that you said thank you all for the reports — spent hours debugging this. We checked export compliance, re-verified processing status, hard-refreshed, cleared caches, re-archived builds, opened DevTools to inspect network traffic, and combed through documentation. All of that time and effort was wasted because App Store Connect surfaced an ineligible build as if it were eligible and then refused to attach it with
Replies
Boosts
Views
Activity
1w
App stuck in “Waiting for Review” for almost two weeks — Apple ID 6761327996
My app ActLike AI – Face Swap Video (Apple ID: 6761327996, Bundle ID: com.LCDMediaGames.ActLike-AI) has been stuck in “Waiting for Review” for almost two weeks. Normally, my app submissions move from “Waiting for Review” to “In Review” within 2–3 days. However, this submission has not started review yet. I have already tried the following: Contacted Apple Developer Support Called support Submitted an expedited review request Removed and resubmitted the build Unfortunately, the app is still stuck in “Waiting for Review”. This delay is affecting my release schedule and causing unnecessary backend/infrastructure costs because the app uses AI video generation services. Could someone from Apple please check whether this submission is blocked, delayed, or requires any action from my side? Any help would be appreciated.
Replies
1
Boosts
0
Views
136
Activity
1w
iOS26.4 WKWebView loadurl error -1005
We are seeing intermittent WKWebView main-frame navigation failures on iOS 26.4.x. The failure is reported through: webView:didFailProvisionalNavigation:withError: The error code is: NSURLErrorNetworkConnectionLost (-1005) The affected pages are normal HTTPS H5 pages loaded by WKWebView,。 From our client logs, the issue appears during provisional navigation, before the page finishes loading. In many cases, error.userInfo does not contain a useful description, and the log only shows: did fail provisional navigation, error code: -1005, description: nil We have also observed a high concentration of this error on iOS 26.4.x devices. The failures are intermittent and may recover after a retry, which makes us suspect that the underlying network connection may be lost during request processing or connection reuse. What we would like to know: Is there any known issue in iOS 26.4.x / WebKit / CFNetwork that could cause WKWebView provisional navigation to fail with NSURLErrorNetworkConnectionLost (-10
Topic: Safari & Web SubTopic: General
Replies
1
Boosts
0
Views
1.2k
Activity
1w
Reply to iOS26.4 WKWebView loadurl error -1005
Thanks for the careful report and for setting out the four questions clearly — the structure helps. NSURLErrorNetworkConnectionLost (-1005) surfacing through webView:didFailProvisionalNavigation:withError: is a generic outcome that can come from several distinct underlying conditions — TCP-level disconnects, HTTP/2 stream resets (RST_STREAM), idle-connection close races during connection reuse, transient network-path changes, or server-side behavior. Without captured diagnostics from a failure as it happens, there isn't a way to map your reports to a specific cause, and there isn't a known iOS 26.4.x regression we'd identify as a likely match. The most productive next step is to capture per-request diagnostics during a failure and file a Feedback Assistant report: ❏ Web Inspector network waterfall. Three things need to be enabled before this works: iPhone: Settings → Apps → Safari → Advanced → Web Inspector toggle on. Mac: Safari → Settings → Advanced → Show features for web developers enabled. In yo
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
1w
Reply to App Transfer Impact on DeviceCheck Token/keyid
When an app is transferred between developer accounts, the DeviceCheck state (the two bits and timestamp associated with a device) persists across the transfer. This means that the data previously stored for a device using DeviceCheck will remain accessible and associated with that device, even after the app's ownership changes (assuming the new owner is not changing the Bundle ID). This persistence is designed to help mitigate fraud, as the state is maintained by Apple and survives app reinstallation, device transfer between users, and even device erasure. However, the authentication for communicating with the DeviceCheck service relies on a private key and an iss (issuer) value from your developer account. When an app is transferred to a new developer account, it becomes associated with the recipient's Team ID. Therefore, to continue authenticating requests to the DeviceCheck service for the transferred app, the backend must be updated to use a new DeviceCheck private key generated under the recipi
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to App Transfer Impact on APNS
Yes, the guidance still holds true. Apart from a trivial but non-zero time period around the moment of transfer being completed (due to network propagation and database update times), once the transfer is complete, the credentials of the old team will no longer work, and the new team with their new credentials will need to take over. The only exception is if the old team has already open connections to APNs having used their old credentials, those connections will continue functioning until the connections are closed. For users who already have the app installed and previously opted into push notifications before the transfer: The transfer hands over push server infrastructure authentication from one team to the other. The app itself is not affected at all unless the new team is changing the Bundle ID. Will existing APNs device tokens remain valid after the app transfer? Device tokens will not change as long as the App Bundle ID is the same, and the migration to the new app does not involve deleting the old a
Replies
Boosts
Views
Activity
1w
NSTextView.shouldDrawInsertionPoint doesn't work with TextKit 2
The following code only ever causes shouldDrawInsertionPoint to be printed (no drawInsertionPoint), but even if that method returns false, the blinking insertion point is still drawn. On the other hand, with TextKit 1 it works as expected. Is there a way to hide the default insertion point in TextKit 2? My app draws its own. I've filed FB13684251. class TextView: NSTextView { override var shouldDrawInsertionPoint: Bool { print(shouldDrawInsertionPoint) return false } override func drawInsertionPoint(in rect: NSRect, color: NSColor, turnedOn flag: Bool) { print(drawInsertionPoint, flag) } } ``
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
11
Boosts
0
Views
596
Activity
1w
Reply to Will APNs become invalid immediately after the app transfer is completed?
1. Both the P12 and the P8 based JWTs will remain valid: For a trivial but non-zero time after the transfer is complete. if the old team has already open connections to APNs at the time the transfer is completed, they will be able to continue sending notifications until the close the connections and try to reopen them, in which case their authentication will fail 2. Whether the original team shuts down APNs and JWT services or not, will the old P12 certificates and P8 keys become invalid right away, leaving users unable to receive pushes until the new company updates the relevant credentials? Th old certificates will become invalid almost right away, after a trivial but non-zero time has passed. Once the connections are closed the old certificates will no longer work, and the new team has to start using their own credentials.
Replies
Boosts
Views
Activity
1w
Issues with monitoring and changing WebRTC audio output device in WKWebView
I am developing a VoIP app that uses WebRTC inside a WKWebView. Question 1: How can I monitor which audio output device WebRTC is currently using? I want to display this information in the UI for the user . Question 2: How can I change the current audio output device for WebRTC? I am using a JS Bridge to Objective-C code, attempting to change the audio device with the following code: void set_speaker(int n) { session = [AVAudioSession sharedInstance]; NSError *err = nil; if (n == 1) { [session overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker error:&err]; } else { [session overrideOutputAudioPort:AVAudioSessionPortOverrideNone error:&err]; } } However, this approach does not work. I am testing on an iPhone with iOS 16.7. Is a higher iOS version required?
Replies
3
Boosts
0
Views
534
Activity
1w
How do I cancel my developer account
I have my primary apple account associated with email A and I created a separate email B for my app. I then created an apple developer account using email B and paid for the $99 subscription. Note that I enrolled in the developer program through the Apple Developer App on my phone which is signed into account A. Two months ago, I did not want my subscription to renew, so I tried visiting this link to can cancel it https://developer.apple.com/account#MembershipDetailsCard Unintuitively, this does not let me modify my membership participation, only contact details. I then tried canceling the subscriptions here by checking my subscriptions for both account A and account B https://account.apple.com/account/manage/section/subscriptions Unintuitively, I saw the developer subscription for the account associated with email A, not B, so I canceled it there. Today, I see the subscription as inactive and neither account A or B have an active developer subscription. As an added measure, I removed all saved billi
Replies
1
Boosts
0
Views
73
Activity
1w
Reply to M5 Pro DCP bandwidth allocation: asymmetric 27,400/13,700 Mbps split between dispext0/dispext1 on dual 5K configuration
OK. So what you're describing isn't about the kernel. More specifically, this ONLY works: After forcing HiDPI 5K on Monitor 2 via BetterDisplay 4.3.3: Monitor 2 transitioned to: 5120x2880 @ 60Hz HiDPI (VRR 48-60Hz), HDR10 RGB Full Range, 13,700 Mbps allocation. So the dual 5K HiDPI configuration is only achievable when a third-party utility (BetterDisplay) overrides the default macOS mode selection on the secondary display. ...because the kernel's pipe configuration allowed enough bandwidth to support that configuration. What IS being caused by the kernel is that you're not able to take the second monitor to 120Hz. I believe that's a side effect of the display configuration the first monitor is presenting, notably: Maximum Source Width: 7680 The documented architectural difference (M5 Max showing four entries in MaxSrcRectWidthForPipe vs M5 Pro's two) suggests M5 Max may have additional sub-pipes available, Yes, it does. but the underlying kernel allocation logic you described would
Replies
Boosts
Views
Activity
1w
Reply to SCScreenshotManager.captureImage and display sleep
Thank you for the post. The question is indeed dependent on the specific application being used and whether the machine is in sleep mode. If the machine is in sleep mode, it means that the Mac Catalyst or macOS application is not running, and consequently, the code will not execute. https://developer.apple.com/documentation/screencapturekit/scscreenshotmanager/captureimage(in:completionhandler:) So, there is no direct way to capture a screenshot of a window using ScreenCaptureKit (SCScreenshotManager) while the display is asleep. Albert
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Glass effect interactive effect issue when used with concentric shapes
Using .glassEffect(.clear.interactive(), in: shape), where shape is some concentric shape that adapts to corner radius of the device, results in appearing of highlighted capsule shape. Code to reproduce this behavior import SwiftUI struct HelloLiquidGlass: View { var body: some View { if #available(iOS 26.0, *) { Text(Hello, World!) .frame(maxWidth: .infinity, maxHeight: .infinity) // .glassEffect(.clear.interactive(), in: .rect(corners: .concentric)) // .glassEffect(.clear.interactive(), in: ConcentricRectangle(uniformTopCorners: .fixed(80))) .padding(36) .ignoresSafeArea() .preferredColorScheme(.dark) } } } #Preview { HelloLiquidGlass() } Either of both commented-out modifiers produces the same result when user interacts with Liquid Glass pane (revealing of capsule shape that is not relative to actual shape of liquid glass effect modifier) iOS 26.5 (23F73) SDK + iOS 26.5 (23F77) Simulator
Replies
3
Boosts
0
Views
286
Activity
1w
Reply to Glass effect interactive effect issue when used with concentric shapes
@kamilochel Thanks for the post, any chance you can create a new thread with those images, description and provide the full code of your view as I only see the children code .glassEffect only applies the shape mask and edge highlights to the glass material itself. The interactive highlight (the surface hover effect) calculates its own boundary based on the view's hit-testing shape, which often defaults to a capsule or standard rectangle if it encounters highly rounded corners without an explicit content shape. But I would appreciate if in a new thread you can provide the full code for SwiftUI engineers to help you with that effect. Thanks Albert
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
1w
How can users dismiss the iOS 18 second-stage Contacts permission prompt?
In iOS 18, requesting Contacts access via CNContactStore.requestAccess(for:) triggers a two-stage authorization flow: First stage: the standard Allow / Don't Allow alert Second stage: a sheet titled How do you want to share contacts? with two options — Select Contacts and Share All [N] Contacts My question is about the second-stage sheet specifically. It does not appear to have a Cancel or Close button, and swipe-down to dismiss does not work on the devices I've tested (iOS 18.x). If a user reaches this second prompt and decides they don't want to choose either option, how are they expected to dismiss it? Is this intentional behavior?
Replies
1
Boosts
0
Views
178
Activity
1w