Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,332 results found

Post

Replies

Boosts

Views

Activity

Platform SSO duplicate registration notifications after cancelled user registration during Setup Assistant / after login
We are implementing a Platform SSO extension on macOS and are seeing repeated registration notifications from AppSSOAgent for the same unresolved registration state. We are trying to understand whether this is expected Platform SSO behavior, or whether our extension should be returning a different registration result for a cancelled user-registration flow. Scenario 1: Setup Assistant / preboot cancellation Device registration succeeds during setup. User registration starts. The user closes/cancels the registration web auth UI. Setup completes and the user reaches the desktop. Two “registration required” notifications are posted a few seconds apart, before the user clicks anything. In AppSSOAgent logs, we see two separate cycles like: resetRegistrationWithCompletion handleUserRegistrationForUser:repair:newPasswordUser:newSmartCardUser:notified:profile: Sending registration notification Adding notification request ... then again roughly 10–12 seconds later, before any user action. In some runs
0
0
230
3d
Availability of silent notification
1. Does the important description for silent notification in the documentation still valid? (Pushing background updates to your App) The system treats background notifications as low priority: you can use them to refresh your app’s content, but the system doesn’t guarantee their delivery. In addition, the system may throttle the delivery of background notifications if the total number becomes excessive. The number of background notifications allowed by the system depends on current conditions, but don’t try to send more than two or three per hour. I would like to implement notification that would wake up my application in all state to perform AVSpeechSynthesizer, but I am confused with the availability of the silent notification. I attempted to send silent notification to my ipad to see the exact behaviour, but it seems like it has not been throttle even after a few tens attempts within the same hour. { aps: { content-available: 1, alert: { title: Title, body: Content}, sound: default } } 2.
1
0
61
3d
FamilyActivityPicker missing search bar when embedded inline on iPad
When FamilyActivityPicker is used as an embedded view (not via the .familyActivityPicker sheet modifier), the search bar that normally appears at the bottom is not rendered on iPad. The same code shows the search bar correctly on iPhone. Environment Frameworks: SwiftUI, FamilyControls Device: iPad (reproduces on multiple models / iPadOS versions — 26.2, 26.5) iPhone: search bar appears as expected Usage The picker is placed directly inside a SwiftUI view hierarchy: import SwiftUI import FamilyControls struct ContentView: View { @State private var selection = FamilyActivitySelection() var body: some View { FamilyActivityPicker(selection: $selection) } } Expected A search field is visible at the bottom of the sheet (same as iPhone), allowing the user to search for apps/categories/websites. Actual On iPad, no search field is rendered. The picker only shows the category/app list. There is no way to search. Notes I would like the embedded FamilyActivityPicker to show the same search affordance on iPad tha
1
0
130
3d
Reply to Notarization submissions stuck "In Progress"
Folks, I’m gonna lock this thread. It’s clear that people are finding the thread and piling on to it, without really grokking my earlier response. That’s not helpful, because the exact evolution of this process varies for each team. So, if you find yourself here: Please read this reply and this reply. My experience is that this “in-depth analysis” usually clears after a few days. If your requests have been stuck in the In Progress state for more than a week, please start a new thread in the Code Signing > Notarization subtopic and I’ll respond there. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3d
Reply to NEFilterDataProvider development-signed bypass no longer working on iOS 26.4.2 — regression or intentional?
AFAIK there’s been no change of policy on this front. That WWDC session, and for that matter TN3134, don’t discuss this debugging affordance because they’re focused on deployment, not development. [quote='827318021, Colin_newbie, /thread/827318, /profile/Colin_newbie'] All I get is NEConfigurationErrorDomain Code=10 permission denied before my app code even runs. [/quote] I don’t understand this comment. This affordance affects your ability to save a configuration. That is, with this affordance your container app can successfully save a configuration using NEFilterManager.saveToPreferences() under circumstances where it would not normally be allowed to do that. So I’m struggling to see how you could get into this situation “before my app code even runs”. Please clarify. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3d
Reply to NEFilterDataProvider activation on consumer iOS — saveToPreferences fails (code 5), .mobileconfig requires MDM
[quote='888791022, RomainDropB, /thread/827228?answerId=888791022#888791022, /profile/RomainDropB'] The url-filter-provider capability does not appear in the Capability Requests tab of my developer portal. [/quote] This isn’t a standalone capability. Rather, this feature is gated by the url-filter-provider element of the com.apple.developer.networking.networkextension entitlement. And that entitlement is available all paid developers. To activate it: In Signing & Capabilities, make sure you have automatic code signing enabled [1] and select a paid team from the Team popu. Click the add (+) capability button and choose Network Extensions. Enable URL Filter. Do this for both your container app target and the URL filter provider target. [quote='888791022, RomainDropB, /thread/827228?answerId=888791022#888791022, /profile/RomainDropB'] does the full PIR server + Privacy Pass infrastructure need to be deployed and running before submitting the form, [/quote] Yes. Part of the approval process checks th
3d
Reply to I need the proper format for adding an application ID to an entitlements file (developing outside of Xcode)
[quote='888831022, Paul from Vancouver, /thread/826941?answerId=888831022#888831022, /profile/Paul+from+Vancouver'] I can now verity the .pkg file with Transporter and upload to App Store Connect [/quote] Cool. [quote='888831022, Paul from Vancouver, /thread/826941?answerId=888831022#888831022, /profile/Paul+from+Vancouver'] but installing to the Applications folder does not work. [/quote] Installing how? By opening the .pkg with the Installer? That’s not expected to work. In general, you can’t test distribution signed code like this. Rather, upload your app to the App Store and then test it with TestFlight. For more backstory, see Don’t Run App Store Distribution-Signed Code. [quote='888831022, Paul from Vancouver, /thread/826941?answerId=888831022#888831022, /profile/Paul+from+Vancouver'] I am making an Adobe AIR app so I may need to treat the UNIX executable included in the .app file as an embedded file. [/quote] I’m not sure I understand what you’re getting at here. If you’re publishing
Topic: Code Signing SubTopic: General Tags:
3d
Reply to Custom Keyboard help
One last thing. Handling different device sizes: Handling Different Screen Sizes (The Dynamic Detective) On a different device (like an iPhone SE or an iPhone Pro Max), or if the user rotates their phone into landscape mode, that secret extra space won't be 228 pixels anymore. It might be 200 pixels, 250 pixels, or something else entirely. If we hardcoded 228 into the app, the keyboard would start glitching again on other screen sizes. To solve this for every single iPhone and iPad size, we made our code act like a detective right before the keyboard slides up. How the Code Automatically Adapts Instead of guessing the number, the code visually inspects iOS's internal blueprint at the very last millisecond (inside viewIsAppearing) and pulls out the exact secret number for that specific device. Here is how the math automatically updates on a different phone where the secret space is, say, 250 pixels: The Investigation: You want a height of 450. The code checks the system blue
Topic: UI Frameworks SubTopic: UIKit Tags:
3d
iOS 26.5 breaks AppIntents with AppEnums defined in Swift Package
For some reason since iOS 26.5, a ControlWidgetButton or a Button in a widget configured with an AppIntent conforming to OpenIntent fails to receive its AppEnum parameter correctly if the intent and enum are defined inside a shared Swift Package. Tapping the control widget button opens the main application, but it doesn't pass the AppEnum parameter value in, leaving the app on its default screen instead of navigating to the intended view. This was working perfectly in iOS 26.4, where the app would launch and receive the correct enum case from the intent. No code, configuration, or scheme changes were made between the two runs, only the simulator/OS version differs. Has anyone else run into what seems to be a regression on iOS 26.5? I filed feedback with a sample project: FB22848510
0
0
67
3d
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
3d
Reply to Custom Keyboard help
I was able to find a fix after 2 intense days troubleshooting this with Claude and GPT. Eventually Gemini solved the problem for me! Sending 2 messages due to 7k char limitation Problem: Custom iOS keyboard extension (UIInputViewController, SwiftUI content via UIHostingController). On every appearance, the keyboard window visibly resizes — the host app's UI reacts to it. Happens in every host app (Instagram, iMessage, etc.), not app-specific. The desired behaviour is what Bitmoji/Wispr do — keyboard just appears cleanly with no visible resize. What the logs show (captured via in-keyboard debug overlay — Xcode console doesn't work for extensions): Every single appearance, without exception, produces this sequence in viewDidLayoutSubviews: viewDidLoad: bounds.height = 0.0 viewDidLayoutSubviews: 844.0 viewDidLayoutSubviews: 844.0 (multiple passes) viewDidLayoutSubviews: 678.0 (multiple passes) viewDidLayoutSubviews: 450.0 ← our target viewDidAppear fires at 678, not 450. The final 678→450 snap
Topic: UI Frameworks SubTopic: UIKit Tags:
4d
Platform SSO duplicate registration notifications after cancelled user registration during Setup Assistant / after login
We are implementing a Platform SSO extension on macOS and are seeing repeated registration notifications from AppSSOAgent for the same unresolved registration state. We are trying to understand whether this is expected Platform SSO behavior, or whether our extension should be returning a different registration result for a cancelled user-registration flow. Scenario 1: Setup Assistant / preboot cancellation Device registration succeeds during setup. User registration starts. The user closes/cancels the registration web auth UI. Setup completes and the user reaches the desktop. Two “registration required” notifications are posted a few seconds apart, before the user clicks anything. In AppSSOAgent logs, we see two separate cycles like: resetRegistrationWithCompletion handleUserRegistrationForUser:repair:newPasswordUser:newSmartCardUser:notified:profile: Sending registration notification Adding notification request ... then again roughly 10–12 seconds later, before any user action. In some runs
Replies
0
Boosts
0
Views
230
Activity
3d
Reply to In App Provisioning PKErrorHTTPResponseStatusCodeKey=500
@DTS Engineer Hello, we have the same issue and have opened both feedback and another thread, but it's been 2 weeks since. Could somebody from your end please look into this for us? https://developer.apple.com/forums/thread/826094 Thanks
Replies
Boosts
Views
Activity
3d
Availability of silent notification
1. Does the important description for silent notification in the documentation still valid? (Pushing background updates to your App) The system treats background notifications as low priority: you can use them to refresh your app’s content, but the system doesn’t guarantee their delivery. In addition, the system may throttle the delivery of background notifications if the total number becomes excessive. The number of background notifications allowed by the system depends on current conditions, but don’t try to send more than two or three per hour. I would like to implement notification that would wake up my application in all state to perform AVSpeechSynthesizer, but I am confused with the availability of the silent notification. I attempted to send silent notification to my ipad to see the exact behaviour, but it seems like it has not been throttle even after a few tens attempts within the same hour. { aps: { content-available: 1, alert: { title: Title, body: Content}, sound: default } } 2.
Replies
1
Boosts
0
Views
61
Activity
3d
FamilyActivityPicker missing search bar when embedded inline on iPad
When FamilyActivityPicker is used as an embedded view (not via the .familyActivityPicker sheet modifier), the search bar that normally appears at the bottom is not rendered on iPad. The same code shows the search bar correctly on iPhone. Environment Frameworks: SwiftUI, FamilyControls Device: iPad (reproduces on multiple models / iPadOS versions — 26.2, 26.5) iPhone: search bar appears as expected Usage The picker is placed directly inside a SwiftUI view hierarchy: import SwiftUI import FamilyControls struct ContentView: View { @State private var selection = FamilyActivitySelection() var body: some View { FamilyActivityPicker(selection: $selection) } } Expected A search field is visible at the bottom of the sheet (same as iPhone), allowing the user to search for apps/categories/websites. Actual On iPad, no search field is rendered. The picker only shows the category/app list. There is no way to search. Notes I would like the embedded FamilyActivityPicker to show the same search affordance on iPad tha
Replies
1
Boosts
0
Views
130
Activity
3d
Reply to Notarization submissions stuck "In Progress"
Folks, I’m gonna lock this thread. It’s clear that people are finding the thread and piling on to it, without really grokking my earlier response. That’s not helpful, because the exact evolution of this process varies for each team. So, if you find yourself here: Please read this reply and this reply. My experience is that this “in-depth analysis” usually clears after a few days. If your requests have been stuck in the In Progress state for more than a week, please start a new thread in the Code Signing > Notarization subtopic and I’ll respond there. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
3d
Reply to NEFilterDataProvider development-signed bypass no longer working on iOS 26.4.2 — regression or intentional?
AFAIK there’s been no change of policy on this front. That WWDC session, and for that matter TN3134, don’t discuss this debugging affordance because they’re focused on deployment, not development. [quote='827318021, Colin_newbie, /thread/827318, /profile/Colin_newbie'] All I get is NEConfigurationErrorDomain Code=10 permission denied before my app code even runs. [/quote] I don’t understand this comment. This affordance affects your ability to save a configuration. That is, with this affordance your container app can successfully save a configuration using NEFilterManager.saveToPreferences() under circumstances where it would not normally be allowed to do that. So I’m struggling to see how you could get into this situation “before my app code even runs”. Please clarify. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
3d
Reply to NEFilterDataProvider activation on consumer iOS — saveToPreferences fails (code 5), .mobileconfig requires MDM
[quote='888791022, RomainDropB, /thread/827228?answerId=888791022#888791022, /profile/RomainDropB'] The url-filter-provider capability does not appear in the Capability Requests tab of my developer portal. [/quote] This isn’t a standalone capability. Rather, this feature is gated by the url-filter-provider element of the com.apple.developer.networking.networkextension entitlement. And that entitlement is available all paid developers. To activate it: In Signing & Capabilities, make sure you have automatic code signing enabled [1] and select a paid team from the Team popu. Click the add (+) capability button and choose Network Extensions. Enable URL Filter. Do this for both your container app target and the URL filter provider target. [quote='888791022, RomainDropB, /thread/827228?answerId=888791022#888791022, /profile/RomainDropB'] does the full PIR server + Privacy Pass infrastructure need to be deployed and running before submitting the form, [/quote] Yes. Part of the approval process checks th
Replies
Boosts
Views
Activity
3d
Reply to I need the proper format for adding an application ID to an entitlements file (developing outside of Xcode)
[quote='888831022, Paul from Vancouver, /thread/826941?answerId=888831022#888831022, /profile/Paul+from+Vancouver'] I can now verity the .pkg file with Transporter and upload to App Store Connect [/quote] Cool. [quote='888831022, Paul from Vancouver, /thread/826941?answerId=888831022#888831022, /profile/Paul+from+Vancouver'] but installing to the Applications folder does not work. [/quote] Installing how? By opening the .pkg with the Installer? That’s not expected to work. In general, you can’t test distribution signed code like this. Rather, upload your app to the App Store and then test it with TestFlight. For more backstory, see Don’t Run App Store Distribution-Signed Code. [quote='888831022, Paul from Vancouver, /thread/826941?answerId=888831022#888831022, /profile/Paul+from+Vancouver'] I am making an Adobe AIR app so I may need to treat the UNIX executable included in the .app file as an embedded file. [/quote] I’m not sure I understand what you’re getting at here. If you’re publishing
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
3d
Organization Enrollment Stuck in Review for Over 30 Days
I applied for the Apple Developer Program as an organization (Xentrix Code LLC) over a month ago. I have completed all requirements including D-U-N-S verification. The status is still showing “Pending Review” with no updates. I have already contacted support via email but received no response. Has anyone faced this issue or found a way to escalate it?
Replies
0
Boosts
0
Views
19
Activity
3d
Reply to Custom Keyboard help
One last thing. Handling different device sizes: Handling Different Screen Sizes (The Dynamic Detective) On a different device (like an iPhone SE or an iPhone Pro Max), or if the user rotates their phone into landscape mode, that secret extra space won't be 228 pixels anymore. It might be 200 pixels, 250 pixels, or something else entirely. If we hardcoded 228 into the app, the keyboard would start glitching again on other screen sizes. To solve this for every single iPhone and iPad size, we made our code act like a detective right before the keyboard slides up. How the Code Automatically Adapts Instead of guessing the number, the code visually inspects iOS's internal blueprint at the very last millisecond (inside viewIsAppearing) and pulls out the exact secret number for that specific device. Here is how the math automatically updates on a different phone where the secret space is, say, 250 pixels: The Investigation: You want a height of 450. The code checks the system blue
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
3d
Cannot complete enrollment
Cannot complete enrollment from Turkey — 2 weeks no response
Replies
0
Boosts
0
Views
39
Activity
3d
StoreKit 2 Product.products always returns an empty list
All of a sudden both our development and production app stopped loading products for the subscription screens. Within our code I noticed that product.products is always returning 0 elements even after confirming product ids are correct and ensuring all agreements in App Store Connect are signed and active. What could be the issue?
Replies
0
Boosts
0
Views
60
Activity
3d
iOS 26.5 breaks AppIntents with AppEnums defined in Swift Package
For some reason since iOS 26.5, a ControlWidgetButton or a Button in a widget configured with an AppIntent conforming to OpenIntent fails to receive its AppEnum parameter correctly if the intent and enum are defined inside a shared Swift Package. Tapping the control widget button opens the main application, but it doesn't pass the AppEnum parameter value in, leaving the app on its default screen instead of navigating to the intended view. This was working perfectly in iOS 26.4, where the app would launch and receive the correct enum case from the intent. No code, configuration, or scheme changes were made between the two runs, only the simulator/OS version differs. Has anyone else run into what seems to be a regression on iOS 26.5? I filed feedback with a sample project: FB22848510
Replies
0
Boosts
0
Views
67
Activity
3d
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
3d
Reply to Custom Keyboard help
I was able to find a fix after 2 intense days troubleshooting this with Claude and GPT. Eventually Gemini solved the problem for me! Sending 2 messages due to 7k char limitation Problem: Custom iOS keyboard extension (UIInputViewController, SwiftUI content via UIHostingController). On every appearance, the keyboard window visibly resizes — the host app's UI reacts to it. Happens in every host app (Instagram, iMessage, etc.), not app-specific. The desired behaviour is what Bitmoji/Wispr do — keyboard just appears cleanly with no visible resize. What the logs show (captured via in-keyboard debug overlay — Xcode console doesn't work for extensions): Every single appearance, without exception, produces this sequence in viewDidLayoutSubviews: viewDidLoad: bounds.height = 0.0 viewDidLayoutSubviews: 844.0 viewDidLayoutSubviews: 844.0 (multiple passes) viewDidLayoutSubviews: 678.0 (multiple passes) viewDidLayoutSubviews: 450.0 ← our target viewDidAppear fires at 678, not 450. The final 678→450 snap
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
4d